Skip to content

Commit

Permalink
[CI] Patch search page HTML until Hugo is fixed, FA upgrade (#2135)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Nov 23, 2024
1 parent fed2d28 commit dd72a27
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion assets/scss/shortcodes/tabbed-pane.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
border: none;
max-width: 100%;
}
margin-top: 0rem;
margin-top: 0;
margin-bottom: 1.5rem;
border-left: $nav-tabs-border-width solid $nav-tabs-border-color;
border-right: $nav-tabs-border-width solid $nav-tabs-border-color;
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.12
// AUTO-GENERATED using `npm run get:hugo-modules`

require (
github.com/FortAwesome/Font-Awesome v0.0.0-20241118213846-a03a91d68184 // indirect
github.com/FortAwesome/Font-Awesome v0.0.0-20241120164804-3447c58c6b3f // indirect
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20241118213846-a03a91d68184 h1:KVzLFRNE1Zfzx+cERAChVqALvzqnp0i4apZDe9DFauQ=
github.com/FortAwesome/Font-Awesome v0.0.0-20241118213846-a03a91d68184/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/FortAwesome/Font-Awesome v0.0.0-20241120164804-3447c58c6b3f h1:3/aWi2Aq8yQsulhJo1lS3NJ3ytCyXNHorms/GoZHn78=
github.com/FortAwesome/Font-Awesome v0.0.0-20241120164804-3447c58c6b3f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"update:pkgs": "npx npm-check-updates -u && npm run cd:docs update:pkgs"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.7.0",
"@fortawesome/fontawesome-free": "6.7.1",
"bootstrap": "5.3.3"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"hugo-extended": "0.139.0",
"prettier": "^3.3.3",
"hugo-extended": "^0.139.0",
"netlify-cli": "^17.37.2",
"npm-check-updates": "^17.1.11"
"npm-check-updates": "^17.1.11",
"prettier": "^3.3.3"
},
"engines": {
"node": ">=22"
Expand Down
2 changes: 2 additions & 0 deletions userguide/.htmltest.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# cSpell:ignore github regexs
CacheExpires: 9000h # ~ 12 months
DirectoryPath: public
CheckDoctype: false # Sadly, this is false only because of `static/google*.html`
IgnoreAltMissing: true # FIXME
Expand Down
7 changes: 4 additions & 3 deletions userguide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"_check:links": "make --keep-going check-links",
"_hugo-dev": "npm run _hugo -- -e dev -DFE",
"_hugo": "hugo --cleanDestinationDir --themesDir ../..",
"_hugo-0_139_0_gcse-patch": "perl -i -pe 's/gcse :/gcse:/' public/search/index.html",
"_serve": "npm run _hugo-dev -- serve --minify --disableFastRender --renderToMemory",
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"",
"build:production": "npm run _hugo -- --minify",
Expand All @@ -17,8 +18,8 @@
"clean": "rm -Rf public",
"fix:format": "npm run _check:format -- --write",
"make:public": "git init -b main public",
"postbuild:preview": "npm run _check:links--warn",
"postbuild:production": "npm run _check:links--warn",
"postbuild:preview": "npm run _hugo-0_139_0_gcse-patch",
"postbuild:production": "npm run _hugo-0_139_0_gcse-patch",
"precheck:links:all": "npm run build",
"precheck:links": "npm run build",
"prepare": "cd .. && npm install",
Expand All @@ -32,5 +33,5 @@
"postcss-cli": "^11.0.0",
"rtlcss": "^4.3.0"
},
"cSpell:ignore": "- docsy htmltest pkgs postbuild precheck rtlcss -"
"cSpell:ignore": "- docsy gcse htmltest pkgs postbuild precheck rtlcss -"
}

0 comments on commit dd72a27

Please sign in to comment.