File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,14 +34,13 @@ elif [ -n "${GITHUB_REPOSITORY:-}" ]; then
3434 sha=${GITHUB_SHA}
3535fi
3636
37- base_url=" https://github.com/${repository} /blob/${sha} / "
37+ base_url=" https://github.com/${repository} /blob/${sha} "
3838
3939if [ -n " ${base_url} " ]; then
4040 echo " Setting base-url to $base_url "
4141 cp mrdocs.yml mrdocs.yml.bak
42- perl -i -pe ' s{^\s*base-url:.*$}{base-url: ' " $base_url " ' }' mrdocs.yml
43- perl -i -pe ' s{(<(.*?)></h3>)}{<a href="${base_url}include/$2">$1}g' \
44- html/openmethod/ref_headers.html
42+ perl -i -pe ' s{^\s*base-url:.*$}{base-url: ' " $base_url /" ' }' mrdocs.yml
43+ perl -i -pe ' s/{{BASE_URL}}/$base_url/g' html/openmethod/ref_headers.html
4544fi
4645
4746echo " Building documentation with Antora..."
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ parameters:
2525## High-level Headers
2626
2727[#core]
28- ### <boost /openmethod /core.hpp >
28+ ### link:{{BASE_URL}}/include/boost/openmethod/core.hpp[ <boost/openmethod/core.hpp>]
2929
3030Defines the main constructs of the library: methods, overriders and virtual
3131pointers, and mechanisms to implement them. Does not define any public macros
You can’t perform that action at this time.
0 commit comments