Skip to content
Snippets Groups Projects
Commit c6887c65 authored by David Bergström's avatar David Bergström
Browse files

Add auto-building and publishing of documentation

parent 0d45e45c
No related branches found
No related tags found
No related merge requests found
pages:
image: davidbergstrom/pycommandcenterenv
stage: deploy
before_script:
- git submodule sync --recursive
- git submodule update --init --recursive
script:
- mkdir build
- cd build
- cmake ..
- make -j 3 library
- cd ../build
- make html
- cd ..
- mkdir .public
- cp -r docs/_build/html .public
- mv .public public
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
......@@ -13,8 +13,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
import sys,os
# TODO: Change this if you are not building in Windows and in release mode
sys.path.append(os.path.join(os.getcwd(), "..", "build", "python-api-src", "Release"))
sys.path.append(os.path.join(os.getcwd(), "..", "build", "python-api-src"))
# -- Project information -----------------------------------------------------
......
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