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

Feature: command for rebuilding docs #3

Open
toebeann opened this issue Sep 14, 2022 · 0 comments
Open

Feature: command for rebuilding docs #3

toebeann opened this issue Sep 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@toebeann
Copy link
Owner

toebeann commented Sep 14, 2022

From citkane/typedoc-plugin-versions#13

Summary

At present, after a while of using this plugin, it is possible to end up in a position where you have old docs built with entirely different styles, themes, plugins etc. to your latest docs build. This could make browsing older docs feel quite inconsistent. On top of that, as typedoc itself updates, it may change the way it renders certain things, and on later runs you might change your typedoc configs to be inconsistent with earlier doc builds. Presently, the only way to deal with this is to manually checkout your older version, update typedoc, install any plugins including themes, change the config, etc.

It would be very nice to be able to automate this process, and for this automation to be usable via GitHub workflows and package.json scripts. Therefore, a CLI tool fits the bill, and is relatively simple to achieve via the package.json bin field.

Details

  • rely on git tags as semantic versions. check them out, and update typedoc/install plugins/update config as necessary
  • optional argument to specify versions to rebuild docs for, ideally should be possible to specify ranges and use wildcards etc. By default should rebuild only the docs for versions that are currently built
  • optional arguments to specify typedoc version, and plugins and their versions, config options, etc.
  • ideally, it should also be possible to set arguments in typedoc config file. arguments passed at the CLI should take precedence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant