conf.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Configuration file for the Sphinx documentation builder.
  2. #
  3. # This file only contains a selection of the most common options. For a full
  4. # list see the documentation:
  5. # http://www.sphinx-doc.org/en/master/config
  6. # -- Path setup --------------------------------------------------------------
  7. # If extensions (or modules to document with autodoc) are in another directory,
  8. # add these directories to sys.path here. If the directory is relative to the
  9. # documentation root, use os.path.abspath to make it absolute, like shown here.
  10. #
  11. import os
  12. import sys
  13. sys.path.insert(0, os.path.abspath('../py'))
  14. sys.path.insert(1, os.path.abspath('../doxyrest_b/doxyrest/sphinx'))
  15. extensions = ['doxyrest', 'cpplexer', 'sphinx.ext.autodoc']
  16. # -- Project information -----------------------------------------------------
  17. project = 'Sophus'
  18. copyright = '2019, Hauke Strasdat'
  19. author = 'Hauke Strasdat'
  20. # Tell sphinx what the primary language being documented is.
  21. primary_domain = 'cpp'
  22. # Tell sphinx what the pygments highlight language should be.
  23. highlight_language = 'cpp'
  24. # Add any paths that contain templates here, relative to this directory.
  25. templates_path = ['_templates']
  26. # List of patterns, relative to source directory, that match files and
  27. # directories to ignore when looking for source files.
  28. # This pattern also affects html_static_path and html_extra_path.
  29. exclude_patterns = []
  30. # -- Options for HTML output -------------------------------------------------
  31. # The theme to use for HTML and HTML Help pages. See the documentation for
  32. # a list of builtin themes.
  33. #
  34. html_theme = "sphinx_rtd_theme"
  35. # Add any paths that contain custom static files (such as style sheets) here,
  36. # relative to this directory. They are copied after the builtin static files,
  37. # so a file named "default.css" will overwrite the builtin "default.css".
  38. html_static_path = ['_static']