diff --git a/docs/kcl/index.md b/docs/kcl/index.md index 59ae2a4a217..8ab35d68c08 100644 --- a/docs/kcl/index.md +++ b/docs/kcl/index.md @@ -144,11 +144,11 @@ layout: manual See also the [types overview](types) * **Primitive types** - * [`End`](kcl/types.md#End) - * [`ImportedGeometry`](kcl/types.md#ImportedGeometry) - * [`Start`](kcl/types.md#Start) - * [`TagDeclarator`](kcl/types.md#TagDeclarator) - * [`TagIdentifier`](kcl/types.md#TagIdentifier) + * [`End`](kcl/types#End) + * [`ImportedGeometry`](kcl/types#ImportedGeometry) + * [`Start`](kcl/types#Start) + * [`TagDeclarator`](kcl/types#TagDeclarator) + * [`TagIdentifier`](kcl/types#TagIdentifier) * [`any`](kcl/types/std-types-any) * [`bool`](kcl/types/std-types-bool) * [`number`](kcl/types/std-types-number) diff --git a/rust/kcl-lib/src/docs/gen_std_tests.rs b/rust/kcl-lib/src/docs/gen_std_tests.rs index c0c3750e484..e824beb22d8 100644 --- a/rust/kcl-lib/src/docs/gen_std_tests.rs +++ b/rust/kcl-lib/src/docs/gen_std_tests.rs @@ -141,7 +141,7 @@ fn generate_index(combined: &IndexMap>, kcl_lib: &[Doc types .get_mut("Primitive types") .unwrap() - .push((name.to_owned(), format!("types.md#{name}"))); + .push((name.to_owned(), format!("types#{name}"))); } for d in kcl_lib {