File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ jobs :
4+ gh_pages :
5+ runs-on : ubuntu-latest
6+ permissions :
7+ contents : write
8+ steps :
9+ - uses : actions/checkout@v5
10+ with :
11+ submodules : true
12+ fetch-depth : 0
13+ - run : |
14+ git config --global user.name github-actions
15+ git config --global user.email github-actions@github.com
16+ git config --global --add safe.directory '*'
17+ - run : make ghpages_action GIT_MESSAGE="Automated update ${{ github.ref_name }}"
Original file line number Diff line number Diff line change 1+ [submodule "gh-pages "]
2+ path = gh-pages
3+ url = ../codeincomplete.git
4+ branch = gh-pages
Original file line number Diff line number Diff line change @@ -110,3 +110,30 @@ Bufferization
110110UDP
111111codebase
112112compilable
113+ oom
114+ dont
115+ KPIs
116+ Jira
117+ SDF
118+ rviz
119+ bugfixes
120+ bugfix
121+ LLA
122+ MSL
123+ WGS84
124+ Werror
125+ LLM
126+ instantiations
127+ typename
128+ struct
129+ MyClass
130+ CallbackData
131+ mat3
132+ mat2
133+ mat1
134+ ROS2
135+ ament
136+ doesn
137+ NODELAY
138+ REUSEADDR
139+ eigendecomposition
Original file line number Diff line number Diff line change 1+ APT_INSTALL? =env DEBIAN_FRONTEND=noninteractive apt --yes --no-install-recommends install
2+ GIT_MESSAGE? ="UPDATED"
3+
14fmt :
25 cp README.md README.md.back
36 sed ' /^Introduction$$/,$$!d' README.md.back > README.md
69
710spell :
811 hunspell -H -p ./.hunspell_dict ./README.md
12+
13+ html : # based on https://github.com/jez/pandoc-markdown-css-theme
14+ pandoc README.md \
15+ --output gh-pages/index.html \
16+ --standalone \
17+ --table-of-contents \
18+ --toc-depth=3 \
19+ --number-sections \
20+ --to html5+smart \
21+ --embed-resources \
22+ --template=gh-pages/template.html5 \
23+ --css gh-pages/theme.css \
24+ --css gh-pages/skylighting-solarized-theme.css \
25+ --wrap=none \
26+ --variable=date:" DATE: ` date ' +%Y-%m-%d' ` " \
27+ --variable=author:" VERSION: ` git describe --broken --dirty --always` " \
28+ --metadata title="Code Incomplete"
29+
30+ ghpages :
31+ cd gh-pages; git checkout gh-pages
32+ ${MAKE} html
33+ cd gh-pages; git add * ; git commit -a -m " ${GIT_MESSAGE} " ; git push
34+
35+ ghpages_action :
36+ sudo apt update
37+ sudo ${APT_INSTALL} pandoc
38+ ${MAKE} ghpages
You can’t perform that action at this time.
0 commit comments