feat: add Mantine.dev Link option to documentations#274
feat: add Mantine.dev Link option to documentations#274deadkex wants to merge 3 commits intosnehilvj:mainfrom
Conversation
|
That's a good idea! |
|
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? |
|
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. |
|
Well i guess it could be merged like this then |
|
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 |
I am proposing to add a new Anchor to documentation headings that links to the components mantine.dev documentation.