Skip to content

Commit 2a80835

Browse files
authored
fix: update paths for SVG/MathML section move (#156)
* fix: update paths for SVG/MathML section move * fix: update paths for SVG/MathML section move
1 parent 8de1517 commit 2a80835

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rari-doc/src/templ/templs/links/mathmlxref.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn mathmlxref(element_name: String) -> Result<String, DocError> {
1212
let url = concat_strs!(
1313
"/",
1414
env.locale.as_url_str(),
15-
"/docs/Web/MathML/Element/",
15+
"/docs/Web/MathML/Reference/Element/",
1616
element_name.as_str()
1717
);
1818

crates/rari-doc/src/templ/templs/links/svgattr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::templ::api::RariApi;
66
#[rari_f]
77
pub fn svgattr(name: String) -> Result<String, DocError> {
88
let url = format!(
9-
"/{}/docs/Web/SVG/Attribute/{}",
9+
"/{}/docs/Web/SVG/Reference/Attribute/{}",
1010
env.locale.as_url_str(),
1111
name,
1212
);

crates/rari-doc/src/templ/templs/links/svgxref.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn svgxref(element_name: String, _: Option<AnyArg>) -> Result<String, DocErr
1313
pub fn svgxref_internal(element_name: &str, locale: Locale) -> Result<String, DocError> {
1414
let display = format!("&lt;{element_name}&gt;");
1515
let url = format!(
16-
"/{}/docs/Web/SVG/Element/{}",
16+
"/{}/docs/Web/SVG/Reference/Element/{}",
1717
locale.as_url_str(),
1818
element_name,
1919
);

0 commit comments

Comments
 (0)