teleport/docs
2020-01-13 11:23:50 -08:00
..
1.3 4.1 Docs - Backup and Restore. [Merge when 4.1 is public] (#2956) 2019-10-01 15:09:09 -07:00
2.0 4.1 Docs - Backup and Restore. [Merge when 4.1 is public] (#2956) 2019-10-01 15:09:09 -07:00
2.3 4.1 Docs - Backup and Restore. [Merge when 4.1 is public] (#2956) 2019-10-01 15:09:09 -07:00
2.4 4.1 Docs - Backup and Restore. [Merge when 4.1 is public] (#2956) 2019-10-01 15:09:09 -07:00
2.5 Update ADFS docs (#3030) 2019-09-27 18:24:38 -03:00
2.7 Update ADFS docs (#3030) 2019-09-27 18:24:38 -03:00
3.0 Added code comment to old ciphers and added updated upgrade instructions (#3116) 2019-10-30 14:50:07 -07:00
3.1 Added code comment to old ciphers and added updated upgrade instructions (#3116) 2019-10-30 14:50:07 -07:00
3.2 Added code comment to old ciphers and added updated upgrade instructions (#3116) 2019-10-30 14:50:07 -07:00
4.0 4.2 Documentation Base (#3154) 2019-12-18 11:01:21 -08:00
4.1 Fix for #3259 (#3260) 2020-01-13 11:23:50 -08:00
4.2 Fix for #3259 (#3260) 2020-01-13 11:23:50 -08:00
theme update footer links for docs (#3243) 2020-01-07 16:08:59 -08:00
1.3.yaml (docs) remove releases section 2018-03-07 18:35:22 -05:00
2.0.yaml (docs) remove releases section 2018-03-07 18:35:22 -05:00
2.3.yaml (docs) remove releases section 2018-03-07 18:35:22 -05:00
2.4.yaml (docs) remove releases section 2018-03-07 18:35:22 -05:00
2.5.yaml New trusted clusters documentation + guide 2018-04-25 13:29:38 -07:00
2.7.yaml Created 2.7 version of the docs. 2018-07-17 09:43:40 -07:00
3.0.yaml Documentation for Teleport 3.0 2018-09-26 15:45:22 -07:00
3.1.yaml Created version 3.1 of the docs 2018-12-09 14:46:32 -08:00
3.2.yaml Update docs for 4.0 and local setup 2019-05-29 11:56:52 -07:00
4.0.yaml Re-order of Documentation Guides Section (#3114) 2019-10-30 13:44:57 -07:00
4.1.yaml Re-order Enterprise Guide and added FIPS Support page (#3129) 2019-11-11 09:35:26 -08:00
4.2.yaml Teleport Production Guide (#3236) 2020-01-08 15:15:58 -08:00
build.sh Documentation improvements 2019-02-12 16:39:21 -08:00
get-pip.py Update docs for 4.0 and local setup 2019-05-29 11:56:52 -07:00
index.html Added 2.5 to the list of Teleport versions in the docs 2018-03-11 19:42:38 -07:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2019-01-28 21:07:11 -08:00
latest Update docs for 4.0 and local setup 2019-05-29 11:56:52 -07:00
README.md Fix all internal/external links in 4.1 docs (#3140) 2019-11-12 13:52:47 -08:00
run.sh Polish and internal review from recent Doc updates (#3099) 2019-10-24 10:38:01 -07:00
testplan.md Add missing parts to the test plan 2019-10-24 11:11:47 -07:00

Teleport Docs

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.

To Publish New Version

  • 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

Deploying

Teleport docs are published using a private web repository. See web/README.md for more info.

Running Locally

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.

Tools used to build the Docs

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

Install milv (Markdown Internal Link Validator) using go get -u -v github.com/magicmatatjahu/milv.

Change to the appropriate base directory, then run milv and make sure it reports no errors:

$ cd docs/4.1`
$ milv
NO ISSUES :-)

milv will validate all internal and external links by default. The external link checking can take 30 seconds or so to run. You can run milv -v to see all outgoing requests if you think it's taking too long. You can also skip external link checking altogether with milv --ignore-external - this can be useful if you're rapidly trying to fix internal links.

Make sure that you fix any broken links or errors before committing your changes!

If there is a genuine false positive or case where milv is failing to parse a link correctly but it does work (and you have validated this using make run-docs or mkdocs serve) then you can add a whitelist under the appropriate section in milv.config.yaml and commit this back to the repo.