Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
haeussma committed Nov 29, 2023
1 parent 6950c4b commit aa45be6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ jobs:
with:
docs-folder: "docs/"
# Example of using a custom build-command.
- uses: ammaraskar/sphinx-action@master
with:
build-command: "sphinx-build -b html . _build"
docs-folder: "docs2/"
# Grabbing custom dependencies and building as a pdf.
- uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended"
build-command: "make latexpdf"
docs-folder: "docs2/"
# - uses: ammaraskar/sphinx-action@master
# with:
# build-command: "sphinx-build -b html . _build"
# docs-folder: "docs2/"
# # Grabbing custom dependencies and building as a pdf.
# - uses: ammaraskar/sphinx-action@master
# with:
# pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended"
# build-command: "make latexpdf"
# docs-folder: "docs2/"
# Great extra actions to compose with:
# Create an artifact of the html output.
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/_build/html/
# Create an artifact out of the previously built pdf.
- uses: actions/upload-artifact@v1
with:
name: Documentation
path: docs2/_build/latex/pdfexample.pdf
# - uses: actions/upload-artifact@v1
# with:
# name: Documentation
# path: docs2/_build/latex/pdfexample.pdf
# Publish built docs to gh-pages branch.
# ===============================
- name: Commit documentation changes
Expand Down

0 comments on commit aa45be6

Please sign in to comment.