Skip to content

Backport Stable#327

Merged
BeArchiTek merged 5 commits into
developfrom
stable
May 5, 2026
Merged

Backport Stable#327
BeArchiTek merged 5 commits into
developfrom
stable

Conversation

@BeArchiTek

Copy link
Copy Markdown
Contributor

No description provided.

@BeArchiTek BeArchiTek requested a review from a team as a code owner May 4, 2026 21:07
petercrocker and others added 2 commits May 5, 2026 10:04
The object_file_fetch plugin's `dest` description contained
`C({dest}/{node.file_name})`. The Jinja template emits descriptions
verbatim into MDX, where `{dest}` is parsed as a JSX expression and
crashes Docusaurus SSG with `ReferenceError: dest is not defined` in
the aggregator at opsmill/infrahub-docs.

- Wrap the placeholder in backticks so MDX treats it as a code span
  (disables JSX parsing inside).
- Add an `mdx_safe` Jinja filter that joins list-style descriptions
  and escapes `{` / `}` outside Markdown code spans, defending future
  plugin docstrings from the same failure mode.
- Include `plugins/**` in the `documentation_all` paths-filter so
  changes to plugin source trigger the documentation-lint job.
- Build Docusaurus in workflow-changelog-and-docs.yml after
  `invoke generate-doc` and before the auto-commit, so broken MDX
  never lands on `stable`.
…aces

fix(docs): unbreak MDX build for object_file_fetch and harden CI
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying infrahub-ansible with  Cloudflare Pages  Cloudflare Pages

Latest commit: 22d0e94
Status:⚡️  Build in progress...

View logs

@BeArchiTek BeArchiTek merged commit cc557d1 into develop May 5, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants