From e750f8d8922dfd10c4b094d8d57752d615abd6d5 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 18 Feb 2024 16:27:09 +0100 Subject: [PATCH] docs: Display version number more prominently Resolves https://github.com/PostgREST/postgrest-docs/issues/734 --- docs/conf.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 36e4f2f1070..3e7ceb3d943 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,19 +48,19 @@ # The master toctree document. master_doc = "index" +# This is overriden by readthedocs with the version tag anyway +version = "devel" +# To avoid repetition in we set this to an empty string. +release = "" + # General information about the project. -project = "PostgREST" +project = "PostgREST " + version author = "Joe Nelson, Steve Chavez" copyright = "2017, " + author # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. -# -# The short X.Y version. -version = "12.1" -# The full version, including alpha/beta/rc tags. -release = "12.1-dev" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -117,7 +117,7 @@ # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -# html_theme_options = {} +html_theme_options = {"display_version": False} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = []