chore(docs): move partials files for Astro/Starlight#649
chore(docs): move partials files for Astro/Starlight#649melissahenderson merged 6 commits intomainfrom
Conversation
This issue partly resolves the tech writers' DOC-24 Linear issue
✅ Deploy Preview for webmonetization-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
melissahenderson marked as non substantive for IPR from ash-nazg. |
sidvishnoi
left a comment
There was a problem hiding this comment.
I'll investigate if we can do without title frontmatter - that seems useless from a partial's point and extra work.
| import HowRel from '/src/partials/link-element-how-rel.mdx' | ||
| import HowAgent from '/src/partials/link-element-how-agent.mdx' | ||
| import ContPayments from '/src/partials/link-element-cont-payments.mdx' | ||
| import Overview from '/src/content/docs/partials/link-element-overview.mdx' |
There was a problem hiding this comment.
Would it be helpful to add an alias to partials dir? Then we can have imports like:
import Overview from '#partials/link-element-overview.mdx'There was a problem hiding this comment.
Could we set something like that up later? I need to do the same thing with Rafiki, Open Payments, and maybe another I'm forgetting at the moment.
If we rename the partials file to start with |
This issue partly resolves the tech writers' DOC-24 Linear issue
Previously, the partials subfolder was outside of the docs subfolder. Astro/Starlight made a change where asides used in partials would no longer render if the partials files were outside of the docs folder.
This issue moves the partials so that we don't have issues in the future.