conf.py 615 B

123456789101112131415161718192021222324252627282930313233
  1. # -*- coding: utf-8 -*-
  2. """Sphinx configuration file."""
  3. import time
  4. author = "Jan Holthuis"
  5. project = "sphinx-multiversion"
  6. release = "1.0.0"
  7. version = "1.0"
  8. copyright = "{}, {}".format(time.strftime("%Y"), author)
  9. html_last_updated_fmt = "%c"
  10. master_doc = "index"
  11. pygments_style = "friendly"
  12. templates_path = ["_templates"]
  13. extensions = [
  14. "sphinx_multiversion",
  15. ]
  16. templates_path = [
  17. "_templates",
  18. ]
  19. html_sidebars = {
  20. "**": [
  21. "about.html",
  22. "navigation.html",
  23. "relations.html",
  24. "searchbox.html",
  25. "versioning.html",
  26. ],
  27. }
  28. mv_remote_whitelist = r"^origin$"