Skip to content

Commit 10bfa33

Browse files
authored
Merge pull request #265 from circleci/renovate/antora-cli-3.x
chore(deps): update dependency @antora/cli to v3.1.12
2 parents 8441b20 + 1d37029 commit 10bfa33

File tree

6 files changed

+163
-34
lines changed

6 files changed

+163
-34
lines changed

.circleci/config.yml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ executors:
1818

1919
ruby_executor:
2020
docker:
21-
- image: cimg/ruby:3.4
21+
- image: cimg/ruby:3.4.5
2222
working_directory: ~/project
2323

2424
commands:
@@ -59,10 +59,7 @@ jobs:
5959
- "SHA256:Plac654CPBty6yA26H7QMKCqM0yD1XWds7UwNqOYzJU"
6060
- run:
6161
name: Install Node Dependencies
62-
command: |
63-
set -e
64-
echo "[INFO] Installing Node dependencies..."
65-
npm ci
62+
command: npm ci
6663
- run:
6764
name: Build the Documentation Site with Antora
6865
command: |
@@ -82,19 +79,15 @@ jobs:
8279
validate:
8380
executor: ruby_executor
8481
steps:
82+
- checkout
8583
- attach_workspace:
8684
at: .
8785
- run:
88-
name: Install HTML Proofer
89-
command: |
90-
set -e
91-
echo "[INFO] Installing HTML Proofer gem..."
92-
sudo gem install html-proofer
86+
name: Dependencies
87+
command: bundle install
9388
- run:
94-
name: Run HTML Proofer Validation
89+
name: html-proofer
9590
command: |
96-
set -e
97-
echo "[INFO] Validating built site with HTML Proofer..."
9891
# Handle path prefix and ignore search template placeholders
9992
htmlproofer ./build \
10093
--ignore-empty-alt \
@@ -138,29 +131,29 @@ jobs:
138131
message: "Production deployment job failed for branch ${CIRCLE_BRANCH}"
139132

140133
workflows:
141-
lint:
142-
unless:
143-
equal: [main, << pipeline.git.branch >>]
134+
main:
144135
jobs:
145136
- vale/lint:
146137
reference_branch: main
147138
base_dir: docs
148-
build_validate_and_deploy:
149-
jobs:
139+
filters:
140+
branches:
141+
ignore: main
142+
150143
- build:
151144
context: circleci-docs-static
145+
152146
- validate:
153147
requires: [build]
148+
154149
- deploy-production:
155150
requires: [validate]
156151
filters:
157152
branches:
158153
only: main
159154
context:
160-
[
161-
circleci-docs-static,
162-
docs-platform-assets,
163-
web-ui-npm,
164-
web-ui-datadog,
165-
]
155+
- circleci-docs-static
156+
- docs-platform-assets
157+
- web-ui-npm
158+
- web-ui-datadog
166159
bucket_name: "circleci-docs-platform-assets"

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ruby "3.4.5"
2+
3+
source "https://rubygems.org"
4+
5+
gem 'html-proofer'

