mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
docs(v2): fix doc changes in #2606
This commit is contained in:
parent
a7b802f31a
commit
2f2e3cd99d
2 changed files with 7 additions and 3 deletions
|
@ -51,7 +51,7 @@ Builds and serves a preview of your site locally with [Webpack Dev Server](https
|
||||||
|
|
||||||
:::important
|
:::important
|
||||||
|
|
||||||
Please note that some functionality (for example, anchor links) will not work in development. Don't freak out though, the functionality will work as expected in production.
|
Please note that some functionality (for example, anchor links) will not work in development. The functionality will work as expected in production.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,13 @@ title: Versioning
|
||||||
|
|
||||||
You can use the version script to create a new documentation version based on the latest content in the `docs` directory. That specific set of documentation will then be preserved and accessible even as the documentation in the `docs` directory changes moving forward.
|
You can use the version script to create a new documentation version based on the latest content in the `docs` directory. That specific set of documentation will then be preserved and accessible even as the documentation in the `docs` directory changes moving forward.
|
||||||
|
|
||||||
:::caution Think about it before starting to version your documentation - it can become difficult for contributors to help improve it! :::
|
:::caution
|
||||||
|
|
||||||
Most of the time, you don't need versioning as it will just increase your build time, and introduce complexity to your codebase. Versioning is **best suited for website with high-traffic and rapid changes to documentation between versions**. If your documentation rarely changes, don't add versioning to your documentation.
|
Think about it before starting to version your documentation - it can become difficult for contributors to help improve it!
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
|
Most of the time, you don't need versioning as it will just increase your build time, and introduce complexity to your codebase. Versioning is **best suited for websites with high-traffic and rapid changes to documentation between versions**. If your documentation rarely changes, don't add versioning to your documentation.
|
||||||
|
|
||||||
To better understand how versioning works and see if it suits your needs, you can read on below.
|
To better understand how versioning works and see if it suits your needs, you can read on below.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue