Skip to content

key4hep/key4hep-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key4hep documentation

docs

Key4hep central documentation

Getting dependencies

Install python dependencies:

pip install -r requirements.txt

Building locally

First fetch the documentation pages from other key4hep repositories:

.github/scripts/fetch_external_sources.sh 

If the sources already exist but you want to update them, use the --force option.

Then build the site locally:

sphinx-build -M html docs build

Check the links validity with:

sphinx-build -b linkcheck docs linkcheck

Deploying to github pages

The deployment to github pages happens via the gh-pages branch. On this branch the documentation goes into the main subdirectory, and we have a redirecting index.html.

The branch is automatically populated via github actions. However, its history is not really interesting (even though the action keeps it intact). In case the repository gets too large, it is possible to remove the branch entirely and start from scratch (the next run of the action will populate the branch again). Only the index.html file has to be put onto the branch first.

We also make preview pages for PRs on this repository which will be placed onto the gh-pages branch as well, but under a dedicated directory. This means that they are generally reachable by people, if they know the corresponding full reference.

About

Documentation for the Key4HEP Turnkey Software

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 16

Languages