@@ -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