diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..6246634e06fa7f9b7e2a4c3efd7e552af2e0ffc5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +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 diff --git a/docs/conf.py b/docs/conf.py index 926050177bcb9c806d6bcbbbe8c7d6b810a096b9..8b78124b473ebe0cd9134855b361fce16d7050c4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 -----------------------------------------------------