Skip to content

feat: add Mantine.dev Link option to documentations#274

Open
deadkex wants to merge 3 commits intosnehilvj:mainfrom
deadkex:feat-mantine-link
Open

feat: add Mantine.dev Link option to documentations#274
deadkex wants to merge 3 commits intosnehilvj:mainfrom
deadkex:feat-mantine-link

Conversation

@deadkex
Copy link
Copy Markdown
Contributor

@deadkex deadkex commented Dec 22, 2025

I am proposing to add a new Anchor to documentation headings that links to the components mantine.dev documentation.

grafik

@deadkex deadkex changed the title Feat mantine link feat: add Mantine.dev Link option to documentations Dec 22, 2025
@AnnMarieW
Copy link
Copy Markdown
Collaborator

That's a good idea!
I would just like to icon to be after the component name, and the icon to be a little more subtle

                   dmc.ActionIcon(
                        DashIconify(icon="material-symbols:open-in-new", style={"width": "70%", "height": "70%"}),
                        size="md", variant="transparent", color="var(--mantine-color-dimmed)"
                    ),

@deadkex
Copy link
Copy Markdown
Contributor Author

deadkex commented Dec 27, 2025

Could also change it so it builds the path automatically and only the category (/core /dates /x ...) is saved in the "mantine:" prop

@deadkex
Copy link
Copy Markdown
Contributor Author

deadkex commented Jan 9, 2026

Could also change it so it builds the path automatically and only the category (/core /dates /x ...) is saved in the "mantine:" prop

@AnnMarieW what do you think?

@AnnMarieW
Copy link
Copy Markdown
Collaborator

Thanks for the reminder! And sorry for the slow response.

Making it build the path would certainly save some time in the PR, however, it may add complexity for handling exceptions and maintenance down the road. For example, there are some differences in the theme and style sections that may not map well given the page metadata , but it would still be good to include a link to a relevant Mantine page.

@deadkex
Copy link
Copy Markdown
Contributor Author

deadkex commented Jan 17, 2026

Well i guess it could be merged like this then

@AnnMarieW
Copy link
Copy Markdown
Collaborator

It only adds a link to one component though, so may not be worth it? We could leave it open for now.

Another thing to consider is that Mantine is coming out with V9 this year, so we need to be able to control which version of the docs we are pointing at. Might be good to add the url to https://github.com/snehilvj/dmc-docs/blob/main/lib/constants.py

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.

2 participants