Skip to content

Commit 3fdf2de

Browse files
committed
build: trying to fix API reference generation
1 parent 7edbf97 commit 3fdf2de

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/documentation.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@ jobs:
6969
sudo apt update
7070
sudo apt install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern
7171
sudo apt install haskell-stack graphviz nodejs npm ghc cabal-install
72-
npm install split mathjax-full mathjax-node-sre mathjax-node-cli
72+
npm install split mathjax-full mathjax-node-sre mathjax-node-cli yargs@16.2.0
7373
cabal update
7474
echo "${{ github.workspace }}/node_modules/.bin" >> $GITHUB_PATH
7575
- name: Get git repos with API reference tools
7676
run: |
7777
git clone https://github.com/JohelEGP/jegp.cmake_modules.git --depth=1
7878
git clone https://github.com/JohelEGP/draft.git --branch=standardese_sources_base --depth=1
7979
git clone https://github.com/JohelEGP/cxxdraft-htmlgen.git --branch=standardese_sources_base --depth=1
80-
# - name: Generate API reference
81-
# run: |
82-
# cmake -S docs/api_reference/src -B build \
83-
# -DCMAKE_MODULE_PATH="${{ github.workspace }}/jegp.cmake_modules/modules" \
84-
# -DJEGP_STANDARDESE_SOURCES_GIT_REPOSITORY="${{ github.workspace }}/draft" \
85-
# -DJEGP_CXXDRAFT_HTMLGEN_GIT_REPOSITORY="${{ github.workspace }}/cxxdraft-htmlgen"
86-
# cmake --build build
87-
# mv build/mp-units.html docs/api_reference/gen
80+
- name: Generate API reference
81+
run: |
82+
cmake -S docs/api_reference/src -B build \
83+
-DCMAKE_MODULE_PATH="${{ github.workspace }}/jegp.cmake_modules/modules" \
84+
-DJEGP_STANDARDESE_SOURCES_GIT_REPOSITORY="${{ github.workspace }}/draft" \
85+
-DJEGP_CXXDRAFT_HTMLGEN_GIT_REPOSITORY="${{ github.workspace }}/cxxdraft-htmlgen"
86+
cmake --build build
87+
mv build/mp-units.html docs/api_reference/gen
8888
- name: Installing pip dependencies
8989
run: |
9090
pip install conan mkdocs-material mkdocs-rss-plugin mkdocs-material[imaging] mkdocs-exclude mike

0 commit comments

Comments
 (0)