Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

38 rindas
1.0KB

  1. # -*- coding: utf-8 -*-
  2. # Refer: http://www.sphinx-doc.org/en/master/config
  3. import os
  4. # -- Project information -----------------------------------------------------
  5. project = 'dds'
  6. copyright = '2020, vector-of-bool'
  7. author = 'vector-of-bool'
  8. # The short X.Y version
  9. version = ''
  10. # The full version, including alpha/beta/rc tags
  11. release = '0.1.0-alpha.6'
  12. # -- General configuration ---------------------------------------------------
  13. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
  14. templates_path = []
  15. source_suffix = '.rst'
  16. master_doc = 'index'
  17. language = None
  18. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  19. pygments_style = None
  20. intersphinx_mapping = {
  21. 'python': ('https://docs.python.org/3', None),
  22. 'pytest': ('https://docs.pytest.org/en/latest/', None),
  23. }
  24. # -- Options for HTML output -------------------------------------------------
  25. html_theme = 'nature'
  26. html_theme_options = {}
  27. html_static_path = []
  28. html_sidebars = {}
  29. if os.environ.get('GEN_FOR_HUGO'):
  30. templates_path.append('.')
  31. html_theme = 'basic'