summaryrefslogtreecommitdiffstats
path: root/examples/sphinx/master/conf.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-11-22 14:21:29 +0100
committerthmsdt <thomas.kulik@telekom.de>2021-11-30 15:08:21 +0100
commit3093269296e267427debd31e180ac29fcab349df (patch)
tree6e7fdf81aa384b9303dc2603e8b3420c969abc7f /examples/sphinx/master/conf.py
parentd6b7f66b0d3cbc4e7c92a85837a8e74906c08434 (diff)
Make examples buildable
It now excludes .tox from conf.py. It locally clones docutils cheatsheet as examples (it should be noted that cheatsheet.txt is renamed index.rst in it). [1] https://docutils.sourceforge.io/docs/user/rst/cheatsheet.txt Issue-ID: DOC-772 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ifd616b797d5a48da5df77b0dfaa0613497b742d8
Diffstat (limited to 'examples/sphinx/master/conf.py')
-rw-r--r--examples/sphinx/master/conf.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/sphinx/master/conf.py b/examples/sphinx/master/conf.py
new file mode 100644
index 000000000..e782429a1
--- /dev/null
+++ b/examples/sphinx/master/conf.py
@@ -0,0 +1,19 @@
+from docs_conf.conf import *
+
+branch = 'latest'
+master_doc = 'index'
+
+linkcheck_ignore = [
+ 'http://localhost',
+]
+
+exclude_patterns = [
+ '.tox'
+]
+
+intersphinx_mapping = {}
+
+html_last_updated_fmt = '%d-%b-%y %H:%M'
+
+def setup(app):
+ app.add_css_file("css/ribbon.css")