Skip to content
Snippets Groups Projects
Commit e647ee57 authored by u214892's avatar u214892
Browse files

Merge branch 'master' of gitlab.aicrowd.com:flatland/flatland into...

Merge branch 'master' of gitlab.aicrowd.com:flatland/flatland into 47-agent-directions-in-observations
parents 8281d524 3ff187b6
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ build_and_deploy_docs: ...@@ -42,7 +42,7 @@ build_and_deploy_docs:
- apt install -y graphviz libgl1-mesa-glx xvfb xdg-utils - apt install -y graphviz libgl1-mesa-glx xvfb xdg-utils
- apt install -y libcairo2-dev libjpeg-dev libgif-dev - apt install -y libcairo2-dev libjpeg-dev libgif-dev
script: script:
- pip install -r requirements_dev.txt - pip install -r requirements_dev.txt -r requirements_continuous_integration.txt
- python setup.py install - python setup.py install
- xvfb-run make docs - xvfb-run make docs
- aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive - aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# #
# You can set these variables from the command line. # You can set these variables from the command line.
SPHINXOPTS = # TODO fix sphinx warnings instead of suppressing them...
SPHINXOPTS = -Q
SPHINXBUILD = python -msphinx SPHINXBUILD = python -msphinx
SPHINXPROJ = flatland SPHINXPROJ = flatland
SOURCEDIR = . SOURCEDIR = .
......
...@@ -24,7 +24,8 @@ subprocess.call(['sphinx-apidoc', '-o', 'docs/', 'flatland']) ...@@ -24,7 +24,8 @@ subprocess.call(['sphinx-apidoc', '-o', 'docs/', 'flatland'])
os.environ["SPHINXPROJ"] = "flatland" os.environ["SPHINXPROJ"] = "flatland"
os.chdir('docs') os.chdir('docs')
subprocess.call(['python', '-msphinx', '-M', 'clean', '.', '_build']) subprocess.call(['python', '-msphinx', '-M', 'clean', '.', '_build'])
subprocess.call(['python', '-msphinx', '-M', 'html', '.', '_build']) # TODO fix sphinx warnings instead of suppressing them...
subprocess.call(['python', '-mpydeps', '../flatland', '-o', '_build/html/flatland.svg']) 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') 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