diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-10-06 14:53:58 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-25 08:48:31 +0300 |
commit | 0ae4501e0b3a5c89b7a6cb484adc737ee671ad84 (patch) | |
tree | 27b0da826587822082c8ed388926cdababfa8917 /conf.py | |
parent | c2862bda44921cd695f01db009642922e35af600 (diff) |
Add version switcher, global configuration and fix some styling issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/conf.py b/conf.py new file mode 100644 index 000000000..aa16256e5 --- /dev/null +++ b/conf.py @@ -0,0 +1,24 @@ +# global configuration for every documentation added at the end + +import os + +# General information about the project. +copyright = u'2012-2017, The Nextcloud developers' + +# 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' +# The full version, including alpha/beta/rc tags. +release = '12' + + +# substitutions go here +rst_epilog = '.. |version| replace:: %s' % version + +html_context = { + 'doc_versions': ['11', '12'], + 'current_doc': os.path.basename(os.getcwd()), +} |