2020-11-07 18:41:15 +01:00
|
|
|
import textwrap
|
2025-12-19 18:53:04 +05:00
|
|
|
|
2020-10-24 14:48:03 +02:00
|
|
|
# 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'
|
|
|
|
|
]
|
|
|
|
|
|
2021-02-05 11:52:05 +01:00
|
|
|
project = 'IfcOpenShell'
|
|
|
|
|
copyright = '2020, IfcOpenShell'
|
|
|
|
|
author = ''
|
2020-10-24 14:48:03 +02:00
|
|
|
|
|
|
|
|
# Setup the breathe extension
|
|
|
|
|
breathe_projects = {
|
2020-11-02 12:43:17 +01:00
|
|
|
"My Project": "./output/doxygen/xml"
|
2020-10-24 14:48:03 +02:00
|
|
|
}
|
|
|
|
|
breathe_default_project = "My Project"
|
|
|
|
|
|
|
|
|
|
# Setup the exhale extension
|
|
|
|
|
exhale_args = {
|
|
|
|
|
# These arguments are required
|
|
|
|
|
"containmentFolder": "./rst_files",
|
|
|
|
|
"rootFileName": "library_root.rst",
|
2021-02-05 12:01:57 +00:00
|
|
|
"rootFileTitle": "IfcOpenShell C++",
|
2020-10-24 14:48:03 +02:00
|
|
|
"doxygenStripFromPath": "..",
|
|
|
|
|
# Suggested optional arguments
|
|
|
|
|
"createTreeView": True,
|
|
|
|
|
# TIP: if using the sphinx-bootstrap-theme, you need
|
|
|
|
|
# "treeViewIsBootstrap": True,
|
|
|
|
|
"exhaleExecutesDoxygen": True,
|
2020-11-07 19:12:33 +01:00
|
|
|
# "exhaleDoxygenStdin": "INPUT = ../src/serializers/ ../src/ifcgeom",
|
2020-11-07 18:41:15 +01:00
|
|
|
"exhaleUseDoxyfile": True
|
|
|
|
|
|
2020-10-24 14:48:03 +02:00
|
|
|
}
|
|
|
|
|
|
2021-02-06 15:10:41 +00:00
|
|
|
cpp_id_attributes = ['IFC_PARSE_API', 'IFC_GEOM_API']
|