Versioning automation #7927
-
|
Hi All, I created a docs site using docusaurus. In our site, we are having more that 100 products documentation. I was able to do versioning using ,"npm run docusaurus docs:version 1.1.0". But moving forward, I can't do manually versioning for all the products. So is there a way to automate versioning. Like without using npm, is there a way to do versioning? If you need more clarity on the question also you can ask. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I don't understand what you mean by "manual versioning". When you run If you need to version 100 products at once, you could as well run a script that runs Note the
|
Beta Was this translation helpful? Give feedback.
I don't understand what you mean by "manual versioning".
When you run
npm run docusaurus docs:version 1.1.0is 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:versionCLI is just a convenience tool. You could easily do this all by yourself. What it does is just: