Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
d51d5daa
Commit
d51d5daa
authored
Jun 22, 2018
by
Floreal Cabanettes
Browse files
Fix sphinx doc for readthedoc compatibility
parent
8e246b62
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/Makefile
View file @
d51d5daa
...
...
@@ -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)
\ No newline at end of file
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
docs/conf.py
View file @
d51d5daa
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment