eduVPN Server Documentation Site
https://docs.eduvpn.org/
- CSS 82.3%
- Shell 8.9%
- HTML 8.8%
| eduvpn_theme | update simple.css | |
| eduvpn_theme_eol | mark 2.x documentation as EOL | |
| .gitignore | cleanups | |
| build.sh | no longer build v2 docs, add link to commit history | |
| mkdocs.v2.yml | mark 2.x documentation as EOL | |
| mkdocs.v3.yml | rename "Sitemap" to "All Documentation" | |
| README.md | no longer refer to "pip" | |
| upload.sh | fix upload.sh | |
Introduction
This project is meant to generate the content for docs.eduvpn.org.
It (currently) fetches the eduVPN documentation repository, both v2 and v3
branch and generates the sites using mkdocs.
Preparation
Install mkdocs and git and rsync:
Fedora
$ sudo dnf -y install mkdocs git rsync
Debian / Ubuntu
$ sudo apt -y install mkdocs git rsync
Building
$ ./build.sh
This will perform the following steps (for each branch):
- Fetch the documentation repository to
vpn-documentation/${BRANCH}; - Copies the files to the
docs/${BRANCH}directory; - Adds some links to the source repository and last (git) modified date;
- Generates a "sitemap"
- Runs
mkdocsand puts the site output insite/${BRANCH}.
You can manually inspect the output by launching the default browser, e.g.:
$ xdg-open site/v3/index.html
Uploading
See the upload.sh script for more information.
$ ./upload.sh