Go to file
Derek Su dae49e6bb5 docs: add "Longhorn VolumeAttachment" to actively supported versions
Longhorn 11142

Signed-off-by: Derek Su <derek.su@suse.com>
2025-07-09 14:32:04 +08:00
.github Update auto-assign-config.yaml 2025-05-27 16:44:06 +08:00
archetypes Begin restructuring for new template 2019-12-06 14:43:10 -08:00
assets/sass modified the UI ratio 2025-03-24 16:13:47 +08:00
content docs: add "Longhorn VolumeAttachment" to actively supported versions 2025-07-09 14:32:04 +08:00
data Initial import 2019-10-17 17:05:29 -07:00
layouts fix: make community styple consistent with other pages 2025-05-29 23:37:12 +09:00
static docs: introduce v2 volume concept in Architecture and Concepts 2025-04-15 16:48:42 +08:00
.codespellignore doc: fix broken link for selinux kb 2023-06-08 14:05:50 +08:00
.editorconfig Flesh out getting started tutorial and begin architecture doc 2019-12-06 14:43:10 -08:00
.gitignore doc: fix broken link for selinux kb 2023-06-08 14:05:50 +08:00
.htmltest.external.yml Add link checker and fix broken links 2020-02-27 11:08:34 -08:00
.htmltest.yml Add link checker and fix broken links 2020-02-27 11:08:34 -08:00
CODE_OF_CONDUCT.md Add code of conduct 2021-07-29 16:08:41 +08:00
LICENSE Add Apache 2.0 License 2021-05-16 22:49:07 +08:00
Makefile Fix: Resolve compatibility issues after Hugo v0.120 to v0.145 upgrade 2025-03-26 16:20:24 +08:00
README.md Updated the instructions in README, added term.html 2025-03-26 16:20:24 +08:00
config.toml docs(1.8.2): create v1.8.3-dev 2025-06-09 13:45:56 +08:00
netlify.toml Add link checker and fix broken links 2020-02-27 11:08:34 -08:00
package.json Add Algolia search bar 2020-04-16 12:10:02 -07:00
renovate.json Create renovate.json 2024-02-22 13:30:51 +08:00
yarn.lock Add Algolia search bar 2020-04-16 12:10:02 -07:00

README.md

Longhorn Website

Netlify Status

This repo houses the assets used to build the website for Longhorn, available at https://longhorn.io.

Running the site locally

To run the website locally, you need to have the Hugo static site generator installed (installation instructions here). You can find the latest release and pre-compiled binaries on the Hugo releases page.

Important: This project requires the "extended" edition of Hugo to process SCSS/SASS files.

Once Hugo is installed:

yarn install
hugo server --buildDrafts --buildFuture

This starts Hugo in local mode. You can see access the site at http://localhost:1313.

Publishing the site

The Longhorn site is automatically built and published by Netlify when changes are pushed to the master branch.

New versions of the docs

To create a new version of the documentation:

  1. Copy the most recent version of the documentation to create a new version. If the most recent version is 1.2.4 and you'd like to create 1.2.5:

    cp -rf content/docs/1.2.4 content/docs/1.2.5
    
  2. Add the version to the params.versions list in config.toml. Make sure that the list has the latest versions first.

Contributing to docs

Sign Off on All Commits

All contributions to the docs need to be signed off.

To sign off when creating a commit, run:

git commit -m "Commit message" -s

To sign off when editing the docs with the GitHub UI, enter a name for your commit, then in the large field below the commit message, enter the signoff text with your own name and email, e.g.:

Signed-off-by: Catherine Luse <catherine.luse@rancher.com>

To sign off on a commit that is already in a pull request,

  1. Head to your local branch and run:

    git commit --amend -s

    Now your commits will have your signoff.

  2. Next run:

    git push --force-with-lease origin patch-1

    In this example, patch-1 is a local branch.

Documenting Upcoming Features

The documentation is split into multiple versions, with a directory for docs corresponding to each Longhorn version. For example, Longhorn 0.8.0 docs are in content/docs/0.8.0.

To make changes to the docs that are specific to an upcoming release, use the specific version branch, e.g. v1.1.1 which contains the directory content/docs/1.1.1 for that version.