Skip to content

Merge pull request #960 from sphinx-contrib/migrate-away-from-select-… #243

Merge pull request #960 from sphinx-contrib/migrate-away-from-select-…

Merge pull request #960 from sphinx-contrib/migrate-away-from-select-… #243

Workflow file for this run

# Action which validates the ability to build this extension's documentation.
name: Documentation
on:
push:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'doc/**'
- 'CHANGES.rst'
pull_request:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'doc/**'
- 'CHANGES.rst'
jobs:
build:
name: Build
runs-on: ubuntu-latest
container: ghcr.io/sphinx-contrib/confluencebuilder/doctest:main
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
run: |
python -m venv venv
. venv/bin/activate
pip install -e .
- name: HTML
run: |
. venv/bin/activate
cd doc
make html
- name: PDF
run: |
. venv/bin/activate
cd doc
make latexpdf
- name: Archive generated PDF
uses: actions/upload-artifact@v4
with:
name: sphinxcontrib-confluencebuilder.pdf
path: doc/_build/latex/sphinxconfluencebuilder.pdf
retention-days: 10