diff --git a/library/src/compute/construct.rs b/library/src/compute/construct.rs index 821a1416e..5a8aa05e7 100644 --- a/library/src/compute/construct.rs +++ b/library/src/compute/construct.rs @@ -315,10 +315,10 @@ pub fn label(args: &mut Args) -> SourceResult { /// # Regex /// Create a regular expression from a string. /// -/// The result can be used as a show rule -/// [selector](/docs/reference/concepts/#selector) and with -/// [string methods](/docs/reference/concepts/#methods) like `find`, `split`, -/// and `replace`. +/// The result can be used as a +/// [show rule selector](/docs/reference/styling/#show-rules) and with +/// [string methods](/docs/reference/types/string/#methods) like `find`, +/// `split`, and `replace`. /// /// [See here](https://docs.rs/regex/latest/regex/#syntax) for a specification /// of the supported syntax. diff --git a/library/src/layout/par.rs b/library/src/layout/par.rs index aa4e0fd91..eb133c04a 100644 --- a/library/src/layout/par.rs +++ b/library/src/layout/par.rs @@ -219,7 +219,7 @@ castable! { /// A paragraph break. /// /// This starts a new paragraph. Especially useful when used within code like -/// [for loops](/docs/reference/concepts#for-loop). Multiple consecutive +/// [for loops](/docs/reference/scripting/#loops). Multiple consecutive /// paragraph breaks collapse into a single one. /// /// ## Syntax