diff --git a/docs/conf.py b/docs/conf.py index 43d118a5d1e..5256d7bd2ea 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -129,13 +129,14 @@ else: nbsphinx_execute = "auto" + # -- Project information ------------------------------------------------------ # This does not *have* to match the package name, but typically does project = setup_cfg["name"] author = setup_cfg["author"] copyright = "2013-{0}, {1}".format( - datetime.datetime.now().year, setup_cfg["author"]) + datetime.datetime.now().year, 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 @@ -145,7 +146,7 @@ package = sys.modules[setup_cfg["name"]] # The short X.Y version. -version = package.__version__.split("-", 1)[0] +version = "latest" # package.__version__.split("-", 1)[0] # The full version, including alpha/beta/rc tags. release = package.__version__ @@ -198,7 +199,7 @@ # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". -html_title = "{0} v{1}".format(project, release) +html_title = project # "{0} v{1}".format(project, release) # Output file base name for HTML help builder. htmlhelp_basename = project + "doc"