Add url reference for layout marker item #3758
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs builds | |
on: | |
push: | |
paths-ignore: | |
- 'locale/**' | |
pull_request: | |
paths-ignore: | |
- 'locale/**' | |
permissions: # added using https://github.com/step-security/secure-repo | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
format: [html, pdf] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Check out repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | |
with: | |
python-version: 3.9 | |
- name: Install Requirements | |
run: | | |
if [[ ${{ matrix.format }} != "html" ]]; then | |
sudo apt-get update && sudo apt-get install -y texlive-xetex fonts-freefont-otf | |
fi | |
python -m pip install --upgrade pip | |
pip install -r REQUIREMENTS.txt | |
- name: Build English ${{ matrix.format }} documentation | |
run: | | |
make ${{ matrix.format }} | |
- name: Upload ${{ matrix.format }} build artifact | |
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 | |
with: | |
name: ${{ matrix.format }} build | |
path: build/${{ matrix.format }} | |
retention-days: 15 |