diff --git a/.github/workflows/cpp-python-build.yml b/.github/workflows/cpp-python-build.yml index 2c01b49b8b..fca55c7b0f 100644 --- a/.github/workflows/cpp-python-build.yml +++ b/.github/workflows/cpp-python-build.yml @@ -272,7 +272,7 @@ jobs: MacOSX: strategy: matrix: - os: [ macos-10.15, macos-11.0 ] + os: [ macos-10.15, ] runs-on: ${{ matrix.os }} steps: - name: Set up Python 3.7 @@ -505,16 +505,22 @@ jobs: with: python-version: '3.6' - name: Install Python packages - run: pip install -U cython sphinx + run: pip install -U cython numpy sphinx - name: Checkout JSBSim uses: actions/checkout@v2 - name: Configure JSBSim run: | mkdir build && cd build cmake -DCMAKE_C_FLAGS_DEBUG="--coverage" -DCMAKE_CXX_FLAGS_DEBUG="--coverage" -DCMAKE_BUILD_TYPE=Debug .. + - name: Download Python wheels + uses: actions/download-artifact@v2 + with: + name: ManyLinux-Wheels.binaries + path: build - name: Build Python docs working-directory: build run: | + pip install jsbsim --no-index -f . touch documentation/html/.nojekyll sphinx-build -b html documentation documentation/html/python - name: Build JSBSim diff --git a/doc/python/sphinx/conf.py.in b/doc/python/sphinx/conf.py.in index db74a3bded..eecc8dfd95 100644 --- a/doc/python/sphinx/conf.py.in +++ b/doc/python/sphinx/conf.py.in @@ -19,7 +19,7 @@ sys.path.insert(0, '${CMAKE_BINARY_DIR}/tests') # -- Project information ----------------------------------------------------- project = u'JSBSim' -copyright = u'2019, ${PROJECT_CONTACT_VENDOR}' +copyright = u'2021, ${PROJECT_CONTACT_VENDOR}' author = u'${PROJECT_CONTACT_VENDOR}' # The short X.Y version