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)
* **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)

View File

@ -141,7 +141,7 @@ fn generate_index(combined: &IndexMap<String, Box<dyn StdLibFn>>, 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 {