Skip to content

Commit 28b1a2c

Browse files
authored
fix(macro): update redirects in CSSInfo (#133)
1 parent b9d2d9a commit 28b1a2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rari-doc/src/helpers/css_info.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ pub fn get_for_locale(locale: Locale, lookup: &Value) -> &Value {
305305
pub fn css_computed(locale: Locale) -> Result<String, DocError> {
306306
let copy = l10n_json_data("Template", "xref_csscomputed", locale)?;
307307
RariApi::link(
308-
"/Web/CSS/computed_value",
308+
"/Web/CSS/CSS_cascade/computed_value",
309309
locale,
310310
Some(copy),
311311
false,
@@ -317,7 +317,7 @@ pub fn css_computed(locale: Locale) -> Result<String, DocError> {
317317
pub fn css_inherited(locale: Locale) -> Result<String, DocError> {
318318
let copy = l10n_json_data("Template", "xref_cssinherited", locale)?;
319319
RariApi::link(
320-
"/Web/CSS/inheritance",
320+
"/Web/CSS/CSS_cascade/Inheritance",
321321
locale,
322322
Some(copy),
323323
false,
@@ -329,7 +329,7 @@ pub fn css_inherited(locale: Locale) -> Result<String, DocError> {
329329
pub fn css_initial(locale: Locale) -> Result<String, DocError> {
330330
let copy = l10n_json_data("Template", "xref_cssinitial", locale)?;
331331
RariApi::link(
332-
"/Web/CSS/initial_value",
332+
"/Web/CSS/CSS_cascade/initial_value",
333333
locale,
334334
Some(copy),
335335
false,

0 commit comments

Comments
 (0)