This is an automated email from the ASF dual-hosted git repository. janc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-site.git
The following commit(s) were added to refs/heads/master by this push: new d8e383dc50 documentation: add `master` as a selectable version d8e383dc50 is described below commit d8e383dc5096c904320961f5b3ab8c85a3a557ab Author: Wojciech Pietraszewski <wojciech.pietraszew...@codecoup.pl> AuthorDate: Wed Aug 14 20:17:47 2024 +0200 documentation: add `master` as a selectable version Adds the master branch documentation as an option to choose from the drop-down list in the `Documentation` section. --- custom-theme/choose_doc_version.html | 6 +++++- docs/documentation.md | 4 ++-- mkdocs.yml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/custom-theme/choose_doc_version.html b/custom-theme/choose_doc_version.html index 1b5fc0f9fc..424824b94a 100644 --- a/custom-theme/choose_doc_version.html +++ b/custom-theme/choose_doc_version.html @@ -1,8 +1,12 @@ <select class="form-control" onchange="if (this.value) window.location.href=this.value"> <option value="/latest"> + Version: latest + </option> + + <option value="/master/" {% if config.extra.version=="master" %}selected="selected" {% endif %}> Version: master </option> - <option value="/v1_12_0/" {% if config.extra.version=="v1_12_0" %}selected="selected" {% endif %}> + <option value="/v1_12_0/" {% if config.extra.version=="v1_12_0" %}selected="selected" {% endif %}> Version: 1.12.0 </option> <option value="/v1_11_0/" {% if config.extra.version=="v1_11_0" %}selected="selected" {% endif %}> diff --git a/docs/documentation.md b/docs/documentation.md index ca090a86b6..32f5e38456 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -1,9 +1,9 @@ # Apache Mynewt Documentation - Latest version: - - [latest](/latest/) + - [1.12.0](/latest/) + - [master (development)](/master/) - Earlier versions: - - [1.12.0](/v1_12_0/) - [1.11.0](/v1_11_0/) - [1.10.0](/v1_10_0/) - [1.9.0](/v1_9_0/) diff --git a/mkdocs.yml b/mkdocs.yml index 84f82a3653..dc7864cceb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -31,7 +31,7 @@ markdown_extensions: pygments_style: xcode extra: - version: "master" + version: "1.12.0" versions: - label: "master" sha: "master"