Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Guide builder: keep press.html in the sitemap

islandmed5729a37d3215
diff --git a/tools/guide/build_site.py b/tools/guide/build_site.py
index a201c6c8..4600ef97 100644
--- a/tools/guide/build_site.py
+++ b/tools/guide/build_site.py
@@ -637,7 +637,7 @@ def main() -> int:
# every guide page. Only for the real site, not --out folders.
if out.resolve() == (ROOT / "website" / "guide").resolve():
urls = [SITE, SITE + "brushes.html", SITE + "mudbox-alternative.html",
- SITE + "zbrush-alternative.html", SITE + "zbrush-linux.html"] + [f"{SITE}guide/{p.name[:-3]}.html" for p in pages]
+ SITE + "zbrush-alternative.html", SITE + "zbrush-linux.html", SITE + "press.html"] + [f"{SITE}guide/{p.name[:-3]}.html" for p in pages]
(ROOT / "website" / "sitemap.xml").write_text(
'<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n'
+ "".join(f" <url><loc>{html.escape(u)}</loc></url>\n" for u in urls) + "</urlset>\n", encoding="utf-8")