Commit d51d5daa authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix sphinx doc for readthedoc compatibility

parent 8e246b62
......@@ -17,5 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
./build_js_doc_rst.py
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
......@@ -12,8 +12,12 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
import os
sys.path.insert(0, os.path.abspath('.'))
import build_js_doc_rst
build_js_doc_rst.build_rst_files()
sys.path.insert(0, os.path.join(os.path.abspath('..'), "src"))
import dgenies
os.environ['DISABLE_CRONS'] = "True"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment