-
Couldn't load subscription status.
- Fork 1.4k
docs: add useContent headings guide #8073
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
base: main
Are you sure you want to change the base?
Conversation
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
Looks like duplicate #7303 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to change the position of this file.
.../docs/use-content-headings.mdx
all the other pages are inside a specific folder.
|
@gioboa Thanks for your review and yes had updates the position of the file. |
|
Hey @iitzIrFan thanks for the PR. Giorgio and I think it would make more sense to have it in /docs/guides/mdx/. Can you do that change please? |
|
Sure @maiieul, updated the pr! |
…c navigation with MDX headings
|
Thanks @irfanullahjan but I meant we already have a route https://qwik.dev/docs/guides/mdx/. Please move your changes here and remove the changes from /api. |
|
The changes should be in the |
|
@maiieul PR updated! :) |
What is it?
Solves: #6678
Description
API Reference Update:
A new section was added to the API reference file (index.mdx) to explain how useContent can retrieve headings from .mdx files. This included an example and practical use cases.
New Practical Guide:
A new file, use-content-headings.mdx, was created in the main documentation section. This file provides a user-friendly guide on using useContent to retrieve page headings, complete with an example, notes, and use cases.
Checklist
pnpm change