interledger / docs-styleguide

🧑‍🏫 Style guide for our numerous docs sites. We love consistency.
https://interledger.net
0 stars 1 forks source link

Customise Starlight out-the-box components #1

Closed huijing closed 11 months ago

huijing commented 1 year ago

This issue helps keep track of https://github.com/withastro/starlight/issues/415 and its corresponding PR https://github.com/withastro/starlight/pull/709, which is highly relevant to our docs sites because we do customise the site header via https://gist.github.com/giuseppelt/7f918a3ac02a011d76811ae472f8bf09. This is known to be a hacky way of doing it, and if the ability to customise Starlight components becomes a first-party solution, we can update our implementations accordingly.

Depending on what the final API is, we may or may not be able to add those custom Starlight components to our shared npm library.

huijing commented 11 months ago

We have updated all our documentation sites to use the proper API: