Skip to content

Commit

Permalink
feat(docs): add build step to GitHub Actions workflow
Browse files Browse the repository at this point in the history
Add a new step to the GitHub Actions workflow for building the documentation.
The step runs the `make docs-build` command.

Update the `Makefile` to include the `-max-print-line=1000` option for the `LATEXMK_OPTIONS` variable.
This change increases the maximum line length for printing during the LaTeX build process.

These changes are made to improve the documentation build process and ensure that the generated documentation is accurate and complete.
  • Loading branch information
liblaf committed Dec 1, 2023
1 parent 0264546 commit 421afbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
uses: teatimeguest/setup-texlive-action@v2
with:
packages: scheme-full
- name: Build
run: make docs-build
- if: github.ref == 'refs/heads/main'
name: Deploy to GitHub Pages
run: make docs-gh-deploy
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TARGET_LIST += $(SRC_LIST:$(SRC)/%=$(TEXMFHOME)/tex/latex/$(NAME)/%)
INSTALL := @ install
INSTALL_DATA := $(INSTALL) -D --mode="u=rw,go=r" --no-target-directory --verbose
LATEXMK := env TEXINPUTS=$(abspath $(SRC)): latexmk
LATEXMK_OPTIONS := -xelatex -file-line-error -interaction=nonstopmode -shell-escape
LATEXMK_OPTIONS := -xelatex -file-line-error -interaction=nonstopmode -max-print-line=1000 -shell-escape

all: docs get-deps

Expand Down

0 comments on commit 421afbd

Please sign in to comment.