Skip to content
Discussion options

You must be logged in to vote

I don't understand what you mean by "manual versioning".

When you run npm run docusaurus docs:version 1.1.0 is it really manual? Because Docusaurus does things for you 🤷‍♂️

If you need to version 100 products at once, you could as well run a script that runs npm run docusaurus docs:version 1.1.0" 100 times for each product? (I assume you use multiple docs plugins instances?)

Note the docusaurus docs:version CLI is just a convenience tool. You could easily do this all by yourself. What it does is just:

  • copy docs to versioned_docs/version-1.1.0
  • copy sidebars.js to versioned_sidebars/version-1.0.0-sidebars.json
  • add "1.0.0" in versions.json

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Karan-S-dev
Comment options

@slorber
Comment options

slorber Aug 9, 2022
Collaborator

Answer selected by Karan-S-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants