layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Hugo] Phase 1 · Converter: handle the high-volume components (Link, wrappers, CodeBlock, Blockquote, styled exports)

Open saurabhraghuvanshii opened this issue 1 month ago • 12 comments

Parent: #8297 · Phase 1 (Foundation) · Status item: "Triage converter warnings into tasks"

Why

A dry run on master (2026-11-03) gives 1,150 documents, 412 with warnings. 124 of the 412 are Sistent (P4-08). The other 288 come mostly from a few mechanical patterns:

Pattern Count Proposed rule
<Link to=…> (Gatsby link) 655 → Markdown link, or <a href> when it has non-text children
Layout wrappers: BlogWrapper 122, ResourcesWrapper 50, NewsWrapper 42, ProgramsWrapper 22, CareerWrapper 7, BookWrapper 4, EventWrapper 2, ProjectWrapper 2 251 unwrap (keep children). The layout supplies the wrapper styling.
CodeBlock 229, Code 22 251 → fenced code block with a language
Blockquote 66, BlockquoteAlt 23, Callout 14, InlineQuotes 6 109 → shortcodes from P2-05
could not parse <X> tag 177 occurrences (74 outside Sistent: careers 14, events 17, handbook 14, programs 15, blog 7, resources 5, books 2) mostly JSX-expression attributes, e.g. <Button … {…}> in KubeCon posts. Fix the parser or hand-port
non-literal attribute expressions (prop={variable}) 191 occurrences (180 in Sistent) outside Sistent: hand-port in the owning Phase 3 issue
thumbnail outside the page bundle 40 depends on the images decision (P1-10)

MDX export statements (90 files: 81 Sistent, 9 elsewhere) can't be converted mechanically. The 9 non-Sistent files define inline components or data:

  • handbook/about (JourneySection), handbook/faq (faqData), handbook/mentorship-programs and handbook/repository-overview (data arrays), handbook/recognition (style objects)
  • programs/lfx-2021, lfx-2022, lfx-2026 (LfxLogoImage, a dark/light logo) and programs/sca-contributhon (ThemedScaLogo)

Port them as data files (hugo/data/…) plus a shortcode/partial. Dark/light logos become <picture> or the theme-aware image partial from P2-06.

Don't map Sistent's <Button> to the marketing button shortcode. 41 Sistent files use <Button> as a live MUI demo. Exclude sistent from COMPONENTS mapping (P4-08 handles it).

