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+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
7+ # -- Path setup --------------------------------------------------------------
8+
9+ # If extensions (or modules to document with autodoc) are in another directory,
10+ # add these directories to sys.path here. If the directory is relative to the
11+ # documentation root, use os.path.abspath to make it absolute, like shown here.
12+ #
13+ # import os
14+ # import sys
15+ # sys.path.insert(0, os.path.abspath('.'))
16+ from sphinx .builders .html import StandaloneHTMLBuilder
17+ import subprocess , os
18+
19+
20+ # read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
21+
22+ # if read_the_docs_build:
23+
24+ # subprocess.call('doxygen Doxyfile.in', shell=True)
25+
26+ subprocess .call ('doxygen Doxyfile.in' , shell = True )
27+
28+ # -- Project information -----------------------------------------------------
29+
30+ project = 'GL Engine'
31+ copyright = '2020, Kevin Russell'
32+ author = 'Kevin Russell'
33+
34+ # The full version, including alpha/beta/rc tags
35+ release = 'v0.1'
36+
37+
38+ # -- General configuration ---------------------------------------------------
39+
40+ # Add any Sphinx extension module names here, as strings. They can be
41+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
42+ # ones.
43+ extensions = [
44+ 'sphinx.ext.autodoc' ,
45+ 'sphinx.ext.intersphinx' ,
46+ 'sphinx.ext.autosectionlabel' ,
47+ 'sphinx.ext.todo' ,
48+ 'sphinx.ext.coverage' ,
49+ 'sphinx.ext.mathjax' ,
50+ 'sphinx.ext.ifconfig' ,
51+ 'sphinx.ext.viewcode' ,
52+ 'sphinx_sitemap' ,
53+ 'sphinx.ext.inheritance_diagram' ,
54+ 'breathe'
55+ ]
56+
57+ # Add any paths that contain templates here, relative to this directory.
58+ templates_path = ['_templates' ]
59+
60+ # List of patterns, relative to source directory, that match files and
61+ # directories to ignore when looking for source files.
62+ # This pattern also affects html_static_path and html_extra_path.
63+ exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
64+
65+ highlight_language = 'c++'
66+
67+ # -- Options for HTML output -------------------------------------------------
68+
69+ # The theme to use for HTML and HTML Help pages. See the documentation for
70+ # a list of builtin themes.
71+ #
72+ html_theme = 'sphinx_rtd_theme'
73+ html_theme_options = {
74+ 'canonical_url' : '' ,
75+ 'analytics_id' : '' ,
76+ 'display_version' : True ,
77+ 'prev_next_buttons_location' : 'bottom' ,
78+ 'style_external_links' : False ,
79+
80+ 'logo_only' : False ,
81+
82+ # Toc options
83+ 'collapse_navigation' : True ,
84+ 'sticky_navigation' : True ,
85+ 'navigation_depth' : 4 ,
86+ 'includehidden' : True ,
87+ 'titles_only' : False
88+ }
89+ # html_logo = ''
90+ # github_url = ''
91+ # html_baseurl = ''
92+
93+ # Add any paths that contain custom static files (such as style sheets) here,
94+ # relative to this directory. They are copied after the builtin static files,
95+ # so a file named "default.css" will overwrite the builtin "default.css".
96+ html_static_path = ['_static' ]
97+
98+
99+ # -- Breathe configuration -------------------------------------------------
100+
101+ breathe_projects = {
102+ "GL Engine" : "_build/xml/"
103+ }
104+ breathe_default_project = "GL Engine"
105+ breathe_default_members = ('members' , 'undoc-members' )
0 commit comments