File: conf.py

package info (click to toggle)
ifcopenshell 0.8.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 512,808 kB
  • sloc: xml: 904,999; cpp: 642,209; python: 338,172; javascript: 5,328; makefile: 580; sh: 119
file content (37 lines) | stat: -rw-r--r-- 1,057 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import textwrap
# The `extensions` list should already be in here from `sphinx-quickstart`
extensions = [
    # there may be others here already, e.g. 'sphinx.ext.mathjax'
    'breathe',
    'exhale',
    'sphinx.ext.intersphinx'
]

project = 'IfcOpenShell'
copyright = '2020, IfcOpenShell'
author = ''

# Setup the breathe extension
breathe_projects = {
    "My Project": "./output/doxygen/xml"
}
breathe_default_project = "My Project"

# Setup the exhale extension
exhale_args = {
    # These arguments are required
    "containmentFolder":     "./rst_files",
    "rootFileName":          "library_root.rst",
    "rootFileTitle":         "IfcOpenShell C++",
    "doxygenStripFromPath":  "..",
    # Suggested optional arguments
    "createTreeView":        True,
    # TIP: if using the sphinx-bootstrap-theme, you need
    # "treeViewIsBootstrap": True,
    "exhaleExecutesDoxygen": True,
    # "exhaleDoxygenStdin":    "INPUT = ../src/serializers/ ../src/ifcgeom",
    "exhaleUseDoxyfile": True

}

cpp_id_attributes = ['IFC_PARSE_API', 'IFC_GEOM_API']