Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds skipSidebar option for docusaurus2 #124

Merged

Conversation

edchapel
Copy link
Contributor

@edchapel edchapel commented May 22, 2020

* Extends typedoc2md#108 to the docusaurus2 theme also.
* Skips finding docusaurus root when skip is enabled.
* Updates documentation to indicate it is usable for both docusaurus themes.
edchapel added a commit to edchapel/http4ts that referenced this pull request May 22, 2020
* Uses docusaurus2 theme
* Linked in sidebar as a single page, currently titled "Globals"
* Individual members are *not* in the sidebar
* Adds `typedoc` npm script
  * Cleans the dir first
  * Runs typedoc using options configured in tsconfig.json
    * Relies on the `typedoc-plugin-markdown` plugin for docusaurus2 support
  * Removes the sidebar file that is incorrectly produced
    * The `skipSidebar` arg is not yet supported in `docusaurus2` (see typedoc2md/typedoc-plugin-markdown#124)
Copy link

@tbjgolden tbjgolden left a comment

Choose a reason for hiding this comment

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

not sure it's my place to approve it but this is more or less how I would have done it

@tgreyuk tgreyuk merged commit b35a4d9 into typedoc2md:master Jun 2, 2020
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.

None yet

3 participants