Teleport docs are built using mkdocs and hosted as a bunch of static files in S3.
Look at build.sh
script to see how it works.
- Update build.sh.
- Update theme/scripts.html to add a new version to the docVersions array of versions
- Create a new YAML file, like
5.5.1.yaml
if you are releasing version 5.5.1
Teleport docs are published using a private web
repository.
See web/README.md
for more info.
We recommend using Docker to run and build the docs.
make run-docs
will run the docs and setup a livereload server for easy previewing of changes.
make docs
will build the docs, so they are ready to ship to production.
Teleport Docs are made with MkDocs and a few markdown extensions, First time users will need to install MkDocs https://www.mkdocs.org/#installation.
To run the latest version of the docs on http://127.0.0.1:8000:
$ ./run.sh
To run a specific version of the docs:
$ mkdocs serve --config-file 1.3.yaml