Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: Add front-matter title to auto-generated reference pages #20

Closed
pawamoy opened this issue Mar 24, 2024 · 0 comments
Closed

Comments

@pawamoy
Copy link
Owner

pawamoy commented Mar 24, 2024

fd.write(f"---\ntitle: {ident}\n---\n\n::: {ident}")

Also do that in mkdocstrings' recipe!

@pawamoy pawamoy closed this as completed Mar 28, 2024
pawamoy added a commit that referenced this issue Apr 26, 2024
Contrary to the mkdocs-section-index plugin, the section index feature of Material for MkDocs will show `index` as title of index pages. We fix that with a front-matter metadata title.

Issue-20: #20
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

No branches or pull requests

1 participant