summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2021-12-29 16:38:38 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2021-12-29 16:38:38 +0100
commit5d2c2649ab60988eaa67d02c0e1eda25c2ec9d1d (patch)
tree448fd91303552fd994b3282e95c22a8334d95b40 /doc
parent5d0200659bbe7cab58ff936a64528a40e2923972 (diff)
downloadpygments-git-5d2c2649ab60988eaa67d02c0e1eda25c2ec9d1d.tar.gz
Add link to changelog in sidebar.
Diffstat (limited to 'doc')
-rw-r--r--doc/_templates/indexsidebar.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html
index 0c595ecf..5aa50190 100644
--- a/doc/_templates/indexsidebar.html
+++ b/doc/_templates/indexsidebar.html
@@ -1,18 +1,9 @@
<section>
<h3>Download</h3>
-{% if version.endswith('(hg)') %}
-<p>This documentation is for version <b>{{ version }}</b>, which is
- not released yet.</p>
-<p>You can use it from the
- <a href="https://github.com/pygments/pygments/">Git repo</a> or look for
- released versions in the <a href="https://pypi.python.org/pypi/Pygments">Python
- Package Index</a>.</p>
-{% else %}
-<p>Current version: <b>{{ version }}</b></p>
+<p>Current version: <b>{{ version }}</b><br><a href="{{ pathto('docs/changelog') }}">Changelog</a></p>
<p>Get Pygments from the <a href="https://pypi.python.org/pypi/Pygments">Python Package
Index</a>, or install it with:</p>
<pre>pip install Pygments</pre>
-{% endif %}
</section>
<section>
<h3>Questions? Suggestions?</h3>