Skip to content

Remove Docusaurus-only frontmatter keys - #3101

Merged
ElliotFriend merged 1 commit into
stellar:mainfrom
ElliotFriend:remove-docusaurus-frontmatter
Nov 12, 2026
Merged

ElliotFriend merged 1 commit into
stellar:mainfrom
ElliotFriend:remove-docusaurus-frontmatter

Conversation

@ElliotFriend

@ElliotFriend ElliotFriend commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What

  • Removes the Docusaurus-only frontmatter keys order, position, sidebar_key, draft, and toc_max_heading_level from 77 pages. docs.json sets page order, and .mintignore already keeps every draft page unpublished.
  • Changes hide_sidebar: true on docs/index.mdx to mode: "center", Mintlify's closest equivalent. It also hides the table of contents.
  • Drops the draft key from the .mintignore header comment.

keywords stays, because Mintlify uses it for search.

Why

Mintlify ignores these keys, so they mislead contributors into thinking they still do something.

mint validate passes.

Preview

  • /docs looks right with mode: "center".

🤖 Generated with Claude Code

Drop order, sidebar_key, position, toc_max_heading_level, and draft,
which Mintlify ignores (.mintignore keeps the drafts unpublished).
Replace hide_sidebar on docs/index with mode: "center".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mintlify

mintlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview approved

@ElliotFriend approved a Mintlify preview for commit 70d3b03.

@mintlify

mintlify Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 11, 2026, 5:42 PM

@ElliotFriend

Copy link
Copy Markdown
Contributor Author

/triage

@stellar-doxie stellar-doxie Bot added the bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge label Nov 11, 2026
@stellar-doxie

stellar-doxie Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Reviewing because @ElliotFriend asked with /triage.

Verified: every removed line is one of the named keys, and no script reads them. All 16 former drafts are in .mintignore and still 404 on the preview. mode: "center" matches Mintlify's page-mode docs, and the preview /docs has no table of contents. Ready to merge.

Non-blocking follow-up: scripts/stellar_cli.mjs and scripts/stellar_cli_plugins.mjs still write sidebar_position, so a CLI docs rebuild adds it back.

@ElliotFriend
ElliotFriend merged commit 103c6d2 into stellar:main Nov 12, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
staging — 70d3b03d Deployed Nov 11, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants