Skip to content
Snippets Groups Projects
Commit 89bf1ac4 authored by mohanty's avatar mohanty
Browse files

Merge branch '31-sphinx-suppress-warnings-as-temporary-workaround' into 'master'

#31 suppress sphinx warnings as temporary workaround

See merge request flatland/flatland!20
parents 5232204f 4559a5f1
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@
#
# You can set these variables from the command line.
SPHINXOPTS =
# TODO fix sphinx warnings instead of suppressing them...
SPHINXOPTS = -Q
SPHINXBUILD = python -msphinx
SPHINXPROJ = flatland
SOURCEDIR = .
......
......@@ -24,7 +24,8 @@ subprocess.call(['sphinx-apidoc', '-o', 'docs/', 'flatland'])
os.environ["SPHINXPROJ"] = "flatland"
os.chdir('docs')
subprocess.call(['python', '-msphinx', '-M', 'clean', '.', '_build'])
subprocess.call(['python', '-msphinx', '-M', 'html', '.', '_build'])
subprocess.call(['python', '-mpydeps', '../flatland', '-o', '_build/html/flatland.svg'])
# TODO fix sphinx warnings instead of suppressing them...
subprocess.call(['python', '-msphinx', '-M', 'html', '.', '_build', '-Q'])
subprocess.call(['python', '-mpydeps', '../flatland', '-o', '_build/html/flatland.svg', '--no-config', '--noshow'])
browser('_build/html/index.html')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment