Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
f092d86
docs: spec for redesign foundation (tokens and typography)
ammachado Sep 3, 2026
c6b2dc0
docs: stack piece 6 on piece 1 in the foundation spec
ammachado Sep 3, 2026
c670bc6
docs: implementation plan for redesign foundation (piece 1)
ammachado Sep 3, 2026
4dd7328
docs: apply pre-flight rulings to the foundation plan
ammachado Sep 3, 2026
c985604
build(ui): add Archivo and JetBrains Mono webfonts
ammachado Sep 3, 2026
b8b0057
style(ui): switch monospace to JetBrains Mono, add Archivo display fa…
ammachado Sep 3, 2026
771b73a
style(ui): declare the redesign color palette
ammachado Sep 3, 2026
f32550a
style(ui): set marketing containers to 1200px, keep docs at 1366px
ammachado Sep 3, 2026
1184fd7
style(ui): repaint the site onto the redesign palette
ammachado Sep 3, 2026
fd29e8f
style(ui): fix ink-on-ink code blocks in Hugo pre>code content
ammachado Sep 3, 2026
210df54
style(ui): repair surfaces broken by the palette repaint
ammachado Sep 3, 2026
7d5f389
style(ui): drop ASF blue from the download badge and restore table st…
ammachado Sep 3, 2026
f406621
style(ui): repaint link underlines and fix quote attribution contrast
ammachado Sep 3, 2026
f0cf2ab
docs: record open items after piece 1 implementation
ammachado Sep 3, 2026
0345830
chore: regen antora-ui bundle for the redesign foundation
ammachado Sep 3, 2026
bf2baa3
docs: update open items after a clean Hugo build
ammachado Sep 3, 2026
1eb34c3
style(ui): darken link colors to clear WCAG AA
ammachado Sep 3, 2026
f7d3e58
style(ui): theme syntax highlighting for the dark code ground
ammachado Sep 3, 2026
024aec8
chore: regen antora-ui bundle for links and syntax highlighting
ammachado Sep 3, 2026
2fbe6f4
docs: design for shared chrome (piece 2)
ammachado Sep 3, 2026
6e5c49f
docs: implementation plan for shared chrome (piece 2)
ammachado Sep 3, 2026
d9e98af
feat(chrome): single source the footer content
ammachado Sep 3, 2026
13b1298
feat(chrome): render both footers from the shared data
ammachado Sep 3, 2026
b4d0204
fix(chrome): preserve the handlebars data frame in withChromeData
ammachado Sep 3, 2026
52bf925
style(chrome): paint the five column footer on ink
ammachado Sep 3, 2026
199d11e
fix(chrome): stop --footer-height forcing an empty mobile ink band
ammachado Sep 3, 2026
af1f20d
feat(chrome): rebuild the header markup in both template systems
ammachado Sep 3, 2026
9f54ac2
docs: reconcile the shared chrome spec with the design artboards
ammachado Sep 3, 2026
b8e0552
style(chrome): reconcile the footer with the design artboard
ammachado Sep 3, 2026
782b44f
docs: record Task 4R, the footer artboard reconciliation
ammachado Sep 3, 2026
2ef711a
fix(chrome): stop the footer legal rule double-counting the grid row-gap
ammachado Sep 3, 2026
9dec589
style(chrome): repaint the header as a 66px paper bar
ammachado Sep 3, 2026
c7386b8
fix(chrome): make the header actions cluster fit on phone widths
ammachado Sep 3, 2026
3577e50
fix(chrome): fix search panel positioning, burger centering, and a11y…
ammachado Sep 4, 2026
481a107
style(chrome): square off the button radius and drop dead selectors
ammachado Sep 4, 2026
2f0c422
fix(chrome): move the navbar-cta font-size pin to header.css
ammachado Sep 4, 2026
97963c2
chore: regen antora-ui bundle for the shared chrome
ammachado Sep 4, 2026
29f4901
docs: record open items after piece 2 implementation
ammachado Sep 4, 2026
19a6f5b
fix(chrome): single-source header menu ordering and fix inert declara…
ammachado Sep 4, 2026
61fdb55
docs: correct record errors found in the final review
ammachado Sep 4, 2026
27de612
chore: regen antora-ui bundle for the final fix wave
ammachado Sep 4, 2026
bf4c103
docs: spec the Antora docs UI redesign
ammachado Sep 4, 2026
b9dbb7d
docs: plan the Antora docs UI redesign
ammachado Sep 4, 2026
3f4c6c8
test: add a local Antora build harness for UI work
ammachado Sep 4, 2026
ff0e96a
docs: fix six defects found in the piece 3 plan pre-flight scan
ammachado Sep 4, 2026
03d33ed
style(docs): retarget tokens for the docs UI redesign
ammachado Sep 4, 2026
0137c8b
feat(docs): move site search into the documentation nav panel
ammachado Sep 4, 2026
3cda832
docs: correct the stylelint constraint in the piece 3 plan
ammachado Sep 4, 2026
8fe739f
style(docs): repaint the documentation nav panel
ammachado Sep 4, 2026
6e02b69
fix(docs): keep the current-page pill on hover, recolor the caret
ammachado Sep 4, 2026
ca4ba92
docs: carve out non-layout pixel values in the piece 3 plan
ammachado Sep 4, 2026
4c9a947
style(docs): repaint the documentation toolbar
ammachado Sep 4, 2026
20cb47a
style(docs): grid the article column and repaint the TOC
ammachado Sep 4, 2026
249472a
style(docs): mutually exclude TOC hover and active states
ammachado Sep 4, 2026
70f3347
docs: fix an impossible width expectation in the piece 3 plan
ammachado Sep 4, 2026
0b3a235
docs: drop the flex eyebrow approach from Task 7
ammachado Sep 4, 2026
1f0e58a
style(docs): repaint article typography, code blocks and lists
ammachado Sep 4, 2026
c927b12
style(docs): card tables and admonitions
ammachado Sep 4, 2026
26483ba
fix(docs): top-align the admonition chip pill
ammachado Sep 4, 2026
e01c6ae
docs: add the orphaned-token cleanup to Task 9
ammachado Sep 4, 2026
dab4fe6
style(docs): repaint pagination and put code tabs on dark
ammachado Sep 4, 2026
baa2bb7
chore(docs): drop tokens orphaned by the docs UI repaint
ammachado Sep 4, 2026
f92fc2f
docs: widen the pixel exemption to 2px rule and indicator widths
ammachado Sep 4, 2026
b2dd3da
chore: regen antora-ui bundle for the docs UI redesign
ammachado Sep 4, 2026
a07e940
docs: record corrections and open items for the docs UI redesign
ammachado Sep 4, 2026
aadff04
fix(nav): restore search-cancel, results z-index, and scroll behavior
ammachado Sep 4, 2026
d48cfc0
fix(nav): drop dead margin-top rule causing a 62px mobile drawer gap
ammachado Sep 4, 2026
acff400
fix(doc): stop callout lists getting a stray card, restore nested adm…
ammachado Sep 4, 2026
037da29
fix(main,sitemap): make the docs grid single-column by default
ammachado Sep 4, 2026
a1cfd6b
chore(vars): drop four more tokens orphaned by the docs UI repaint
ammachado Sep 4, 2026
7b74c1f
fix(tests): harden the antora-ui fixture build script
ammachado Sep 4, 2026
c1dbcd0
chore: regen antora-ui bundle for the final review fix wave
ammachado Sep 4, 2026
f781f0d
docs: spec the home page redesign (piece 4a)
ammachado Sep 4, 2026
4850dc5
docs: plan the home page redesign (piece 4a)
ammachado Sep 4, 2026
0d6351a
test(hugo): add a build and screenshot harness
ammachado Sep 4, 2026
6f5e02d
fix(hugo-harness): detect a squatted port instead of measuring stale …
ammachado Sep 4, 2026
619fb84
feat(projects): add the All Camel Projects page
ammachado Sep 4, 2026
628f8ce
fix(tests): sync the antora-ui bundle into documentation/_ before Hug…
ammachado Sep 4, 2026
e15463b
feat(home): move the front page onto data and rebuild the hero
ammachado Sep 4, 2026
65bc1c5
feat(home): add the stat strip
ammachado Sep 4, 2026
3ea2984
fix(home): clear .footer-tools on .home, not the stat strip
ammachado Sep 4, 2026
1be2ac7
feat(home): add the three get-started cards
ammachado Sep 4, 2026
609fc9f
fix(home): raise get-started badge contrast to 5.58:1
ammachado Sep 4, 2026
4b4db6b
feat(home): add the six feature cards
ammachado Sep 4, 2026
4ad48e9
feat(home): add the DSL code example
ammachado Sep 4, 2026
ada8580
feat(home): drive the DSL tabs and the hero copy button
ammachado Sep 4, 2026
117b43f
test(hugo): add a click step to the measurement harness
ammachado Sep 4, 2026
e5b2986
feat(home): add the four core project tiles
ammachado Sep 4, 2026
91fb494
fix(home): give each project tile link a distinct accessible name
ammachado Sep 4, 2026
64ffb07
feat(home): add the closing community band
ammachado Sep 4, 2026
77a9c27
style(header): restyle the search field and shorten the Docs label
ammachado Sep 4, 2026
9203c48
style(home): collapse the grids at 1024px and 626px
ammachado Sep 4, 2026
e44f370
fix(home,projects): drop the hero art reorder, link the primary cards…
ammachado Sep 4, 2026
009522f
fix(home): keep the stacked hero image under the banner ratio
ammachado Sep 4, 2026
4fecff1
feat(css): add the shared primitives for the remaining redesign pages
ammachado Sep 4, 2026
2cdd874
feat(download): redesign download page with flat release rows
ammachado Sep 4, 2026
6c06e4e
feat(docs,community): redesign the documentation index and community …
ammachado Sep 4, 2026
bb0d5ea
feat(tooling): redesign the Tooling screen with data-driven groups
ammachado Sep 4, 2026
a9e895e
feat(blog): redesign blog list, category and post screens
ammachado Sep 4, 2026
1e5004d
feat(releases): redesign releases archive and security advisory screens
ammachado Sep 4, 2026
10fb96d
fix(download,security): apply blocking review findings for tables group
ammachado Sep 4, 2026
362a346
fix(a11y): add aria-label to Community card "Read more" links
ammachado Sep 4, 2026
31ebcf7
fix(tooling): scope safeHTML to fields that actually carry markup
ammachado Sep 4, 2026
b865444
fix(blog): restore paragraph spacing and fix orange contrast on hover
ammachado Sep 4, 2026
86e333f
fix(releases): address blocking review findings on advisory screen
ammachado Sep 4, 2026
7eb4a50
chore(antora-ui): regenerate the bundle for the remaining redesign pages
ammachado Sep 4, 2026
862413d
fix(blog): use phrasing content for post date/month inside <time>
ammachado Sep 5, 2026
4e114c5
fix(download): restore relURL on the release-notes link
ammachado Sep 5, 2026
4b87199
fix(releases): name the projects rail nav for a11y
ammachado Sep 5, 2026
2148993
fix(download,security): style markdownify links instead of UA blue
ammachado Sep 5, 2026
c7e8c56
fix(download): stop the note column starving to 57px
ammachado Sep 5, 2026
389121f
fix(security): wrap the single-paragraph SBOM body in <p>
ammachado Sep 5, 2026
07121cb
fix(community): stop skipping a heading level (h1 -> h3)
ammachado Sep 5, 2026
7017e83
fix(css): unify the mobile h1 step-down on .page-hero-title
ammachado Sep 5, 2026
674fcb9
fix(css): consume --page-padding-x instead of hardcoding its value
ammachado Sep 5, 2026
f75dea3
chore(antora-ui): regenerate the bundle after the final review fixes
ammachado Sep 5, 2026
a6e2b28
style(static-pages): add container padding and prose-measure to .stat…
ammachado Sep 5, 2026
2bc9756
content(static-pages): use table shortcode and normalize connector count
ammachado Sep 5, 2026
e956477
fix(misc,docs): scope the misc flex rule and finish the connector count
ammachado Sep 5, 2026
b6a14d7
chore(antora-ui): regenerate the bundle for the static-page pass
ammachado Sep 5, 2026
5476e8a
content: standardize the connector count on 350+
ammachado Sep 5, 2026
fd5dc39
fix(css): consolidate duplicated eyebrow/shell/hover/rail declaration…
ammachado Sep 5, 2026
a708097
fix(css): drop the orphan --color-on-dark-dim token (L3)
ammachado Sep 5, 2026
aa1521d
fix(releases): move the mobile jump-nav rail above the content (M1)
ammachado Sep 5, 2026
b4a1667
fix(security): render severity chip casing consistently with the advi…
ammachado Sep 5, 2026
dd3b8ac
test(hugo): add an optional width to the measure harness
ammachado Sep 5, 2026
3a45b0d
fix(download): wrap the CLI install command and finish deferred table…
ammachado Sep 5, 2026
fbc71d3
fix(tooling): finish three deferred CLI/TUI review minors
ammachado Sep 5, 2026
888a9b4
fix(blog): reset h2 padding-top, restore list spacing, label repeat l…
ammachado Sep 5, 2026
740a1d2
docs(release): disclose the first-category 40px margin-top
ammachado Sep 5, 2026
80c58b4
chore(antora-ui): regenerate the bundle for the 4d assorted fix wave
ammachado Sep 5, 2026
526cc8c
fix(home): restore the #apache-camel-projects compatibility anchor
ammachado Sep 5, 2026
cc2ad99
fix(blog): pin the csimple docs link to 4.22.x
ammachado Sep 5, 2026
d6b6472
fix(blog): render posts as a fragment and repair the TOC, date, summa…
ammachado Sep 5, 2026
03c9c85
fix(redirects): drop the /projects/ 301 that shadowed the new project…
ammachado Sep 5, 2026
ab81343
fix(antora-ui): contrast, focus rings, header clear icon and download…
ammachado Sep 5, 2026
ec75d26
fix(antora-ui): fragment jumper, "/" hotkey and clipboard fallbacks
ammachado Sep 5, 2026
8adaf9e
fix(pages): restore dropped links, point Edit this Page at data files…
ammachado Sep 5, 2026
062ee4d
chore(tests): clean up the Hugo harness output and fix its staleness …
ammachado Sep 5, 2026
284110a
docs(specs): record the review corrections and fix stale statements
ammachado Sep 5, 2026
ab09e7f
chore(antora-ui): regenerate the bundle for the review fix wave
ammachado Sep 5, 2026
1cd8549
fix(content): make the Hugo pages pass html-validate
ammachado Sep 5, 2026
624314b
fix(content): correct the tooling commands and refresh the project ac…
ammachado Sep 5, 2026
d299faf
fix(pages): drop the unsourced deployments claim and rehome the lost …
ammachado Sep 5, 2026
21aacb0
fix(antora-ui): paint the primary CTA label in ink on the brand orange
ammachado Sep 5, 2026
ef6c8b3
chore(antora-ui): delete unreferenced images and orphaned tokens
ammachado Sep 5, 2026
f50e1b3
chore(antora-ui): regenerate the bundle for the CTA and cleanup changes
ammachado Sep 5, 2026
0511450
refactor(releases): drop the unreachable download-page branches from …
ammachado Sep 5, 2026
f373ba3
feat(chrome): adopt the DocSearch v5 launcher from main in both headers
ammachado Sep 5, 2026
90d368a
fix: address the Copilot review on #1740
ammachado Sep 5, 2026
35b291f
chore: allowlist the public DocSearch key for secret scanners
ammachado Sep 5, 2026
bd45af7
chore(antora-ui): regenerate the bundle with the gulp 5 pipeline
ammachado Sep 5, 2026
0c081f1
fix(ci): list changed PR files via the API in detect-drafts
ammachado Sep 5, 2026
2389053
fix(blog): drop the conflict artifact from the Camel 3.7 post
ammachado Sep 5, 2026
44f3890
fix(docs): add the link-checker stub for /components/latest/dataformats/
ammachado Sep 5, 2026
578eff9
build: make check:links work on macOS and Windows
ammachado Sep 5, 2026
3307bc6
build: log Antora phase timings and tidy the local build scripts
ammachado Sep 5, 2026
1c70dcb
ci: cache Antora content repositories between runs
ammachado Sep 5, 2026
e30c1c9
build: say when minify is skipped outside production
ammachado Sep 5, 2026
9f159cf
ci: move the Antora cache step to actions/cache@v6
ammachado Sep 5, 2026
fd2afab
ci: move Upload artifacts to actions/upload-artifact@v7
ammachado Sep 6, 2026
a6f2179
fix(ui): stop using bright orange as a text colour
ammachado Sep 6, 2026
5ad191b
feat(home): make the projects section an ecosystem overview
ammachado Sep 6, 2026
98caf00
style(home): lighten the hero art and band alternate sections
ammachado Sep 6, 2026
751d913
fix(ui): declare the Open Sans regular face
ammachado Sep 6, 2026
de6ebea
feat(home): highlight the route example
ammachado Sep 6, 2026
5e54297
feat(home): bring back a latest-posts section
ammachado Sep 6, 2026
3a5fbd8
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
b0d6f4d
perf(ci): shard check:html and stop it truncating its own report
ammachado Sep 6, 2026
b84f737
fix(preview): cache static assets on Netlify previews
ammachado Sep 6, 2026
0990b7f
fix(home): restore code punctuation and pad the blog cards
ammachado Sep 6, 2026
137a6d3
feat(home): show the example earlier and tighten the news section
ammachado Sep 6, 2026
3ceeb35
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
b4be6d5
ci: report progress while check:html runs
ammachado Sep 6, 2026
3917356
feat(home): copy button on the route example, real release summary
ammachado Sep 6, 2026
c708b0e
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
da3a319
fix(home): colour the adoption link, stop the 320px overflow
ammachado Sep 6, 2026
550c1a4
fix(a11y): make the footer sections and mobile menu keyboard operable
ammachado Sep 6, 2026
8a7c75a
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
4583e9c
fix(home): stop the copy button covering the first line of code
ammachado Sep 6, 2026
9b01a05
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
16fd48c
fix(a11y): keep the footer toggle glyph out of its accessible name
ammachado Sep 6, 2026
daf0cda
fix(a11y): make the footer columns a real disclosure
ammachado Sep 6, 2026
7972b48
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
7088c3f
fix(a11y): put the footer tools inside the contentinfo landmark
ammachado Sep 6, 2026
50a3d37
chore(chrome): drop the unused footer column ids
ammachado Sep 6, 2026
8ced948
chore(antora-ui): regenerate the bundle
ammachado Sep 6, 2026
38fc60f
fix(home): name the unit on the DSL count badge
ammachado Sep 6, 2026
21fc012
fix(home): lead with Camel CLI in the get-started order
ammachado Sep 7, 2026
137f673
fix(home): surface the CLI install command on the get-started card
ammachado Sep 7, 2026
1294371
fix(antora-ui): widen the doc content grid to reduce TOC crowding
ammachado Sep 8, 2026
9cceed7
refactor(antora-ui): organize CSS imports into cascade layers
ammachado Sep 9, 2026
9404a1c
style(antora-ui): add teal accent to break the monochromatic warmth
ammachado Sep 9, 2026
864a21b
feat(home): add Cloud Native badge to Quarkus and widen card layout
ammachado Sep 10, 2026
4eed7b5
revert(home): undo the widened layout and wrapped curl command
ammachado Sep 11, 2026
057797f
feat(home): show the three get-started paths as a carousel
ammachado Sep 11, 2026
6a73f28
feat(home): show a runnable Spring Boot snippet and unwrap Quarkus
ammachado Sep 11, 2026
cf0583e
fix(antora-ui): address PR review feedback on tables, layout, nav, an…
ammachado Sep 11, 2026
4411e94
fix(antora-ui): add smart line breaks and min-width to table NAME column
ammachado Sep 11, 2026
77628ca
feat(home): set the hero on a dark band with the get-started tiles ov…
ammachado Sep 12, 2026
b5fd511
fix(antora-ui): break long tokens in every option-table column
ammachado Sep 12, 2026
92dd2b8
fix(antora-ui): leave identifiers inside table prose unbroken
ammachado Sep 12, 2026
2514569
fix(antora-ui): still break long tokens inside table prose
ammachado Sep 12, 2026
56c7e72
fix(antora-ui): underline doc links with text-decoration
ammachado Sep 12, 2026
a672b9e
feat(ui): dark header on every page
ammachado Sep 12, 2026
a866fc2
fix(ui): give the search launcher a visible focus ring
ammachado Sep 12, 2026
c63e64a
fix(ui): keep the burger on screen at every phone width
ammachado Sep 12, 2026
1de2acb
fix(antora-ui): stop hyphenating identifiers and short words in docs
ammachado Sep 12, 2026
8303941
fix(ui): hide every release post from the blog list
ammachado Sep 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
- name: Check if PR only changes draft blog posts
id: check
run: |
CHANGED=$(gh pr diff ${{ github.event.pull_request.number }} --name-only)
CHANGED=$(gh api --paginate \
"repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" \
--jq '.[].filename')
DRAFTS_ONLY=true
for file in $CHANGED; do
case "$file" in
Expand Down Expand Up @@ -88,9 +90,21 @@ jobs:
run: yarn workspaces foreach --all install
- name: Check cache
run: yarn check:dependencies
# Antora spends most of the build cloning content repositories: a green
# run measured 426s of 606s in contentAggregated, against 165s of actual
# conversion. Restoring the clones turns those into incremental fetches.
# The key is deliberately stable, so the cache is written once per
# playbook revision rather than on every run, which would churn the
# repository's shared 10 GB cache budget.
- name: Cache Antora content
uses: actions/cache@v6
with:
path: ${{ github.workspace }}/.antora-cache
key: antora-content-v1-${{ hashFiles('antora-playbook-snippets/antora-playbook.yml') }}
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTORA_CACHE_DIR: ${{ github.workspace }}/.antora-cache
run: yarn build-all
- name: Run checks
run: yarn checks
Expand All @@ -99,7 +113,7 @@ jobs:
mkdir pull_request
echo ${{ github.event.pull_request.number }} > ./pull_request/number
- name: Upload artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: website
path: |
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ resources
antora-playbook-*.yml

#temporary
local-antora-playbook-*
antora-playbook.yml
/.hugo_build.lock
/tests/antora-ui/out

.playwright-cli/
skills-lock.json
build/unused-media.txt

# CI relocates ANTORA_CACHE_DIR here so it can be cached between runs
/.antora-cache
13 changes: 13 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Secret-scanner allowlist (gitleaks v8 format; also read by leaktk).
#
# The DocSearch widget needs Algolia's search-only API key in the browser, so
# antora-ui-camel/src/js/08-docsearch.js embeds it and the built bundle under
# antora-ui-camel/public/_/js/ carries it minified. It is a public, read-only
# key by design, not a credential; scanners flag the bundle as a "Generic
# Secret" every time the hashed filename changes.

[[allowlists]]
description = "Algolia DocSearch search-only API key for the apache_camel index"
condition = "AND"
paths = ['''^antora-ui-camel/(src/js/08-docsearch\.js|public/_/js/site-[0-9a-f]+\.js)$''']
regexes = ['''1b7e52df4759e32dd49adedb286997f6''']
4 changes: 2 additions & 2 deletions antora-local-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ antora-playbook-snippets/assemble-playbook.sh antora-playbook-local-quick.yml ..

if [ "$2" = "full" ]
then
yarn build:antora-local-full2
yarn build:antora-local-full
elif [ "$2" = "quick" ]
then
yarn build:antora-local-quick
else
yarn build:antora-local-partial2
yarn build:antora-local-partial
fi
5 changes: 5 additions & 0 deletions antora-playbook-snippets/antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ runtime:

