mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix docs build
This commit is contained in:
parent
0622d2aa87
commit
14c0231a34
@ -11,9 +11,9 @@ an image you'll need to clear the cache located in the `SlideReelsCache` folder
|
||||
|
||||
## My planet is flying away at light speed and also I have anglerfish
|
||||
|
||||
Be sure to disable `hasFluidDetector` (previous had to enable `invulnerableToSun`). The anglerfish have fluid volumes in their mouths for killing you
|
||||
Be sure to disable `hasFluidDetector` (previous had to enable `invulnerableToSun`). The anglerfish have fluid volumes in their mouths for killing you
|
||||
which interact poorly with the fluid detector and can mess up the movement of the planet.
|
||||
|
||||
## My Nomai text isn't updating
|
||||
|
||||
Either clear the .nhcache files or enable Debug mode to always regenerate the text cache.
|
||||
Either clear the .nhcache files or enable Debug mode to always regenerate the text cache.
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
---
|
||||
title: Celestial Body Schema
|
||||
description: Describes a celestial body to generate
|
||||
title: "Celestial Body Schema"
|
||||
description: "Describes a celestial body to generate"
|
||||
editUrl: false
|
||||
schemaFile: body_schema.json
|
||||
schemaFile: "body_schema.json"
|
||||
---
|
||||
|
||||
import Schema from "/src/components/Schemas/Schema.astro";
|
||||
|
||||
@ -5,7 +5,9 @@ const addFrontmatter = (
|
||||
content: string,
|
||||
frontmatter: Record<string, boolean | string | object>
|
||||
) => {
|
||||
const entries = Object.entries(frontmatter).map(([key, value]) => `${key}: ${value}`);
|
||||
const entries = Object.entries(frontmatter).map(
|
||||
([key, value]) => `${key}: ${JSON.stringify(value)}`
|
||||
);
|
||||
|
||||
if (entries.length === 0) {
|
||||
return content;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user