Skip to content

Commit

Permalink
fix doc building?
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 15, 2025
1 parent 8fd8d96 commit 03a91ff
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,15 @@ jobs:
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install dependencies Ubuntu
run: sudo apt-get update && sudo apt-get install cmake doxygen
run: sudo apt-get update && sudo apt-get install cmake doxygen pandoc

- name: Configure CMake
run: cmake -S . -B build -DBUILD_DOCUMENTATION=ON -DBUILD_TESTING=OFF

- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip' # caching pip dependencies
- run: pip install -r docs/requirements.txt

- name: Run Sphinx
run: |
cmake --build build --target Sphinx-mcfp
ls -l ${{ steps.strings.outputs.build-output-dir }}
ls -l ${{ steps.strings.outputs.build-output-dir }}/docs/sphinx
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ${{ steps.strings.outputs.build-output-dir }}/docs/sphinx
path: ${{ steps.strings.outputs.build-output-dir }}/doc

deploy:
environment:
Expand Down

0 comments on commit 03a91ff

Please sign in to comment.