antora:
extensions:
# First, so it times the phases that follow. Antora suppresses its own
# progress output whenever stdout is not a TTY, which is always the case
# under `yarn build-all` and on CI.
- ./extensions/build-progress.js

- ./extensions/promote-deprecated-attribute.js

# Registers the [asciinema] block and injects the player assets plus the asciinema-styles,
Expand Down
3 changes: 2 additions & 1 deletion antora-ui-camel/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const glob = {
test: 'test/**/*-test.js',
formatcss: [
`${srcDir}/css/**/*.css`,
`!${srcDir}/css/**/typeface-droid-sans-mono.css`,
`!${srcDir}/css/**/typeface-archivo.css`,
`!${srcDir}/css/**/typeface-jetbrains-mono.css`,
`!${srcDir}/css/**/typeface-open-sans.css`,
],
js: ['gulpfile.js', 'gulp.d/**/*.js', `${srcDir}/{helpers,js}/**/*.js`],
Expand Down
7 changes: 5 additions & 2 deletions antora-ui-camel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"node": ">= 22.12.0"
},
"browserslist": [
"last 2 versions"
"last 2 versions",
"safari >= 16.4",
"ios_saf >= 16.4"
],
"scripts": {
"build": "gulp bundle",
Expand All @@ -23,6 +25,8 @@
"devDependencies": {
"@asciidoctor/core": "^3.0.2",
"@asciidoctor/tabs": "1.0.0-beta.3",
"@fontsource/archivo": "^5.3.0",
"@fontsource/jetbrains-mono": "^5.3.0",
"@openfonts/open-sans_latin-ext": "^1.44.0",
"@ronilaukkarinen/gulp-stylelint": "^14.1.2",
"@vscode/gulp-vinyl-zip": "^2.5.0",
Expand Down Expand Up @@ -67,7 +71,6 @@
"stylelint-config-standard": "^34.0.0",
"svg4everybody": "^2.1.9",
"toml": "^4.2.0",
"typeface-droid-sans-mono": "^0.0.44",
"undertaker": "^2.0.0",
"vinyl-buffer": "~1.0",
"vinyl-fs": "^4.0.2"
Expand Down
5 changes: 0 additions & 5 deletions antora-ui-camel/public/_/css/site-74543f5b13.css

This file was deleted.

23 changes: 23 additions & 0 deletions antora-ui-camel/public/_/css/site-fa37b1d407.css

Large diffs are not rendered by default.

17 changes: 3 additions & 14 deletions antora-ui-camel/public/_/data/rev-manifest.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,28 @@
{
"css/site.css": "css/site-74543f5b13.css",
"css/site.css": "css/site-fa37b1d407.css",
"css/vendor/docsearch.css": "css/vendor/docsearch-7619faa207.css",
"img/algolia.svg": "img/algolia-f4ab98e0de.svg",
"img/apache-kafka.svg": "img/apache-kafka-88809b7472.svg",
"img/apache-karaf.svg": "img/apache-karaf-7bdb5ce2e3.svg",
"img/articles.svg": "img/articles-88ac404d18.svg",
"img/asf_logo_wide.svg": "img/asf_logo_wide-3982e7e19b.svg",
"img/back.svg": "img/back-e8d811f74c.svg",
"img/blog.svg": "img/blog-4c7fa4cb60.svg",
"img/books.svg": "img/books-77a59b07e1.svg",
"img/brand-logos.svg": "img/brand-logos-a2b35bbdec.svg",
"img/bugfix.svg": "img/bugfix-4280bf9490.svg",
"img/calendar.svg": "img/calendar-b4b3ab1bf7.svg",
"img/caret.svg": "img/caret-d6dacc711e.svg",
"img/caret.svg": "img/caret-8823676a4b.svg",
"img/chevron.svg": "img/chevron-63cb534773.svg",
"img/cli.svg": "img/cli-9cede0128a.svg",
"img/close.svg": "img/close-af0b99e31b.svg",
"img/community.svg": "img/community-2ec8a3dc8b.svg",
"img/contributing.svg": "img/contributing-107909992d.svg",
"img/copy-checkmark.svg": "img/copy-checkmark-9a4caf1664.svg",
"img/copy.svg": "img/copy-d7c1e3194d.svg",
"img/docs.svg": "img/docs-7d0adf1156.svg",
"img/documentation.svg": "img/documentation-abb1b7f8b1.svg",
"img/download.svg": "img/download-63cdd75074.svg",
"img/examples.svg": "img/examples-07d01f2bc0.svg",
"img/github.svg": "img/github-0cae1e39c4.svg",
"img/home-o.svg": "img/home-o-97a33fc02f.svg",
"img/home.svg": "img/home-934e2b15ea.svg",
"img/jbang.svg": "img/jbang-e88e00f7fa.svg",
"img/karavan.svg": "img/karavan-8621354711.svg",
"img/knative.svg": "img/knative-5010ee4773.svg",
"img/kubernetes.svg": "img/kubernetes-07ba46aaa2.svg",
"img/logo-camel-medium.png": "img/logo-camel-medium-372cf8688f.png",
"img/logo-d.svg": "img/logo-d-a567cee6fa.svg",
"img/menu.svg": "img/menu-8775cec4be.svg",
"img/quarkus.svg": "img/quarkus-446ffca541.svg",
Expand All @@ -40,11 +31,9 @@
"img/security.svg": "img/security-06abe157b3.svg",
"img/sparkle.svg": "img/sparkle-da54b1f43c.svg",
"img/spring-boot.svg": "img/spring-boot-0a7cb95564.svg",
"img/support.svg": "img/support-7219bb2f58.svg",
"img/team.svg": "img/team-899f1050c2.svg",
"img/tooling.svg": "img/tooling-f5e235c238.svg",
"img/user-stories.svg": "img/user-stories-cccc5f7c8f.svg",
"js/site.js": "js/site-72c5696123.js",
"js/site.js": "js/site-2261680ded.js",
"js/vendor/docsearch.js": "js/vendor/docsearch-f8ce9408ec.js",
"js/vendor/highlight.js": "js/vendor/highlight-de2def4bea.js",
"js/vendor/svg4everybody.js": "js/vendor/svg4everybody-a0c573f2b9.js",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 3 additions & 14 deletions antora-ui-camel/public/_/helpers/asset.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
'use strict'

const manifest = {
"css/site.css": "css/site-74543f5b13.css",
"css/site.css": "css/site-fa37b1d407.css",
"css/vendor/docsearch.css": "css/vendor/docsearch-7619faa207.css",
"img/algolia.svg": "img/algolia-f4ab98e0de.svg",
"img/apache-kafka.svg": "img/apache-kafka-88809b7472.svg",
"img/apache-karaf.svg": "img/apache-karaf-7bdb5ce2e3.svg",
"img/articles.svg": "img/articles-88ac404d18.svg",
"img/asf_logo_wide.svg": "img/asf_logo_wide-3982e7e19b.svg",
"img/back.svg": "img/back-e8d811f74c.svg",
"img/blog.svg": "img/blog-4c7fa4cb60.svg",
"img/books.svg": "img/books-77a59b07e1.svg",
"img/brand-logos.svg": "img/brand-logos-a2b35bbdec.svg",
"img/bugfix.svg": "img/bugfix-4280bf9490.svg",
"img/calendar.svg": "img/calendar-b4b3ab1bf7.svg",
"img/caret.svg": "img/caret-d6dacc711e.svg",
"img/caret.svg": "img/caret-8823676a4b.svg",
"img/chevron.svg": "img/chevron-63cb534773.svg",
"img/cli.svg": "img/cli-9cede0128a.svg",
"img/close.svg": "img/close-af0b99e31b.svg",
"img/community.svg": "img/community-2ec8a3dc8b.svg",
"img/contributing.svg": "img/contributing-107909992d.svg",
"img/copy-checkmark.svg": "img/copy-checkmark-9a4caf1664.svg",
"img/copy.svg": "img/copy-d7c1e3194d.svg",
"img/docs.svg": "img/docs-7d0adf1156.svg",
"img/documentation.svg": "img/documentation-abb1b7f8b1.svg",
"img/download.svg": "img/download-63cdd75074.svg",
"img/examples.svg": "img/examples-07d01f2bc0.svg",
"img/github.svg": "img/github-0cae1e39c4.svg",
"img/home-o.svg": "img/home-o-97a33fc02f.svg",
"img/home.svg": "img/home-934e2b15ea.svg",
"img/jbang.svg": "img/jbang-e88e00f7fa.svg",
"img/karavan.svg": "img/karavan-8621354711.svg",
"img/knative.svg": "img/knative-5010ee4773.svg",
"img/kubernetes.svg": "img/kubernetes-07ba46aaa2.svg",
"img/logo-camel-medium.png": "img/logo-camel-medium-372cf8688f.png",
"img/logo-d.svg": "img/logo-d-a567cee6fa.svg",
"img/menu.svg": "img/menu-8775cec4be.svg",
"img/quarkus.svg": "img/quarkus-446ffca541.svg",
Expand All @@ -42,11 +33,9 @@ const manifest = {
"img/security.svg": "img/security-06abe157b3.svg",
"img/sparkle.svg": "img/sparkle-da54b1f43c.svg",
"img/spring-boot.svg": "img/spring-boot-0a7cb95564.svg",
"img/support.svg": "img/support-7219bb2f58.svg",
"img/team.svg": "img/team-899f1050c2.svg",
"img/tooling.svg": "img/tooling-f5e235c238.svg",
"img/user-stories.svg": "img/user-stories-cccc5f7c8f.svg",
"js/site.js": "js/site-72c5696123.js",
"js/site.js": "js/site-2261680ded.js",
"js/vendor/docsearch.js": "js/vendor/docsearch-f8ce9408ec.js",
"js/vendor/highlight.js": "js/vendor/highlight-de2def4bea.js",
"js/vendor/svg4everybody.js": "js/vendor/svg4everybody-a0c573f2b9.js",
Expand Down
51 changes: 51 additions & 0 deletions antora-ui-camel/public/_/helpers/withChromeData.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
'use strict'

const fs = require('fs')
const path = require('path')
const yaml = require('js-yaml')

const absolute = /^(?:https?:)?\/\//

// Antora evaluates UI helpers in its own process, so this runs against the
// cwd of the Antora (or `gulp preview`) run: the repository root, or
// antora-ui-camel for the preview.
const candidates = [
path.join(process.cwd(), 'data', 'chrome.yaml'),
path.resolve(process.cwd(), '..', 'data', 'chrome.yaml'),
]
const dataPath = candidates.find((candidate) => fs.existsSync(candidate))
if (!dataPath) {
throw new Error(
'withChromeData: data/chrome.yaml not found; run Antora from the camel-website repository root ' +
'(cwd: ' + process.cwd() + ')'
)
}

// js-yaml 4's load() uses the safe schema by default; safeLoad was removed in
// v4 because it became redundant. This is not PyYAML's unsafe load.
const chromeData = yaml.load(fs.readFileSync(dataPath, 'utf8'))

const mapLink = (link, siteRootPath) => {
return Object.assign({}, link, {
url: absolute.test(link.url) ? link.url : siteRootPath + link.url,
})
}

module.exports = (options) => {
const siteRootPath = options.data.root.siteRootPath
// Merge onto the existing data frame instead of replacing it outright:
// replacing it drops inherited private variables such as @root, which
// Handlebars templates inside this block need to reach the top-level
// context (e.g. uiRootPath) from any depth, including inside {{#each}}.
return options.fn(this, {
data: Object.assign({}, options.data, {
brand: chromeData.brand,
columns: chromeData.columns.map((column) => ({
title: column.title,
links: column.links.map((link) => mapLink(link, siteRootPath)),
})),
social: chromeData.social.map((link) => mapLink(link, siteRootPath)),
legal: chromeData.legal.map((link) => mapLink(link, siteRootPath)),
}),
})
}
25 changes: 19 additions & 6 deletions antora-ui-camel/public/_/helpers/withMenuData.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,38 @@ const data = fs.readFileSync(configPath, 'utf8')
const hugoConfig = toml.parse(data)
const mainMenu = hugoConfig.menu.main

// Hugo orders menu.main by weight, not by its position in config.toml. Sort
// here too, on both levels, so the two renderings cannot silently diverge if
// a weight is ever reordered without moving the corresponding block.
const byWeight = (a, b) => (a.weight || 0) - (b.weight || 0)

const createMenu = (item) => {
return {
url: item.url || '#',
name: item.name,
pre: item.pre,
children: mainMenu.filter((child) => child.parent === item.identifier).map(createMenu),
children: mainMenu
.filter((child) => child.parent === item.identifier)
.sort(byWeight)
.map(createMenu),
}
}

const menuData = mainMenu.filter((item) => typeof item.parent === 'undefined').map(createMenu)
const menuData = mainMenu
.filter((item) => typeof item.parent === 'undefined')
.sort(byWeight)
.map(createMenu)

module.exports = (options) => {
const siteRootPath = options.data.root.siteRootPath
const mappedMenuData = menuData.map((item) => mapItem(item, siteRootPath))
// Merge onto the existing data frame instead of replacing it outright:
// replacing it drops inherited private variables such as @root, which
// Handlebars templates inside this block need to reach the top-level
// context (e.g. uiRootPath) from any depth, including inside {{#each}}.
return options.fn(this, {
data: {
data: Object.assign({}, options.data, {
items: mappedMenuData,
},
}),
})
}

Expand All @@ -43,7 +57,6 @@ const mapItem = (item, siteRootPath) => {
return {
url,
name: item.name,
pre: item.pre,
children: item.children.map((child) => mapItem(child, siteRootPath)),
}
}
1 change: 0 additions & 1 deletion antora-ui-camel/public/_/img/articles-88ac404d18.svg

This file was deleted.

1 change: 0 additions & 1 deletion antora-ui-camel/public/_/img/asf_logo_wide-3982e7e19b.svg

This file was deleted.

1 change: 0 additions & 1 deletion antora-ui-camel/public/_/img/blog-4c7fa4cb60.svg

This file was deleted.

Loading