You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...] The main repo needs the prominent spot because we are talking about it. And if we can add a docs repo link somewhere we should (maybe a help with the docs link?)
This PR replaces the link to the GitHub repository: now nightscout/Trio (the Trio Project/Code) instead of nightscout/trio-docs (TrioDocs).
Solution
The Material for Mkdocs theme displays the link to the GitHub repository using a partial (i.e., an HTML snippet). Overriding the theme provides a quick and easy fix to display the link to the Trio project.
I overrode the Material theme template (material/templates/partials/source.html) with
the override/partials/source.html file containing a link to the nightscout/Trio GitHub repository.
The text was updated successfully, but these errors were encountered:
ebouchut
added a commit
to ebouchut/trio-docs
that referenced
this issue
Oct 30, 2024
Use nightscout/Trio instead of `nightscout/trio-docs`
The overriden template is used in the header, footer and navigation
(on small screens).
Fixesnightscout#92
ebouchut
added a commit
to ebouchut/trio-docs
that referenced
this issue
Oct 30, 2024
Use nightscout/Trio instead of `nightscout/trio-docs`
The overridden template is used in the header, footer and navigation
(on small screens).
Fixesnightscout#92
Why
See: this conversation on Discord
Description
This PR replaces the link to the GitHub repository: now
nightscout/Trio
(the Trio Project/Code) instead ofnightscout/trio-docs
(TrioDocs).Solution
The Material for Mkdocs theme displays the link to the GitHub repository using a partial (i.e., an HTML snippet).
Overriding the theme provides a quick and easy fix to display the link to the
Trio
project.I overrode the Material theme template (
material/templates/partials/source.html
) withthe
override/partials/source.html
file containing a link to thenightscout/Trio
GitHub repository.The text was updated successfully, but these errors were encountered: