Browse Source

docs: Add alabaster theme options and GitHub/Travis links

Jan Holthuis 4 years ago
parent
commit
7109646da7
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/conf.py

+ 9 - 0
docs/conf.py

@@ -8,6 +8,15 @@ release = "0.2.4"
 version = "0.2"
 copyright = "{}, {}".format(time.strftime("%Y"), author)
 
+html_theme = "alabaster"
+html_theme_options = {
+    "github_repo": "sphinx-multiversion",
+    "github_user": "Holzhaus",
+    "github_banner": True,
+    "github_button": True,
+    "travis_button": True,
+    "show_relbar_bottom": True,
+}
 html_last_updated_fmt = "%c"
 master_doc = "index"
 pygments_style = "friendly"