1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/contributing/permalinks.md
Sarah Schneider 0a44768c61 Update internal docs with new versioning syntax (#15872)
* update internal docs for new versions, and update some outdated links

* :nailcare:

* Update content/README.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* Update contributing/liquid-helpers.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* Update contributing/liquid-helpers.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>

Co-authored-by: Zeke Sikelianos <zeke@sikelianos.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2020-10-05 18:08:18 -07:00

16 lines
921 B
Markdown

# Permalinks
Because the site is dynamic, it does not build HTML files for each different version of an article. Instead it generates a "permalink" for every version of the article. It does this based on the article's [`versions` frontmatter](content#versions).
For example, an article that is available in currently supported versions will have permalink URLs like the following:
* `/en/free-pro-team@latest/github/getting-started-with-github/set-up-git`
* `/en/enterprise-server@2.22/github/getting-started-with-github/set-up-git`
* `/en/enterprise-server@2.21/github/getting-started-with-github/set-up-git`
* `/en/enterprise-server@2.20/github/getting-started-with-github/set-up-git`
* `/en/enterprise-server@2.19/github/getting-started-with-github/set-up-git`
An article that is not available in Enterprise will have just one permalink:
* `/en/free-pro-team@latest/github/getting-started-with-github/set-up-git`