This repository contains the publishing project for https://help.tower.nf. Create an issue to request documentation fixes and improvements.
Do not edit the markdown files in this repo, they are ported from nf-tower-cloud. Content additions and edits must be performed in the nf-tower-cloud repo.
Building the docs depends on mkdocs
, mkdocs-material
, and mike
.
To build the Docker container to serve the mkdocs site, you must generate a token on Gitea.
- Log in to git.seqera.io using your Seqera credentials
- In the top right menu, click on your avatar and select
Settings
from the drop-down menu - Select
Applications
near the top of the page - Generate a new token and copy the value after form submission
- Store the token value as a
GITEA_TOKEN
environment variable, optionally added to .bashrc/.zshrc. Runsource .bashrc
orsource .zshrc
once saved.
Build the seqera-docs
image:
docker build --build-arg GITEA_TOKEN=${GITEA_TOKEN} -t seqera-docs .
This command can be replaced with make build-docker
.
Once the Docker command above has been run successfully, navigate to the root of the nf-tower-cloud
repository. Then use this command to serve the documentation locally:
docker run --rm -p 8000:8000 -v ${PWD}/docs:/docs/docs seqera-docs:latest serve --dev-addr=0.0.0.0:8000
Visit http://0.0.0.0:8000 from your favorite browser.