Skip to content

Commit 6452173

Browse files
docs: Display version number more prominently
Resolves PostgREST/postgrest-docs#734
1 parent fcd29ca commit 6452173

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

docs/conf.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,16 @@
4848
# The master toctree document.
4949
master_doc = "index"
5050

51+
# This is overriden by readthedocs with the version tag anyway
52+
version = "devel"
53+
# To avoid repetition in <title> we set this to an empty string.
54+
release = ""
55+
5156
# General information about the project.
52-
project = "PostgREST"
57+
project = "PostgREST " + version
5358
author = "Joe Nelson, Steve Chavez"
5459
copyright = "2017, " + author
5560

56-
# The version info for the project you're documenting, acts as replacement for
57-
# |version| and |release|, also used in various other places throughout the
58-
# built documents.
59-
#
60-
# The short X.Y version.
61-
version = "12.1"
62-
# The full version, including alpha/beta/rc tags.
63-
release = "12.1-dev"
64-
6561
# The language for content autogenerated by Sphinx. Refer to documentation
6662
# for a list of supported languages.
6763
#
@@ -117,7 +113,7 @@
117113
# Theme options are theme-specific and customize the look and feel of a theme
118114
# further. For a list of options available for each theme, see the
119115
# documentation.
120-
# html_theme_options = {}
116+
html_theme_options = {"display_version": False}
121117

122118
# Add any paths that contain custom themes here, relative to this directory.
123119
# html_theme_path = []

0 commit comments

Comments
 (0)