Backport Stable#327
Merged
Merged
Conversation
FragmentedPacket
approved these changes
May 4, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.