Skip to content

[api-extractor] Add an experimental new ApiItem.canonicalReference property - #1406

Merged
Pete Gonzalez (octogonz) merged 25 commits into
masterfrom
octogonz/ae-new-canonical-references
Aug 8, 2019
Merged

[api-extractor] Add an experimental new ApiItem.canonicalReference property#1406
Pete Gonzalez (octogonz) merged 25 commits into
masterfrom
octogonz/ae-new-canonical-references

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

As part of the work to support hyperlinks for types that appear in the documentation (PR #1337), we need to introduce a new API for building canonical references with the new notation that Ron Buckton (@rbuckton) prototyped in microsoft/tsdoc#172.

This is PR sets up the ApiItem.canonicalReference for this purpose. It is marked as @beta, but the values are written in the .api.json file format for informational purposes.

Comment thread apps/api-extractor-model/src/mixins/ApiNameMixin.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiEntryPoint.ts Outdated
Comment thread build-tests/api-documenter-test/etc/api-documenter-test.api.json Outdated
Comment thread build-tests/api-documenter-test/etc/api-documenter-test.api.json Outdated
Comment thread build-tests/api-documenter-test/etc/api-documenter-test.api.json Outdated
Comment thread apps/api-extractor-model/src/items/ApiItem.ts Outdated
Comment thread apps/api-extractor-model/src/items/ApiItem.ts
Comment thread apps/api-extractor-model/src/items/ApiItem.ts
Comment thread apps/api-extractor-model/src/mixins/ApiNameMixin.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiCallSignature.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiInterface.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiNamespace.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiPackage.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiTypeAlias.ts Outdated
Comment thread apps/api-extractor-model/src/model/ApiVariable.ts Outdated
Pete Gonzalez (octogonz) and others added 2 commits July 21, 2019 21:29
Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
@octogonz
Pete Gonzalez (octogonz) force-pushed the octogonz/ae-new-canonical-references branch from 96f1e6b to 6da8406 Compare July 23, 2019 00:23
@octogonz
Pete Gonzalez (octogonz) force-pushed the octogonz/ae-new-canonical-references branch from 9a9d3e5 to dec3e00 Compare July 23, 2019 01:59
…-new-canonical-references

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants