84 | {{ child.title }} 85 |
86 |{{ child.description }}
87 |
47 | document root
48 | │
49 | └─── _data
50 | └─── _docs
51 | └─── extras
52 | └─── subfolder
53 | └─── Archive
54 | └─── Previous
55 | └─── extras
56 | └─── subfolder
57 | example-page.md
58 | getting-started.md
59 | subfolder.md
60 | example-page.md
61 | getting-started.md
62 | subfolder.md
63 | versioning.md
64 |
65 |
66 | You would now continue to add, update or remove markdown files from the main _docs directory in order to work on the current version of your documentation.
67 |
68 | Once the versioning has been correctly configured and you have created a snapshot, you can access those documents by adding the version to the url to access that archived version (e.g. /docs/Archive/Previous/getting-started).
69 |
70 | To enable the users to interact with these versioned documents through the UI there needs to be some updates to the _config.yml file to setup and enable it. The following is a snippet from the _config.yml file specific to the versioning options that are available.
71 |
72 | ```yml
73 | version_params:
74 | version_menu: "Release"
75 | version_dir: Archive
76 | tocversion_dir: versions
77 | versioning: true
78 | latest: current
79 | allow_search: true
80 | search_versions:
81 | - main
82 | - current
83 | - beta
84 | versions:
85 | - main
86 | - current
87 | - beta
88 | - v3.1
89 | - v3.0.1
90 | - v3.0
91 | - v2.4.5
92 | - v2.4.4
93 | ```
94 |
95 | ### Versioning Options
96 |
97 |
98 | | Parameter | Description | Values |
99 | | --------- | ----------- | ------ |
100 | | versioning | This determines whether the versioning functionality is enabled | true \| false
101 | | version_menu | In addition to the version dropdown you can specify some text to display alongside itWas this page helpful?
18 | 19 | 20 |21 | Glad to hear it! Please tell us how we can improve. 22 |
23 |24 | Sorry to hear that. Please tell us how we can improve. 25 |
26 | {% endif %}{% if include.item.question %}{{ include.item.question }}{% else %}Question {{ include.count }}{% endif %}
3 |{% for choice in include.item.items %}{% if choice.correct == true %}{% endif %}{{ forloop.index }}. {{ choice.choice }}{% if choice.correct == true %}{% endif %}
{% endfor %}
{{ child.description }}
87 |" + versionBadge +"" + contentPreview + "
{{ post.description }}
18 |Subscribe with RSS to keep up with the latest news. 9 | For site changes, see the changelog kept with the code base.
10 | 11 |Loading results
13 | 14 |