Documentation for everything around Rancher Elemental
Go to file
Francesco Giudici f3d744abd0
Architecure section rework (#336)
* architecure rework

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* Update docs/architecture-components.md

Co-authored-by: Andrea Mazzotti <andrea.mazzotti@suse.com>

* architecture: update the drawing

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* architecture: merge resource pages with resource-reference ones

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* fix broken links

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* architecture: update the drawing

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* architecture: switch the architecture schema colors with light/dark

Solution from our Docusaurus master: thanks Nuno!

Co-authored-by: Nuno do Carmo <nuno.carmo@suse.com>

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

---------

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2024-05-17 15:17:12 +02:00
.github Updated Docusaurus to V3 (#241) 2023-11-21 15:04:25 +01:00
docs Architecure section rework (#336) 2024-05-17 15:17:12 +02:00
examples Remove deprecated -teal image references (#327) 2024-05-01 10:21:13 +02:00
src Updated Docusaurus to V3 (#241) 2023-11-21 15:04:25 +01:00
static Architecure section rework (#336) 2024-05-17 15:17:12 +02:00
versioned_docs hostname: warn about DHCP assigned hostname breaking reset functionality (#330) 2024-05-06 14:18:38 +02:00
versioned_sidebars Add elemental support doc (#329) 2024-04-30 15:40:00 +02:00
.gitignore Added `yarn.lock` and removed the entry from `.gitignore` (#136) 2023-06-07 11:14:57 +02:00
CODEOWNERS Feat: add CODEOWNERS 2023-04-12 16:32:08 +02:00
LICENSE
README.md Docs for releases 1.4.x 2024-02-08 11:02:24 +01:00
Vars.js
babel.config.js
docusaurus.config.js Remove link to github.com/rancher/elemental-cli (#333) 2024-05-09 08:50:18 +02:00
package.json Bump @mdx-js/react from 3.0.0 to 3.0.1 (#283) 2024-02-14 10:45:22 +01:00
sidebars.js Architecure section rework (#336) 2024-05-17 15:17:12 +02:00
versions.json Docs for releases 1.4.x 2024-02-08 11:02:24 +01:00
yarn.lock Bump @mdx-js/react from 3.0.0 to 3.0.1 (#283) 2024-02-14 10:45:22 +01:00

README.md

Elemental docs

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

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 with the following command:

yarn serve

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Docs versioning

Generating a new versioned docs from local environment is as simple as running the following command:

yarn run docusaurus docs:version <new_version>

Where <new_version> should be replaced by the actual version number (e.g. 1.4)

Check the versioning

The versioning command will generate the following content:

  • The entry Stable will be added (again) to the /versions.json file

  • /versioned_docs/version-Stable will be updated with the Next content located in /docs

  • /versioned_sidebars/version-Stable-sidebars.json will be updated with the Next sidebar content located in /sidebar.js

Recommendations before creating a Pull Request

Before creating a Pull Request for adding new docs or creating a new version, it's strongly encouraged to build the docs site as described above