2019-05-13 23:11:00 +02:00
|
|
|
import subprocess, os
|
|
|
|
|
|
|
|
read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
|
|
|
|
|
2019-06-25 22:24:06 +02:00
|
|
|
breathe_projects = {}
|
|
|
|
|
2019-05-13 23:11:00 +02:00
|
|
|
if read_the_docs_build:
|
2019-06-26 22:26:30 +02:00
|
|
|
subprocess.call('cd ..; wget https://sourceforge.net/projects/plantuml/files/plantuml.jar', shell=True)
|
2019-05-13 23:11:00 +02:00
|
|
|
subprocess.call('cd .. ; doxygen', shell=True)
|
2019-06-25 22:18:19 +02:00
|
|
|
breathe_projects['knx'] = '../build/xml'
|
2019-06-25 22:51:52 +02:00
|
|
|
html_extra_path = ['../build/html']
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
|
2019-06-25 22:51:52 +02:00
|
|
|
#project = 'knx'
|
|
|
|
#copyright = '2019, Thomas Kunze'
|
|
|
|
#author = 'Thomas Kunze'
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
|
|
|
|
# Add any Sphinx extension module names here, as strings. They can be
|
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
|
|
# ones.
|
|
|
|
#...
|
|
|
|
|
2019-06-25 22:51:52 +02:00
|
|
|
#extensions = [ "breathe" ]
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
#...
|
|
|
|
|
|
|
|
# Add any paths that contain templates here, relative to this directory.
|
2019-06-25 22:51:52 +02:00
|
|
|
#templates_path = ['_templates']
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
# List of patterns, relative to source directory, that match files and
|
|
|
|
# directories to ignore when looking for source files.
|
|
|
|
# This pattern also affects html_static_path and html_extra_path.
|
2019-06-25 22:51:52 +02:00
|
|
|
#exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
|
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
|
|
# a list of builtin themes.
|
|
|
|
#
|
2019-06-25 22:51:52 +02:00
|
|
|
#html_theme = 'sphinx_rtd_theme'
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
|
|
# relative to this directory. They are copied after the builtin static files,
|
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
2019-06-25 22:51:52 +02:00
|
|
|
#html_static_path = ['_static']
|
2019-06-25 22:35:15 +02:00
|
|
|
|
|
|
|
# Breathe Configuration
|
2019-06-25 22:51:52 +02:00
|
|
|
#breathe_default_project = "knx"
|