diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-09-13 15:43:30 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-09-13 15:43:54 +0200 |
| commit | 6aa9dbfbe6630321fa2a98f7f5d38b7a7062f0c3 (patch) | |
| tree | 7568648794b2d1592db00628a86bc7907938740d /crates/typst-docs/src | |
| parent | 5df550f8e8cf60940f1a9c741e4663fbfd636ba3 (diff) | |
Touch up docs a little
Diffstat (limited to 'crates/typst-docs/src')
| -rw-r--r-- | crates/typst-docs/src/link.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/typst-docs/src/link.rs b/crates/typst-docs/src/link.rs index 5d7a5485..64fb47f9 100644 --- a/crates/typst-docs/src/link.rs +++ b/crates/typst-docs/src/link.rs @@ -37,16 +37,16 @@ fn split_link(link: &str) -> StrResult<(&str, &str)> { /// Resolve a `$` link head to a known destination. fn resolve_known(head: &str) -> Option<&'static str> { Some(match head { - "$tutorial" => "/docs/tutorial/", - "$reference" => "/docs/reference/", - "$category" => "/docs/reference/", - "$syntax" => "/docs/reference/syntax/", - "$styling" => "/docs/reference/styling/", - "$scripting" => "/docs/reference/scripting/", - "$guides" => "/docs/guides/", - "$packages" => "/docs/packages/", - "$changelog" => "/docs/changelog/", - "$community" => "/docs/community/", + "$tutorial" => "/docs/tutorial", + "$reference" => "/docs/reference", + "$category" => "/docs/reference", + "$syntax" => "/docs/reference/syntax", + "$styling" => "/docs/reference/styling", + "$scripting" => "/docs/reference/scripting", + "$guides" => "/docs/guides", + "$packages" => "/docs/packages", + "$changelog" => "/docs/changelog", + "$community" => "/docs/community", _ => return None, }) } |
