Fix link to types.md in docs (#6653)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-05-03 04:06:43 +12:00
committed by GitHub
parent 1c697d30ee
commit 09ebb517d9
2 changed files with 6 additions and 6 deletions

View File

@ -144,11 +144,11 @@ layout: manual
See also the [types overview](types) See also the [types overview](types)
* **Primitive types** * **Primitive types**
* [`End`](kcl/types.md#End) * [`End`](kcl/types#End)
* [`ImportedGeometry`](kcl/types.md#ImportedGeometry) * [`ImportedGeometry`](kcl/types#ImportedGeometry)
* [`Start`](kcl/types.md#Start) * [`Start`](kcl/types#Start)
* [`TagDeclarator`](kcl/types.md#TagDeclarator) * [`TagDeclarator`](kcl/types#TagDeclarator)
* [`TagIdentifier`](kcl/types.md#TagIdentifier) * [`TagIdentifier`](kcl/types#TagIdentifier)
* [`any`](kcl/types/std-types-any) * [`any`](kcl/types/std-types-any)
* [`bool`](kcl/types/std-types-bool) * [`bool`](kcl/types/std-types-bool)
* [`number`](kcl/types/std-types-number) * [`number`](kcl/types/std-types-number)

View File

@ -141,7 +141,7 @@ fn generate_index(combined: &IndexMap<String, Box<dyn StdLibFn>>, kcl_lib: &[Doc
types types
.get_mut("Primitive types") .get_mut("Primitive types")
.unwrap() .unwrap()
.push((name.to_owned(), format!("types.md#{name}"))); .push((name.to_owned(), format!("types#{name}")));
} }
for d in kcl_lib { for d in kcl_lib {