Tasks

  • [x] Add each rule above to COMPONENTS (or a new UNWRAP set) in scripts/migrate-mdx.mjs, with tests (#8381, #8382, #8445).
  • [x] Hand-port the 9 non-Sistent export files listed above (data → hugo/data/, components → shortcodes) (#8445).
  • [x] Add --exclude sistent (or per-collection component maps) (#8381).
  • [x] Commit the dry-run report summary to hugo/docs/CONVERTER_REPORT.md and regenerate it in CI (#8446).
  • [x] For each remaining unknown component outside Sistent (e.g. MeetTheMaintainer, HPEintro/TCSintro/INFORintro, PlaygroundCTA, DockerExtensionCTA, LfxPageNav, NewcomersMap), open a follow-up issue or hand-port it in the owning Phase 3 issue (#8453, #8454, #8455, #8456, #8457, #8458).

Acceptance criteria

  • [ ] Outside Sistent, the dry run reports ≤ 30 files with warnings (down from 288), and every remaining warning is listed in CONVERTER_REPORT.md with an owner issue.
  • [x] The converter is idempotent: running it twice gives byte-identical output (needed for the master → hugo syncs).

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

saurabhraghuvanshii avatar Nov 03 '26 16:11 saurabhraghuvanshii

Hi @saurabhraghuvanshii , I would like to work on this issue. Could you please assign it to me? I’ll investigate and work on the required changes. Thank you!

DRafi2006 avatar Nov 04 '26 04:11 DRafi2006

Hi @PARTH-TUSSLE, I noticed that issue #8304 was reassigned. I had already been working on the implementation and have submitted PR #8361 addressing this issue. Could you please let me know if I should continue with the PR? Thank you!

DRafi2006 avatar Nov 10 '26 10:11 DRafi2006

Hi @PARTH-TUSSLE, I noticed that issue #8304 was reassigned. I had already been working on the implementation and have submitted PR #8361 addressing this issue. Could you please let me know if I should continue with the PR? Thank you!

Hi @DRafi2006, thanks for the PR and for checking in.

#8304 is a critical piece of the converter work, so I'm taking it on myself. #8361 currently has merge conflicts and a very large diff, which would be hard to review safely at this stage, and I'm already making closely related changes to the same file (migrate-mdx.mjs, in #8340).

Thanks again for the effort you put in. There'll be plenty of other open issues in the Hugo migration that I'd be glad to see you pick up. Thanks 🙌

PARTH-TUSSLE avatar Nov 10 '26 10:11 PARTH-TUSSLE

Converter Progress Update (Part of #8304)

Status

  • PR 1 (#8381, draft): --exclude sistent + per-collection guard so Sistent's Button/Card etc. are never mapped to marketing shortcodes; $-prefixed styled-components props ($Button aliases); U+200B stripping; warning for external={true} on non-http(s) URLs.
  • PR 2 (#8382, draft): render-link.html + {{< link >}} subpath-safe rendering, <Link> (640 tags), 8 collection wrappers (247 tags; 228 unwrapped, 19 indent-hazard preserved), and <Code> (22 tags).
    • Dry-run (--exclude sistent): 278 → 132 files with warnings (-146), 341 → 170 warning entries (-171), 561 → 210 keyed warnings (-351).
  • Planned follow-up PRs: blockquote, blockquote-alt, callout, inline-quotes shortcodes + converter rules (P2-05, #8385; clears 20 quote/callout-only files), and the 9-export-file PR (data files in hugo/data + shortcode/partial for .map(...) / React.Fragment bodies in handbook/about, faq, recognition, mentorship-programs, repository-overview, and the 4 programs files).

Remaining Non-Sistent Warning Files After Planned Follow-Up PRs (112 before the export PR; ~108–112 after, PROJECTED; will re-measure)

The <= 30 warning-file target isn't reachable within #8304 alone: 112 non-Sistent files remain after P2-05 (#8385) — 87 owned by other issues (#8308 thumbnails, Phase 3 bespoke/layout components, and CTA_FullWidth / imported-asset bindings) and 25 in a content hand-fix backlog. After the 9-export-file PR, the projected remaining count is ~108–112 (108 if a full port clears programs/lfx-2021, programs/lfx-2022, handbook/mentorship-programs, and handbook/repository-overview; 112 if only export const statements are stripped; handbook/about, handbook/faq, handbook/recognition, programs/lfx-2026, and programs/sca-contributhon still warn due to NewcomersMap/HandbookFaqAccordion/BadgeRow/LfxPageNav/indent hazard).

Proposed owner issues (happy to create them as separate issues under #8297, or track them as checklist items in #8297, whichever you prefer, @saurabhraghuvanshii):

  1. Imported assets (images and PDFs) — 157 entries across 151 unique files (<img src={var}>, CTA_FullWidth image={var}, InlineQuotes image={var}, and <Link to={DevOps}>).
  2. Content hand-fix backlog — 25 files across categories (d)–(g).

Each file below appears exactly once under its primary category; files with multiple warnings list all remaining warnings in the second column.

Primary Category Unique Files
(a) #8308 thumbnails 37
(b) Phase 3 bespoke components 40
(c) CTA_FullWidth image bindings 10
(d) wrapper indent hazard 15
(e) Link bare-relative / non-literal 6
(f) Button non-literal / external PDF 3
(g) missing front matter 1
Total 112
Full partition of all 112 remaining warning files
Primary Category File All Remaining Warnings
(a) #8308 thumbnails blog/2023/2023-09-05-unlocking-the-power-of-webassembly-in-service-mesh-management/index.mdx thumbnail: "../../../../assets/images/partners/intel-grey.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2024/04-26-docker-compose-with-meshery/index.mdx thumbnail: "../../../../assets/images/dockercompose-logo/dockercompose-logo.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2024/05-07-mythical-engineer/index.mdx thumbnail: "../../../../assets/images/five/SVG/layer5-five-mascot-means-business.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2024/06-13-2024/index.mdx thumbnail: "../../../../assets/images/layer5/layer5-only/svg/layer5-black.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2024/10-09-docker-build-warning/index.mdx thumbnail: "../../../../assets/images/docker-extension/docker-extension-meshery-logo.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2024/11-05-what-is-the-kanvas-catalog/index.mdx thumbnail: "../../../../assets/images/catalog-icon/catalog2.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails blog/2025/11-19-kanvas-like-miro-but-more/index.mdx thumbnail: "../../../../assets/images/kanvas/icon-only/kanvas-icon-color.png" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails news/2021/2021-10-13-cncf-adopts-meshery/index.mdx thumbnail: "../../../../assets/images/meshery/full-logo/meshery-logo-light-text-side.png" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails news/2021/2021-10-13-cncf-adopts-service-mesh-performance-standard/index.mdx thumbnail: "../../../../assets/images/service-mesh-performance/horizontal/smp-dark-text-side.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails news/2022/2022-05-18-meshmark-the-cloud-native-value-measurement/meshmark-the-cloud-native-value-measurement.md thumbnail: "../../../../assets/images/meshmark/stacked/meshmark-dark-full.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails news/2024/2024-11-12-layer5-launches-kanvas-a-collaborative-platform-for-cloud-native-infrastructure/index.mdx thumbnail: "../../../../assets/images/kanvas/stacked/kanvas-stacked-color.png" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/api-gateways/index.mdx thumbnail: "../../service-mesh.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/choosing-the-perfect-proxy/index.mdx thumbnail: "../../service-mesh.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/consul-service-mesh/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/consul.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/deploying-istio/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/gitops/what-is-gitops.mdx thumbnail: "../../../../assets/images/socialIcons/github-dark.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-at-a-glance/istio-at-a-glance.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-authorization policy/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-pilot/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-service-mesh/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-service-proxy/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/envoy/icon/color/envoy-icon-color.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/istio-virtual-service/index.mdx thumbnail: "../../../../assets/images/service-mesh-icons/istio.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/kubernetes/archtiecture-101/k8s-architecture-101.mdx thumbnail: "../kubernetes.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/articles/service-mesh-fundamentals/index.mdx thumbnail: "../../service-mesh.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/comparison/layer5-academy-vs-moocit/index.mdx thumbnail: "../../../../assets/images/academy/academy-layer5.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/faq/internship-faq.mdx thumbnail: "../../../assets/images/workshops/workshops.webp" is outside the page bundle — move it next to index.md; unknown components: FAQ
(a) #8308 thumbnails resources/faq/layer5-faq.mdx thumbnail: "../../../assets/images/layer5/layer5-only/png/layer5-gradient.webp" is outside the page bundle — move it next to index.md; unknown components: FAQ
(a) #8308 thumbnails resources/faq/meshery-faq.mdx thumbnail: "../../../assets/images/meshery/text-only/meshery-logo-dark-text.webp" is outside the page bundle — move it next to index.md; unknown components: FAQ
(a) #8308 thumbnails resources/recorded-webinars/introduction-to-meshery.mdx thumbnail: "../../../assets/images/meshery/full-logo/meshery-logo-light-text.svg" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/beginner-guide-to-contributing-to-meshery-and-mesheryctl.mdx thumbnail: "../../../assets/images/tutorials/intro-meshery-ctl.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/contributing-to-meshery-API-swagger-documentation.mdx thumbnail: "../../../assets/images/tutorials/swagger-logo.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/introduction-to-all-layer5-repositories.mdx thumbnail: "../../../assets/images/tutorials/all-repos-layer5.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/introduction-to-contributing-to-meshery.mdx thumbnail: "../../../assets/images/tutorials/intro-to-meshery.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/introduction-to-meshey-ctl.mdx thumbnail: "../../../assets/images/tutorials/golang-meshery-ctl.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/tutorial-on-contributing-to-layer5-and-working-with-git.mdx thumbnail: "../../../assets/images/tutorials/layer5-walkthrough.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/tutorial-on-gatsby.mdx thumbnail: "../../../assets/images/tutorials/intro-to-gatsby.webp" is outside the page bundle — move it next to index.md
(a) #8308 thumbnails resources/tutorials/working-with-meshery-docs-and-jekyll.mdx thumbnail: "../../../assets/images/tutorials/docs-jekyll.webp" is outside the page bundle — move it next to index.md
(b) Phase 3 bespoke components blog/2021/2021-02-04-meet-the-maintainer-michael-gfeller/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review; unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2021/2021-02-07-meshkit-and-meshery-adapter-library/index.mdx unknown components: MeshkitMesheryAdapterLib
(b) Phase 3 bespoke components blog/2021/2021-04-16-meet-the-maintainer-jash-patel/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review; unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2021/2021-04-24-buf-protocols/index.mdx unknown components: BufProtocol
(b) Phase 3 bespoke components blog/2022/2022-06-01-perfbytes-podcast/index.mdx unknown components: PerfbytesPodcast
(b) Phase 3 bespoke components blog/2023/05-24-meet-the-meshmate-yash-sharma/index.mdx unknown components: MeetTheMeshMate
(b) Phase 3 bespoke components blog/2023/08-21-layer5-badge-program/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review; unknown components: Blog
(b) Phase 3 bespoke components blog/2024/07-01-meet-the-maintainer-xin-huang/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2024/09-08-meet-the-maintainer-hussaina-begum/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2024/09-27-meet-the-maintainer-aisuko-li/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2024/10-22-meet-the-maintainer-aadhitya-amarendiran/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2024/11-01-meet-the-maintainer-yash-sharma/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2025/05-28-meet-the-maintainer-ian-whitney/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2025/08-27-meet-the-maintainer-aabid-sofi/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2026/03-26-meet-the-maintainer-sangram-rath/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components blog/2026/06-22-meet-the-maintainer-mia-grenell/index.mdx unknown components: MeetTheMaintainer
(b) Phase 3 bespoke components careers/digital-marketing-internship/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/software-engineer/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/software-engineering-internship/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/ui-engineer/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/ui-visual-designer-internship/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/ui-visual-designer/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components careers/ux-engineer/index.mdx unknown components: Col, PositionApply
(b) Phase 3 bespoke components events/2025/hacktoberfest-2025/index.mdx unknown components: Grid2
(b) Phase 3 bespoke components handbook/about/index.mdx unknown components: Row, Col, NewcomersMap, JourneySection
(b) Phase 3 bespoke components handbook/faq/index.mdx unknown components: HandbookFaqAccordion
(b) Phase 3 bespoke components handbook/recognition/index.mdx unknown components: BadgeRow
(b) Phase 3 bespoke components handbook/writing-program/index.mdx unknown components: Row, Col, ContentForm
(b) Phase 3 bespoke components programs/lfx-2021/lfx-2021.mdx unknown components: LfxLogoImage
(b) Phase 3 bespoke components programs/lfx-2022/lfx-2022.mdx unknown components: LfxLogoImage
(b) Phase 3 bespoke components programs/lfx-2026/lfx-2026.mdx unknown components: LfxLogoImage, LfxPageNav
(b) Phase 3 bespoke components programs/sca-contributhon/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review; unknown components: ThemedScaLogo
(b) Phase 3 bespoke components projects/distributed-performance-management/index.mdx unknown components: Row, Col
(b) Phase 3 bespoke components resources/case-study/hpes-adoption-of-meshery-and-kanvas/index.mdx unknown components: HPEintro, HPEfacts, HPEbenefits
(b) Phase 3 bespoke components resources/case-study/infors-adoption-of-meshery-and-kanvas/index.mdx unknown components: INFORintro, INFORfacts, INFORbenefits
(b) Phase 3 bespoke components resources/case-study/tcs-labs-adoption-of-meshery-and-kanvas/index.mdx unknown components: TCSintro, TCSfacts, TCSbenefits
(b) Phase 3 bespoke components resources/tutorials/docker-swarm/index.mdx resources/tutorials/docker-swarm/index.mdx: has bare-relative "to" value "../../articles/kubernetes/management-of-kubernetes" (); review manually; unknown components: PlaygroundCTA, DockerExtensionCTA
(b) Phase 3 bespoke components service-mesh-books/service-mesh-patterns/index.mdx unknown components: Table
(b) Phase 3 bespoke components service-mesh-books/the-enterprise-path-to-service-mesh-architectures-2nd-Edition/index.mdx unknown components: CommonForm
(b) Phase 3 bespoke components service-mesh-books/the-enterprise-path-to-service-mesh-architectures/index.mdx unknown components: CommonForm
(c) CTA_FullWidth image bindings blog/2024/02-13-what-is-platform-engineering/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2024/02-24-open-container-image-meshery/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2025/12-28-gemini-cli-trusted-directories/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2026/03-02-meshery-hits-10000-github-stars/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2026/04-02-open-source-maintenance-ai-contributors/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2026/04-03-claude-code-skills-not-found-sessionstart-hook/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2026/09-14-disable-claude-code-session-feedback-survey/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings blog/2026/09-16-ai-system-1-versus-system-2-tasks/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings resources/articles/kubernetes/getting-started-with-kubernetes/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(c) CTA_FullWidth image bindings resources/articles/kubernetes/management-of-kubernetes/index.mdx <CTA_FullWidth>: non-literal expression for "image"
(d) wrapper indent hazard blog/2021/2021-06-25-she-code-africa-contributhon-boot-camp/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2021/2021-09-20-service-mesh-specifications-and-why-they-matter/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2021/2021-10-04-ccoss-meshery-event/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2021/2021-10-09-an-introduction-to-meshery/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-01-07-Recap-KubeCon-China-TAG-Network-talk/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-05-10-dockercon-22-hashicorp-talk/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-05-27-debug-envoy-proxy/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-06-07-week-open-source-contributions-with-layer5/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-07-28-managing-multiple-clusters-with-meshery/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2022/2022-10-19-kubeconna2022/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2023/04-12-meshery-surpasses-1000-contributors/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard blog/2025/11-03-2025-understanding-configmaps/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard programs/communitybridge/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard programs/gsoc-2021/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(d) wrapper indent hazard resources/articles/value-of-a-service-mesh/index.mdx : wrapper body has 4+ space indented line after dedent; left as-is for manual review
(e) Link bare-relative / non-literal handbook/repository-overview/index.mdx : non-literal expression for "to"; : non-literal expression for "to"; unknown components: React.Fragment
(e) Link bare-relative / non-literal programs/hacktoberfest-2020/index.mdx programs/hacktoberfest-2020/index.mdx: has bare-relative "to" value "newcomer" (); review manually
(e) Link bare-relative / non-literal programs/hacktoberfest-2021/index.mdx programs/hacktoberfest-2021/index.mdx: has bare-relative "to" value "newcomer" (); review manually
(e) Link bare-relative / non-literal programs/hacktoberfest-2022/index.mdx programs/hacktoberfest-2022/index.mdx: has bare-relative "to" value "newcomer" (); review manually
(e) Link bare-relative / non-literal programs/lfx-2025/lfx-2025.mdx programs/lfx-2025/lfx-2025.mdx: has bare-relative "to" value "" (); review manually; programs/lfx-2025/lfx-2025.mdx: has bare-relative "to" value "community/members/mia-grenell" (); review manually; programs/lfx-2025/lfx-2025.mdx: has bare-relative "to" value "" (); review manually
(e) Link bare-relative / non-literal resources/articles/devops-adoption/index.mdx : non-literal expression for "to"; : non-literal expression for "to"
(f) Button non-literal / external PDF events/2024/kubecon-EU-2024/index.mdx events/2024/kubecon-EU-2024/index.mdx:
(f) Button non-literal / external PDF events/2024/making-the-cncf-landscape-interactive-with-meshery/index.mdx
(f) Button non-literal / external PDF handbook/mentorship-programs/index.mdx
(g) missing front matter resources/articles/layer5-academy-vs-moocit/index.mdx no front matter found; generated a minimal one

Proposed Amended Acceptance Criterion for #8304

Remaining non-Sistent warnings are each partitioned above with an owner issue (#8308 for thumbnails, Phase 3 issues for bespoke components, #8385 for quote/callout shortcodes, and the proposed imported-assets and content hand-fix backlog issues/checklists under #8297). cc @saurabhraghuvanshii

PARTH-TUSSLE avatar Nov 12 '26 13:11 PARTH-TUSSLE

@PARTH-TUSSLE create a sub issue uder #8297 to track.

saurabhraghuvanshii avatar Nov 12 '26 16:11 saurabhraghuvanshii

Scope Completion & Status Update

All converter rules, hand-ports, reports, and ownership mappings scoped in #8304 are complete across the following pull requests:

  1. Pull Requests Delivered:

    • #8381: Added --exclude sistent, Sistent collection guard, styled-components $-prop parsing, and Button aliases.
    • #8382: Implemented <Link> conversion to Markdown links and {{< link >}} shortcode, added unwrapping for all 8 collection wrappers (BlogWrapper, CareerWrapper, EventWrapper, NewsWrapper, ProgramsWrapper, ProjectWrapper, ResourcesWrapper, BookWrapper), and added <Code> rule.
    • #8395: Quote and callout shortcodes for Blockquote, BlockquoteAlt, Callout, and InlineQuotes (addresses #8385).
    • #8445: Hand-ported 9 non-Sistent export files (data moved to hugo/data/handbook/, shortcodes for JourneySection, LfxLogoImage, ThemedScaLogo, and deterministic export const stripping) + <CodeBlock> converter rule with full tests.
    • #8446: Generated hugo/docs/CONVERTER_REPORT.md, added automated CI freshness check, added byte-for-byte idempotency test check, and mapped all remaining warnings to designated owner issues.
  2. Export-File Hand-Port Status (9 files):

    • 3 files are completely warning-free:
      • handbook/faq (faqData moved to hugo/data/handbook/faq.yaml)
      • programs/lfx-2021 (LfxLogoImage -> shortcode)
      • programs/sca-contributhon (ThemedScaLogo -> shortcode)
    • 6 files still produce warnings because they contain bespoke Phase 3 components or out-of-bundle assets that belong to their respective Phase 3 sub-issues:
      • handbook/about: Contains bespoke layout components (tracked in #8456).
      • handbook/mentorship-programs: Data ported, contains handbook components (tracked in #8456).
      • handbook/repository-overview: Data ported, contains <React.Fragment> and table layout (tracked in #8456).
      • handbook/recognition: Style objects ported, contains <BadgeRow> (tracked in #8456).
      • programs/lfx-2022: Logo ported, thumbnail outside page bundle (tracked in #8308 / #8457).
      • programs/lfx-2026: Logo ported, thumbnail outside page bundle (tracked in #8308 / #8457).
  3. Honest Acceptance Status & Final Counts:

    • The original acceptance target of ≤ 30 files with warnings is NOT met:
      • Total documents converted: 1,006 / 1,006 (138 Sistent files skipped via --exclude sistent).
      • 110 files remain with warnings (down from the initial 288 outside Sistent).
      • 0 unowned warning files: 100% of the 110 remaining files are assigned to a primary owner issue.
    • Primary Owner Breakdown (sums exactly to 110):
      • #8402 (Content hand-fix backlog): 23 files
      • #8385 (Quote/callout-only components - PR #8395): 22 files
      • #8453 (P3-01 Blog bespoke components): 16 files
      • #8308 (Out-of-bundle thumbnails and assets): 16 files
      • #8401 (Imported assets backlog): 11 files
      • #8457 (P3-08 Programs & Careers bespoke components): 8 files
      • #8454 (P3-02 Resources & Books bespoke components): 7 files
      • #8456 (P3-07 Handbook bespoke components): 5 files
      • #8455 (P3-04 Events bespoke forms): 1 file
      • #8458 (P3-13 Projects layout components): 1 file
    • Idempotency: 100% byte-identical (0 diffs across two consecutive conversion runs, verified in CI).
  4. Proposed Amended Acceptance Criterion:

    "Every non-Sistent file producing converter warnings has a named primary owner issue (0 unowned), and conversion is byte-idempotent, both enforced in CI."

@saurabhraghuvanshii — Please review the proposed amended acceptance criterion above. If approved, issue #8304 can be closed as its foundation scope is complete and all remaining work is cleanly tracked in the follow-up issues.

PARTH-TUSSLE avatar Nov 19 '26 08:11 PARTH-TUSSLE

@PARTH-TUSSLE I'll review tonight.

saurabhraghuvanshii avatar Nov 19 '26 08:11 saurabhraghuvanshii

Converter Update: Quote/Callout Rules Wired In (PR #8459)

Following the merge of quote/callout shortcodes in #8395, PR #8459 wires in the corresponding converter rules for \Blockquote, \BlockquoteAlt, \Callout, and \InlineQuotes\ with unit tests and regenerates \CONVERTER_REPORT.md:

  • Files with warnings: dropped from 110 to 93 (all 93 owned, 0 unowned).
  • #8385 files: dropped from 22 to 0 (17 files whose only warnings were quotes/callouts are now completely warning-free; 5 files with secondary issues like non-literal \style\ props or wrapper indents are tracked under #8402).
  • Primary Owner Breakdown (93 total):
    • #8402: 28 files
    • #8453: 16 files
    • #8308: 16 files
    • #8401: 11 files
    • #8457: 8 files
    • #8454: 7 files
    • #8456: 5 files
    • #8455: 1 file
    • #8458: 1 file
  • Native Sub-Issues: #8453–#8458 are now linked as native GitHub sub-issues under epic #8297.
  • Idempotency: 100% byte-identical (0 byte differences).

PARTH-TUSSLE avatar Nov 19 '26 09:11 PARTH-TUSSLE

Converter Audit Update & Imported Asset Resolution (#8304)

During end-to-end verification of Phase 1 conversion, we identified that lowercase HTML tags (<img src={var}>, <a href={var}>) with imported JSX expressions passed through unwarned while import statements were stripped, leaving literal {var} in the converted Markdown.

In PR #8460:

  1. Import Tracking: Added pre-strip import analysis mapping identifiers to resolved assets.
  2. Deterministic Resolution:
    • In-bundle assets are rewritten cleanly to literal paths (src="./...", [text](./...)) with 0 warnings (75 files resolved cleanly).
    • Out-of-bundle assets (../../assets/...) are rewritten to literal relative paths and flagged with the standard outside the page bundle warning (75 files tracked under #8308).
    • Missing/unresolvable variables or non-literal expressions safely preserve the tag intact and emit non-literal expression for "<attr>" on <<tag>> (1 file tracked under #8401).
  3. Report Reconciliation:
    • Current files with warnings outside Sistent: 117 (all 100% accounted for with primary owners, 0 unowned).
    • Owner breakdown: #8308: 34, #8402: 21, #8385: 20, #8453: 16, #8454: 10, #8457: 8, #8456: 5, #8401: 1, #8455: 1, #8458: 1 (Total: 117).
    • Conversion passes all 74 unit tests and remains 100% idempotent (0 byte differences).

Awaiting review on PR #8459 (quotes/callouts) and PR #8460 (imported assets).

PARTH-TUSSLE avatar Nov 19 '26 16:11 PARTH-TUSSLE

Phase 1 Converter Status: Reconciled Totals & Full-Tree Verification

Here is the reconciled status and full-tree verification following the merge of PR #8459 and rebase/updates on PR #8460:

1. PR Status

  • PR #8459 (Blockquote, BlockquoteAlt, Callout, InlineQuotes shortcodes + converter rules): Merged into hugo.
  • PR #8460 (Resolve imported JSX asset attributes): Rebased onto origin/hugo, incorporated review feedback from @miacycle (safe bailout and numeric style support in jsxStyleToCss), and all CI checks are green (76/76 unit tests pass, idempotency verified, Hugo build passes). Approved by @miacycle.

2. Reconciled Warning File Totals (100 files, 0 unowned)

With quote/callout rules merged and imported assets resolved:

  • Total files with warnings: 100 (down from 278 originally).
  • #8385: 0 files (fully completed on converter side).
  • Primary Owner Breakdown:
    Owner Issue Files Description
    #8308 34 Out-of-bundle assets and thumbnails layout (all 34 are documents with ../../assets/ warnings)
    #8402 24 Content hand-fix backlog (indent hazards, bare-relative links, manual review)
    #8453 16 Phase 3: Blog bespoke components
    #8454 10 Phase 3: Resources & Books bespoke components & handbook data loops
    #8457 8 Phase 3: Programs & Careers bespoke components
    #8456 5 Phase 3: Handbook bespoke components
    #8401 1 Missing asset file on disk (hero-image.svg)
    #8455 1 Phase 3: Events bespoke forms
    #8458 1 Phase 3: Projects layout components
    Total 100 Sum matches total files with warnings exactly; 0 unowned

(Note: Zero-byte asset files on disk are assets, not documents, and are tracked separately in CONVERTER_REPORT.md summary metrics. After PR #8473 restored the 2 truncated rustrial icons, exactly 4 upstream source-repo zero-byte SVGs remain in the repository).

3. Reconciliation of #8401 and #8308

  • Across the repository, exactly 37 files reference assets pointing outside the page bundle (../../assets/...).
    • An earlier comment mentioned a count of "75 files", which was an unverified subtraction estimate. In reality, 97+ files with imported assets convert cleanly with 0 warnings.
    • Of the 37 files with ../../assets/... paths, 22 have #8308 as their primary owner, while 15 have higher-priority bespoke component or missing asset owners (#8453: 12, #8454: 1, #8456: 1, #8401: 1).
    • The complete list of 37 out-of-bundle files has been posted to #8308.
    • Issue #8401 has been updated to reflect its remaining scope: exactly 1 file where the referenced asset does not exist on disk (blog/2026/04-02-open-source-maintenance-ai-contributors/index.mdx missing ./hero-image.svg).

4. Full-Tree Hugo Build & Proof Audit

To verify zero silent corruption:

  1. Converted all 1,006 collection files into a temporary content directory and ran a full Hugo build (hugo --buildDrafts --buildFuture).
  2. Audited the published HTML in public/:
    • All in-bundle assets (./...) publish cleanly into their respective leaf bundle output directories.
    • Out-of-bundle assets (../../assets/...) consistently preserve relative paths (expected broken until the #8308 layout decision lands).
  3. Search for leftover JSX and import/export remnants across all 1,006 generated .md files confirmed:
    • 0 leftover import statements outside code fences.
    • 0 leftover export statements outside code fences.
    • 0 unhandled leftover JSX expression attributes (only 14 occurrences found: 1 inside an HTML comment, 1 missing asset in #8401, and 12 in handbook data loops under #8454).

The proposed amended acceptance criterion remains pending maintainer review from @saurabhraghuvanshii.

PARTH-TUSSLE avatar Nov 20 '26 15:11 PARTH-TUSSLE

Converter Status Update (at origin/hugo 4e1151f39d1a, 2026-11-27)

From committed hugo/docs/CONVERTER_REPORT.md (--exclude sistent):

  • Documents Converted: 1006 / 1006 (138 Sistent files excluded, 11 templates skipped)
  • Files with Warnings: 79 (0 unowned; increased 77 → 79 after #8512 added two duplicate alias warnings under #8402)
  • Zero-Byte Assets Logged: 4
  • Asset Normalization Renames: 26
Primary Owner Issue Files Scope / Focus
#8308 49 Out-of-bundle thumbnails and asset layout
#8402 25 Content hand-fix backlog (wrapper indents, bare links, button props, duplicate aliases)
#8456 4 P3-07 Handbook bespoke components & data loops (BadgeRow, React.Fragment, HandbookFaqAccordion, mentorship-programs, recognition, repository-overview)
#8401 1 Imported assets backlog (<img src={var}>)
Total 79 100% accounted for

Open Follow-up PRs (base: hugo)

  • #8534 — fix(hugo): replace deprecated site.Data and site.AllPages (rebased, 0 deprecation warnings)
  • #8539 — feat(converter): bundle out-of-bundle assets into page bundles (Option 1) (49 → 0 #8308 warning files)
  • #8542 — fix(hugo): trim ./ prefix in inline-quotes resource lookup (split from #8539)
  • #8543 — fix(converter): rewrite own-bundle root-relative img src to ./ (split from #8539)
  • #8544 — fix(converter): dedent mixed-indent wrapper bodies safely (#8402 25 → 9; combined with #8539 drops total warning files to 15)

PARTH-TUSSLE avatar Nov 28 '26 08:11 PARTH-TUSSLE

Converter Update (origin/hugo 9b2ff644dfe2, 2026-11-28)

  • Merged: #8534 (fix/hugo-deprecations), #8539 (feat/converter-asset-bundling, Option 1 asset bundling)
  • Files with Warnings: 34 (<= 30 target not yet met; #8544 is open to drop this to 15)
    • #8402: 28 | #8456: 4 | #8401: 1 | Unassigned: 1 (import-design-gif.gif in #8546)
  • Open hugo PRs (merge order): #8542 → #8547 → #8543 → #8544

PARTH-TUSSLE avatar Nov 28 '26 18:11 PARTH-TUSSLE