From f5a02fdbb487556d9b67c10322e6c4b35a53810a Mon Sep 17 00:00:00 2001 From: Nick Machnik Date: Tue, 13 Oct 2020 11:07:22 +0200 Subject: [PATCH] Add extensions and version from chess var --- docs/conf.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 8a44c37..3076195 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,7 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +import chess # -- Project information ----------------------------------------------------- @@ -22,7 +23,7 @@ author = 'Silvia Galan, Nick Machnik, Kai Kruse' # The full version, including alpha/beta/rc tags -release = '0.3.0' +release = chess.__version__ # -- General configuration --------------------------------------------------- @@ -31,6 +32,12 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.todo', + 'sphinx.ext.imgmath', + 'sphinx.ext.napoleon', + 'sphinxarg.ext', + 'sphinx.ext.autosummary', ] # Add any paths that contain templates here, relative to this directory.