Skip to content

Rollup of miscellaneous improvements for api-documenter - #366

Merged
Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/yaml-documenter5
Sep 9, 2017
Merged

Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/yaml-documenter5

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

This is a collection of miscellaneous work for the YAML generator, that does not affect the *.api.json file format. (The next upcoming PR will change the schema.)

  • Generate a table of contents (TOC)
  • Separate "external packages" into their own TOC section
  • Use the "xref" hyperlinks instead of Markdown hyperlinks
  • Add workaround for embedded "Remarks"
  • Fix appearance of class constructors
  • Display beta/deprecated notices (which API Extractor now inherits transitively)
  • Add workaround to show extends/implements for classes and interfaces

* If specified, the hyperlink will point to the API with this UID
*/
uid?: string;
/**

@iclanton Ian Clanton-Thuon (iclanton) Sep 8, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/** [](start = 1, length = 4)

Missing newline. #Resolved

return yamlItem as IYamlItem;
}

private _populateYamlStructure(yamlItem: Partial<IYamlItem>, docItem: DocItem): void {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Structure [](start = 23, length = 9)

Call this something other than "Structure" - "structure" implies the structure of the actual YAML file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@octogonz

Pete Gonzalez (octogonz) commented Sep 8, 2017 •

Copy link
Copy Markdown
Collaborator Author

:shipit:

Approved with PullApprove Approved with PullApprove

@octogonz
Pete Gonzalez (octogonz) merged commit be3b9de into master Sep 9, 2017
@iclanton
Ian Clanton-Thuon (iclanton) deleted the pgonzal/yaml-documenter5 branch November 1, 2017 21:13
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.

4 participants