Skip to content

Fix README docs rendering; drop internal spec links#36

Merged
jack-champagne merged 2 commits into
mainfrom
readme-public-format
Jul 4, 2026
Merged

Fix README docs rendering; drop internal spec links#36
jack-champagne merged 2 commits into
mainfrom
readme-public-format

Conversation

@jack-champagne

Copy link
Copy Markdown
Member

Match the Legato README to the format used by the other public Piccolo repos.

What changed

  • @raw html comment fences — wrap the badge <div><table> and the hero <p><img> in <!--\``@raw html-->/fences (thePiccoloDocsTemplatepattern, matching DirectTrajOpt.jl). On GitHub these are hidden comments and the HTML renders natively;generate_indexpromotes them to real ```@raw html ` blocks so the Documenter docs page renders the badges and image instead of escaping the raw HTML. Previously the docs-page header was broken.
  • Asset path — hero image now referenced as assets/circuit_to_pulse.png (duplicated at repo root, mirroring every other repo) so the single relative path resolves both on GitHub (README at root) and in the generated docs/src/index.md. Was docs/src/assets/…, which broke in index.md.
  • Removed amico/vault/specs/… links — broken on GitHub (targets are not in the repo) and point at the internal vault. Kept the public Piccolo.jl link.

Verified by simulating the generate_index regex: both the GitHub view and the generated index.md render correctly.

Wrap the badge table and hero image in @raw html comment fences
(the PiccoloDocsTemplate pattern) so they render on both the GitHub
README and the Documenter docs page. Move the hero image reference to
repo-root assets/ (assets/circuit_to_pulse.png) so the path resolves
in both README and generated index.md.

Remove the amico/vault/specs links: broken on GitHub (not in repo) and
internal-only.
@jack-champagne jack-champagne merged commit 82c4561 into main Jul 4, 2026
9 checks passed
@jack-champagne jack-champagne deleted the readme-public-format branch July 4, 2026 04:21
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.

1 participant