This project contains the documentation for the Rucio data-management software.
Every change or idea is welcome! For information on how to contribute to the Rucio documentation, please refer and follow our CONTRIBUTING guidelines.
The following packages need to be installed to build the documentation:
- docker
- python3
- mdl (markdownlint)
- yarn
- npx (part of npm)
The python dependencies need to be installed. They are defined in
requirements.txt
. Install them via:
python3 -m pip install -r tools/requirements.txt
For running the Docusaurus development server, you also need the website dependencies:
(cd website && yarn install)
To build the assets, run the build_documentation.sh
script in tools
. The
assets need to be built in order for the server to run!
The script supports two workflows:
A) Default → tools/build_documentation.sh
On first run, it clones rucio/rucio.
On later runs, it re-uses any existing Rucio source tree.
B) Use a local Rucio → tools/build_documentation.sh `-r` / `--rucio-path` <dir>
The given directory is bind-mounted read-only into the Docker container.
Any changes there are persistent and picked up directly.
Some building tools may emit warnings on stderr even when the build succeeds. As long as the script ends with exit-code 0 the build is considered ok.
After a successful build:
(cd website && yarn start)
then open the printed URL (usually http://localhost:3000).
There are two types of documentation hosted for Rucio. Should you wish to contribute improvements to any of them, follow the guidelines below.
The source for this section lives in the docs
folder within the main branch
of this GitHub repository. Improvements may be suggested by submitting an
issue or pull request to the main branch of the repository. Once the
changes are approved, GitHub Actions will trigger the build process and publish
on to GitHub pages.
The source for this section lives in the
rucio/rucio
GitHub repository. There are
two subcategories that we document:
Since the documentation is directly derived from the source, any change to the
documentation needs to be made in the source code. Please submit an issue or
pull request to the rucio/rucio
repository with your suggestions for contribution. Once the changes have been
approved and pushed into the main branch, the changes will be available at
https://rucio.cern.ch/documentation on the next day.