-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use sphinx-multiversion for generating versioned docs
Adapt the github actions workflow to populate a few template like things during the publish step, so that the generated documentation always points to either the latest tag (lexicographic sorting) or to the github ref that has just been generated
- Loading branch information
Showing
5 changed files
with
73 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% if current_version %} | ||
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> | ||
<span class="rst-current-version" data-toggle="rst-current-version"> | ||
<span class="fa fa-book"> Other Versions</span> | ||
v: {{ current_version.name }} | ||
<span class="fa fa-caret-down"></span> | ||
</span> | ||
<div class="rst-other-versions"> | ||
{%- if versions.tags or versions.branches -%} | ||
<dl> | ||
<dt>Versions</dt> | ||
{%- for version in versions.branches %} | ||
<dd><a href="{{ version.url }}">{{ version.name }}</a></dd> | ||
{%- endfor %} | ||
{%- for version in versions.tags %} | ||
<dd><a href="{{ version.url }}">{{ version.name }}</a></dd> | ||
{%- endfor %} | ||
</dl> | ||
{%- endif -%} | ||
</div> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Redirecting to latest release</title> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="refresh" content="0; url=./__LATEST__/index.html"> | ||
<link rel="canonical" href="https://tmadlener.github.io/podio/__LATEST__/index.html"> | ||
</head> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters