File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 with :
3939 fetch-depth : 0 # Fetch all history for .gitinfo and .lastmod
4040 - name : " Generate site using antora site action"
41- uses : kameshsampath/antora-site-action@6069ae47f8c6dfd2a7c842d2dea766c639ab0053
42- with :
43- antora_playbook : antora-playbook.yml
44- antora_generator : " antora-site-generator-lunr"
45- antora_docsearch_enabled : " true"
46- antora_docsearch_index_version : " latest"
41+ uses : docker://ghcr.io/camptocamp/antora:v3
42+ run : |
43+ ./generate-documentation.sh
4744 - name : " List folder"
4845 run : |
4946 ls -ltr $GITHUB_WORKSPACE/build/
Original file line number Diff line number Diff line change 55 keys :
66 google_analytics : " G-GDBX9466LL"
77 start_page : devops-stack::index.adoc
8+ antora :
9+ extensions :
10+ - require : " @antora/lunr-extension"
11+ index_latest_only : true
812content :
913 branches : HEAD
10- tags :
14+ tags :
1115 - " v0.3*"
1216 - " !v0.3.0"
1317 sources :
1721 bundle :
1822 url : https://github.com/camptocamp/devops-stack-antora-ui/releases/download/master-LATEST/ui-bundle.zip
1923 snapshot : true
20- supplemental_files :
21- - path : ui.yml
22- contents : |
23- static_files: [ .nojekyll ]
24- - path : .nojekyll
24+ supplemental_files : ./supplemental_ui
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ cd " $( dirname $0 ) "
4+
5+ mkdir -p ' supplemental_ui'
6+
7+ cp -RT " $( yarn global dir) /node_modules/@antora/lunr-extension/supplemental_ui/" ' supplemental_ui'
8+
9+ antora generate ' antora-playbook.yml'
Original file line number Diff line number Diff line change 1+ css /search.css
2+ js /search-ui.js
Original file line number Diff line number Diff line change 1+ ---
2+ static_files :
3+ - " .nojekyll"
You canβt perform that action at this time.
0 commit comments