mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 13:23:09 +01:00
Reorganised the content, with a different structure, added license information and instructions for spellchecking. Closes #290 Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
63 lines
1.0 KiB
Markdown
63 lines
1.0 KiB
Markdown
# Website
|
|
|
|
This website is built using [Docusaurus](https://docusaurus.io/), a modern
|
|
static website generator.
|
|
|
|
### Requirements
|
|
|
|
- Docker
|
|
- [Yarn](https://yarnpkg.com/)
|
|
- [Dagger](https://dagger.io/)
|
|
- [Task](https://taskfile.dev/)
|
|
|
|
### Installation
|
|
|
|
```shell
|
|
$ yarn
|
|
```
|
|
|
|
### Local Development
|
|
|
|
```shell
|
|
$ 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
|
|
|
|
```shell
|
|
$ yarn build
|
|
```
|
|
|
|
This command generates static content into the `build` directory and can be
|
|
served using any static contents hosting service.
|
|
|
|
### Test the build
|
|
|
|
```shell
|
|
$ yarn serve
|
|
```
|
|
|
|
By default, this will load your site at http://localhost:3000/.
|
|
|
|
### Spellchecking
|
|
|
|
From the top directory:
|
|
|
|
```shell
|
|
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:
|
|
|
|
```shell
|
|
$ yarn docusaurus docs:version X.Y.Z
|
|
```
|