mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-04 14:12:21 +02:00
The install snippet always linked to the manifest of the latest released version, regardless of which versioned docs page it was rendered on. Viewing the 0.13.0 installation page therefore pointed at the 0.14.0 manifest. Build the manifest URL from the active doc version directly: each versioned page links its own release tag, and the unreleased "current" docs link the manifest built off `main` instead of a (nonexistent) release tag. --------- Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Danish <danish.khan@enterprisedb.com> Co-authored-by: Danish <danish.khan@enterprisedb.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| versioned_sidebars | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
| versions.json | ||
| yarn.lock | ||
Website
This website is built using Docusaurus, a modern static website generator.
Requirements
Installation
$ yarn
Local Development
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ yarn build
This command generates static content into the build directory and can be
served using any static contents hosting service.
Test the build
$ yarn serve
By default, this will load your site at http://localhost:3000/.
Spellchecking
From the top directory:
task spellcheck
Versioning
Docusaurus allows versioning of the documentation to maintain separate sets of documentation for different software versions.
To create a new documentation version:
$ yarn docusaurus docs:version X.Y.Z