Gemfile.lock

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
Ascii85 (2.0.1)
5+
addressable (2.8.7)
6+
public_suffix (>= 2.0.2, < 7.0)
7+
afm (0.2.2)
8+
async (2.27.2)
9+
console (~> 1.29)
10+
fiber-annotation
11+
io-event (~> 1.11)
12+
metrics (~> 0.12)
13+
traces (~> 0.15)
14+
bigdecimal (3.2.2)
15+
console (1.33.0)
16+
fiber-annotation
17+
fiber-local (~> 1.1)
18+
json
19+
ethon (0.16.0)
20+
ffi (>= 1.15.0)
21+
ffi (1.17.2-aarch64-linux-gnu)
22+
ffi (1.17.2-aarch64-linux-musl)
23+
ffi (1.17.2-arm-linux-gnu)
24+
ffi (1.17.2-arm-linux-musl)
25+
ffi (1.17.2-arm64-darwin)
26+
ffi (1.17.2-x86_64-darwin)
27+
ffi (1.17.2-x86_64-linux-gnu)
28+
ffi (1.17.2-x86_64-linux-musl)
29+
fiber-annotation (0.2.0)
30+
fiber-local (1.1.0)
31+
fiber-storage
32+
fiber-storage (1.0.1)
33+
hashery (2.1.2)
34+
html-proofer (5.0.10)
35+
addressable (~> 2.3)
36+
async (~> 2.1)
37+
nokogiri (~> 1.13)
38+
pdf-reader (~> 2.11)
39+
rainbow (~> 3.0)
40+
typhoeus (~> 1.3)
41+
yell (~> 2.0)
42+
zeitwerk (~> 2.5)
43+
io-event (1.12.1)
44+
json (2.13.2)
45+
metrics (0.13.0)
46+
nokogiri (1.18.9-aarch64-linux-gnu)
47+
racc (~> 1.4)
48+
nokogiri (1.18.9-aarch64-linux-musl)
49+
racc (~> 1.4)
50+
nokogiri (1.18.9-arm-linux-gnu)
51+
racc (~> 1.4)
52+
nokogiri (1.18.9-arm-linux-musl)
53+
racc (~> 1.4)
54+
nokogiri (1.18.9-arm64-darwin)
55+
racc (~> 1.4)
56+
nokogiri (1.18.9-x86_64-darwin)
57+
racc (~> 1.4)
58+
nokogiri (1.18.9-x86_64-linux-gnu)
59+
racc (~> 1.4)
60+
nokogiri (1.18.9-x86_64-linux-musl)
61+
racc (~> 1.4)
62+
pdf-reader (2.14.1)
63+
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
64+
afm (~> 0.2.1)
65+
hashery (~> 2.0)
66+
ruby-rc4
67+
ttfunk
68+
public_suffix (6.0.2)
69+
racc (1.8.1)
70+
rainbow (3.1.1)
71+
ruby-rc4 (0.1.5)
72+
traces (0.16.2)
73+
ttfunk (1.8.0)
74+
bigdecimal (~> 3.1)
75+
typhoeus (1.4.1)
76+
ethon (>= 0.9.0)
77+
yell (2.2.2)
78+
zeitwerk (2.7.3)
79+
80+
PLATFORMS
81+
aarch64-linux-gnu
82+
aarch64-linux-musl
83+
arm-linux-gnu
84+
arm-linux-musl
85+
arm64-darwin
86+
x86_64-darwin
87+
x86_64-linux-gnu
88+
x86_64-linux-musl
89+
90+
DEPENDENCIES
91+
html-proofer
92+
93+
RUBY VERSION
94+
ruby 3.4.5p51
95+
96+
BUNDLED WITH
97+
2.6.9

extensions/export-content-extension.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@ function getNavEntriesByUrl(items = [], accum = {}, trail = []) {
101101
}
102102

103103
function shouldSkipIndexing() {
104+
if (process.env.CI === 'true') {
105+
return process.env.CIRCLE_BRANCH === 'main';
106+
}
107+
104108
const val = (process.env.SKIP_INDEX_SEARCH || '').toLowerCase();
105-
const ci = (process.env.CI || '').toLowerCase();
106-
if (ci === 'true' || ci === '1') return false;
107109
return ['1', 'true'].includes(val);
108110
}
109111

@@ -277,4 +279,4 @@ async function waitForTask(client, indexName, taskID, timeout = 60000, pollInter
277279
}
278280

279281
throw new Error(`Task ${taskID} timed out after ${timeout}ms`);
280-
}
282+
}

package-lock.json

Lines changed: 38 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"license": "",
1919
"type": "commonjs",
2020
"devDependencies": {
21-
"@antora/cli": "3.1.10",
21+
"@antora/cli": "3.1.12",
2222
"@antora/site-generator": "3.1.10",
2323
"@dotenvx/dotenvx": "^1.40.0",
2424
"@redocly/cli": "^1.0.0",

0 commit comments

Comments
 (0)