From 313135fe87486b0a18dfdfafebddc323fcc7469b Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Fri, 20 Sep 2024 20:54:56 +0200 Subject: [PATCH] docs: fix some broken Python examples --- docs/library/api/model-hierarchy.md | 1 + docs/library/api/model-mesh.md | 1 + docs/library/api/morph-mesh.md | 1 + docs/library/api/multi-resolution-mesh.md | 1 + docs/library/api/texture.md | 1 + docs/library/api/virtual-file-system.md | 1 + docs/library/api/world.md | 1 + 7 files changed, 7 insertions(+) diff --git a/docs/library/api/model-hierarchy.md b/docs/library/api/model-hierarchy.md index adb0d56d..1e0c9f39 100644 --- a/docs/library/api/model-hierarchy.md +++ b/docs/library/api/model-hierarchy.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Anims.vdf", clobber=VfsOverwriteBehavior.OLDER) mdh = ModelHierarchy.load(vfs.find("MySkeleton.MDH")) + ``` diff --git a/docs/library/api/model-mesh.md b/docs/library/api/model-mesh.md index 9345f8cb..aed755f0 100644 --- a/docs/library/api/model-mesh.md +++ b/docs/library/api/model-mesh.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Anims.vdf", clobber=VfsOverwriteBehavior.OLDER) mesh = ModelMesh.load(vfs.find("MyMesh.MDM")) + ``` diff --git a/docs/library/api/morph-mesh.md b/docs/library/api/morph-mesh.md index 9743eebb..bc9748cd 100644 --- a/docs/library/api/morph-mesh.md +++ b/docs/library/api/morph-mesh.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Anims.vdf", clobber=VfsOverwriteBehavior.OLDER) mmb = MorphMesh.load(vfs.find("MyMesh.MMB")) + ``` diff --git a/docs/library/api/multi-resolution-mesh.md b/docs/library/api/multi-resolution-mesh.md index 4166f6e9..29f7252d 100644 --- a/docs/library/api/multi-resolution-mesh.md +++ b/docs/library/api/multi-resolution-mesh.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Meshes.vdf", clobber=VfsOverwriteBehavior.OLDER) mrm = MultiResolutionMesh.load(vfs.find("MyMesh.MRM")) + ``` diff --git a/docs/library/api/texture.md b/docs/library/api/texture.md index 6a014bad..5a8adcc7 100644 --- a/docs/library/api/texture.md +++ b/docs/library/api/texture.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Textures.vdf", clobber=VfsOverwriteBehavior.OLDER) tex = Texture.load(vfs.find("MyTexture.TEX")) + ``` diff --git a/docs/library/api/virtual-file-system.md b/docs/library/api/virtual-file-system.md index 6defc051..0ebcf26e 100644 --- a/docs/library/api/virtual-file-system.md +++ b/docs/library/api/virtual-file-system.md @@ -129,6 +129,7 @@ by a now defunct company called [TRIACOM Software][]. rd = node.open() # ... + ``` [ZIP]: https://en.wikipedia.org/wiki/ZIP_(file_format) diff --git a/docs/library/api/world.md b/docs/library/api/world.md index f39d9384..55097ccb 100644 --- a/docs/library/api/world.md +++ b/docs/library/api/world.md @@ -91,3 +91,4 @@ vfs = Vfs() vfs.mount_disk("Worlds.vdf", clobber=VfsOverwriteBehavior.OLDER) world = World.load(vfs.find("OLDWORLD.ZEN")) + ```