diff --git a/docs/source/Extensions/hidden_code_block.py b/docs/source/Extensions/hidden_code_block.py index 195a80921b911db69b1572c828c4d88bac368d63..673ee27b50a2f737d93b538b5e905edbdcbe1e36 100644 --- a/docs/source/Extensions/hidden_code_block.py +++ b/docs/source/Extensions/hidden_code_block.py @@ -133,7 +133,6 @@ def depart_hcb_html(self, node): """Depart hidden code block""" # Stub because of SkipNode in visit - def setup(app): app.add_directive('hidden-code-block', HiddenCodeBlock) app.add_node(hidden_code_block, html=(visit_hcb_html, depart_hcb_html)) diff --git a/docs/source/conf.py b/docs/source/conf.py index 3f675bdfeccef68f5dcf549c0fecf20e9ede5aa9..03dd973c2bd9363b2d470a6c7a85163683d14448 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -287,6 +287,7 @@ exclude_patterns = ['/docs/source/user/py/references/*.rst'] #run the doxygen thingy import subprocess, os read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' + if not read_the_docs_build: subprocess.call('cd doxygen; echo HELLO......................; doxygen Doxyfile', shell=True)