Version latest

Versions

Multiple versions of a documentation can be added within a single repository. To add a version, a folder with the name ‘versions’ needs to be created in the main folder of the documentation. In this folder a folder for each version can be created. The name of this folder will become part of the URL. In each version folder the documentation can be added as specified above. If a documentation has multiple versions a dropdown to switch between them will be added automatically.

Example

ROOT_DIR = ./docs

Default  
repository
│   gitlab-ci.yml
│
docs
│   u-locate
│   │   guide.md
│   │   conf.py
│   │   images
│   │   │   image1.png
│   │   │   image2.jpg
|   │   versions
|   |   │   version-1.0
|   |   │   │   guide.md
|   |   │   │   conf.py
│   │   │   │   images
│   │   │   │   │   image1.png
│   │   │   │   │   image2.jpg
|   |   │   version-1.1
|   |   │   │   guide.md
|   |   │   │   conf.py
│   │   │   │   images
│   │   │   │   │   image1.png
│   │   │   │   │   image2.jpg
Last updated: Feb 3, 2025
Need help?Contact Support
Questions?Contact us