Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(macro): update redirects in CSSInfo #133

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/rari-doc/src/helpers/css_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ pub fn get_for_locale(locale: Locale, lookup: &Value) -> &Value {
pub fn css_computed(locale: Locale) -> Result<String, DocError> {
let copy = l10n_json_data("Template", "xref_csscomputed", locale)?;
RariApi::link(
"/Web/CSS/computed_value",
"/Web/CSS/CSS_cascade/computed_value",
locale,
Some(copy),
false,
Expand All @@ -317,7 +317,7 @@ pub fn css_computed(locale: Locale) -> Result<String, DocError> {
pub fn css_inherited(locale: Locale) -> Result<String, DocError> {
let copy = l10n_json_data("Template", "xref_cssinherited", locale)?;
RariApi::link(
"/Web/CSS/inheritance",
"/Web/CSS/CSS_cascade/Inheritance",
locale,
Some(copy),
false,
Expand All @@ -329,7 +329,7 @@ pub fn css_inherited(locale: Locale) -> Result<String, DocError> {
pub fn css_initial(locale: Locale) -> Result<String, DocError> {
let copy = l10n_json_data("Template", "xref_cssinitial", locale)?;
RariApi::link(
"/Web/CSS/initial_value",
"/Web/CSS/CSS_cascade/initial_value",
locale,
Some(copy),
false,
Expand Down
Loading