mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +02:00
Prefix, not append (#191)
This commit is contained in:
parent
fa1ec70432
commit
603b9cd84c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ Users can create version numbers in whatever format they wish, and a new version
|
|||
|
||||
Versioned documents are placed into `website/versioned_docs/version-${version}`, where `${version}` is the version number you supplied the `version` script.
|
||||
|
||||
The markdown header for each versioned doc is altered by appending `"version-${version}-"` to the id and by adding an `original_id` field.
|
||||
The markdown header for each versioned doc is altered by renaming the id frontmatter field to `original_id`, then using `"version-${version}-${original_id}"` as the value for the actual `id` field.
|
||||
|
||||
Versioned sidebars are copied into `website/versioned_sidebars` and are named as `version-${version}-sidebar.json`.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue