conf.py 887 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # -*- coding: utf-8 -*-
  2. """Sphinx configuration file."""
  3. import time
  4. author = "Jan Holthuis"
  5. project = "sphinx-multiversion"
  6. release = "0.2.4"
  7. version = "0.2"
  8. copyright = "{}, {}".format(time.strftime("%Y"), author)
  9. html_theme = "alabaster"
  10. html_theme_options = {
  11. "github_repo": "sphinx-multiversion",
  12. "github_user": "Holzhaus",
  13. "github_banner": True,
  14. "github_button": True,
  15. "travis_button": True,
  16. "show_relbar_bottom": True,
  17. }
  18. html_last_updated_fmt = "%c"
  19. master_doc = "index"
  20. pygments_style = "friendly"
  21. templates_path = ["_templates"]
  22. extensions = [
  23. "sphinx_multiversion",
  24. ]
  25. templates_path = [
  26. "_templates",
  27. ]
  28. html_sidebars = {
  29. "**": [
  30. "about.html",
  31. "navigation.html",
  32. "relations.html",
  33. "searchbox.html",
  34. "versioning.html",
  35. ],
  36. }
  37. smv_remote_whitelist = r"^origin$"
  38. smv_branch_whitelist = r"^master$"