Fix absolute to relative links

master
Noah 2024-05-04 19:56:49 -07:00
parent 02ea89a96e
commit bf93fab095
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ The `time` global exposes the following duration intervals as seen in the above
## Console Logging
Like in node.js and the web browser, `console.log` and friends are available for logging from a doodad script. Logs are emitted to the same place as the game's logs are (e.g. standard output and to your [profile directory](/profile-directory.html)).
Like in node.js and the web browser, `console.log` and friends are available for logging from a doodad script. Logs are emitted to the same place as the game's logs are (e.g. standard output and to your [profile directory](../profile-directory.html)).
```javascript
console.log("Hello world!");

View File

@ -6,7 +6,7 @@ I've always loved it when developers keep debugging features in their released g
## Log File
The game emits logs during its runtime to standard output. Launching the game from within a terminal on Linux or macOS will show the logs there, color coded by error level. The log from the most recent run of the game is also saved to your [profile directory](/profile-directory.html), which may be the only way to see the logs on a Windows machine.
The game emits logs during its runtime to standard output. Launching the game from within a terminal on Linux or macOS will show the logs there, color coded by error level. The log from the most recent run of the game is also saved to your [profile directory](../profile-directory.html), which may be the only way to see the logs on a Windows machine.
When custom doodad scripts use `console.log()` and similar, their logs are also written to this file, and it can be useful when debugging your custom doodad scripts.