Skip to content

Compilation fix

Compilation fix #1

Workflow file for this run

name: Docs
on: [push, pull_request]
jobs:
docs:
name: Docs
runs-on: ubuntu-latest
strategy:
fail-fast: true
container:
image: ghcr.io/osgeo/proj-docs:latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Print versions
run: |
python3 --version
sphinx-build --version
- name: Lint .rst files
run: |
if find . -name '*.rst' | xargs grep -P '\t'; then echo 'Tabs are bad, please use four spaces in .rst files.'; false; fi
working-directory: ./doc
- name: Doxygen
run: |
make doxygen
working-directory: ./doc
- name: HTML
run: |
make html
working-directory: ./doc
- name: PDF
run: |
make latexpdf
working-directory: ./doc
- name: Spelling
run: |
make spell
working-directory: ./doc
- uses: actions/upload-artifact@v2
with:
name: PDF
path: doc/build/latex/PDAL.pdf
- uses: actions/upload-artifact@v2
with:
name: HTML
path: doc/build/html/*
- uses: actions/upload-artifact@v2
with:
name: Misspelled
path: doc/build/spelling/output.txt
- name: Deploy docs
env:
API_TOKEN_GITHUB: ${{ secrets.DOCS_SECRET_KEY}}
if: contains(github.ref, '2.4-maintenance')
run: |
./scripts/ci/docs/deploy_website.sh