mirror of
https://github.com/boostorg/website-v2-docs.git
synced 2026-01-19 04:42:17 +00:00
build: update cpp reference extension
This commit is contained in:
committed by
Alan de Freitas
parent
898b7b2feb
commit
3605818fd0
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
||||
include:
|
||||
- { name: 'Ubuntu', os: ubuntu-22.04, publish: true }
|
||||
- { name: 'Windows', os: windows-2022 }
|
||||
- { name: 'MacOS', os: macos-latest }
|
||||
name: Publish Antora Docs (${{ matrix.name }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -57,18 +58,20 @@ jobs:
|
||||
changed_ext=$(echo "$changed_files" | grep -q "extensions/" && echo true || echo false)
|
||||
changed_actions=$(echo "$changed_files" | grep -q ".github/" && echo true || echo false)
|
||||
changed_libs=$(echo "$changed_files" | grep -q "libs.playbook.yml" && echo true || echo false)
|
||||
changed_packages=$(echo "$changed_files" | grep -q "package.json" && echo true || echo false)
|
||||
else
|
||||
# Assume anything might have changed
|
||||
changed_ui=true
|
||||
changed_ext=true
|
||||
changed_actions=true
|
||||
changed_libs=true
|
||||
changed_packages=true
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
# Only build lib playbook if it changed
|
||||
if [ "$changed_ui" = true ] || [ "$changed_ext" = true ] || [ "$changed_libs" = true ] || [ "$changed_actions" = true ]; then
|
||||
if [ "$changed_ui" = true ] || [ "$changed_ext" = true ] || [ "$changed_libs" = true ] || [ "$changed_actions" = true ] || [ "$changed_packages" = true ]; then
|
||||
echo "build-libs=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "build-libs=false" >> $GITHUB_OUTPUT
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -7,7 +7,7 @@
|
||||
"dependencies": {
|
||||
"@antora/lunr-extension": "^1.0.0-alpha.8",
|
||||
"@asciidoctor/tabs": "^1.0.0-beta.3",
|
||||
"@cppalliance/antora-cpp-reference-extension": "^0.0.4",
|
||||
"@cppalliance/antora-cpp-reference-extension": "^0.0.5",
|
||||
"@cppalliance/antora-cpp-tagfiles-extension": "^0.0.4",
|
||||
"@cppalliance/antora-playbook-macros-extension": "^0.0.2",
|
||||
"@cppalliance/asciidoctor-boost-links": "^0.0.2"
|
||||
@@ -47,9 +47,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@cppalliance/antora-cpp-reference-extension": {
|
||||
"version": "0.0.4",
|
||||
"resolved": "https://registry.npmjs.org/@cppalliance/antora-cpp-reference-extension/-/antora-cpp-reference-extension-0.0.4.tgz",
|
||||
"integrity": "sha512-S/jqpNXq0it3YvUaMAo+mfD13Q7YbmzBsFKwGDh4rjbrwOI7FPHrCMQZBwO3lz96MIMLlOhk5s/n8al8iyLO5Q==",
|
||||
"version": "0.0.5",
|
||||
"resolved": "https://registry.npmjs.org/@cppalliance/antora-cpp-reference-extension/-/antora-cpp-reference-extension-0.0.5.tgz",
|
||||
"integrity": "sha512-wSJgtb6FF/s3n9ex7HT7dFHimzaLLvkcNsy0CtL74chOGnAXbQlmuK5Jfw0BvgkdBtaazekgRC4lh/Gktw2aFw==",
|
||||
"dependencies": {
|
||||
"@antora/expand-path-helper": "^2.0.0",
|
||||
"axios": "^1.7.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@cppalliance/antora-cpp-reference-extension": "^0.0.4",
|
||||
"@cppalliance/antora-cpp-reference-extension": "^0.0.5",
|
||||
"@cppalliance/antora-cpp-tagfiles-extension": "^0.0.4",
|
||||
"@cppalliance/antora-playbook-macros-extension": "^0.0.2",
|
||||
"@cppalliance/asciidoctor-boost-links": "^0.0.2",
|
||||
|
||||
Reference in New Issue
Block a user