Skip to content

Commit

Permalink
Fix the generation of the Python API docs
Browse files Browse the repository at this point in the history
Reported in issue #373.
Also discard the MacOSX 11.0 platform for now (it is lagging too much).
  • Loading branch information
bcoconni committed Jan 18, 2021
1 parent e71d9d6 commit 8997908
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cpp-python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/python/sphinx/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8997908

Please sign in to comment.