From 67c7168b3c30dbf6578626bb4a9977905edae768 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Wed, 22 May 2024 14:25:30 +0200 Subject: [PATCH] Fix broken links --- src/main/kotlin/docs/30_Drawing/C150_CurvesAndShapes.kt | 4 ++-- src/main/kotlin/docs/30_Drawing/C300_Colorbuffers.kt | 2 +- src/main/kotlin/docs/80_ORX/C180_Quick_UIs.kt | 2 +- .../docs/90_Advanced_Topics/C140_Headless_applications.kt | 2 +- src/main/kotlin/docs/C20_SetupYourFirstProgram.kt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/docs/30_Drawing/C150_CurvesAndShapes.kt b/src/main/kotlin/docs/30_Drawing/C150_CurvesAndShapes.kt index b4bac37..e7ce63d 100644 --- a/src/main/kotlin/docs/30_Drawing/C150_CurvesAndShapes.kt +++ b/src/main/kotlin/docs/30_Drawing/C150_CurvesAndShapes.kt @@ -188,7 +188,7 @@ fun main() { @Text """ The list of available methods can be found at the - [API website](https://api.openrndr.org/openrndr-shape/org.openrndr.shape/-segment/index.html) + [API website](https://api.openrndr.org/openrndr-shape/org.openrndr.shape/-segment2-d/index.html) or in the [source code](https://github.com/openrndr/openrndr/tree/master/openrndr-shape/src/commonMain/kotlin/org/openrndr/shape). @@ -703,7 +703,7 @@ fun main() { #### reversed, close(), transform(), ... For more properties and methods explore the - [API website](https://api.openrndr.org/openrndr-shape/org.openrndr.shape/-shape-contour/index.html) + [API website](https://api.openrndr.org/openrndr-shape/org.openrndr.shape/-path/position.html) or the [source code](https://github.com/openrndr/openrndr/tree/master/openrndr-shape/src/commonMain/kotlin/org/openrndr/shape). diff --git a/src/main/kotlin/docs/30_Drawing/C300_Colorbuffers.kt b/src/main/kotlin/docs/30_Drawing/C300_Colorbuffers.kt index e805e11..9b1abbc 100644 --- a/src/main/kotlin/docs/30_Drawing/C300_Colorbuffers.kt +++ b/src/main/kotlin/docs/30_Drawing/C300_Colorbuffers.kt @@ -147,7 +147,7 @@ fun main() { When repeatedly saving color buffers asynchronously (the default) it is possible to run out of memory. This can happen if the software can not save images at the requested frame rate. In such situations we can either set `async = false` in `saveToFile()` or avoid `saveToFile` and use the - [VideoWriter](https://guide.openrndr.org/videos/writingToVideoFiles.html#writing-to-video-using-render-targets) + [VideoWriter](https://guide.openrndr.org/extensions/writingToVideoFiles.html#writing-to-video-using-render-targets) together with [pngSequence](https://github.com/openrndr/orx/tree/master/orx-jvm/orx-video-profiles#png-sequence) or [tiffSequence](https://github.com/openrndr/orx/tree/master/orx-jvm/orx-video-profiles#tiff-sequence) instead. diff --git a/src/main/kotlin/docs/80_ORX/C180_Quick_UIs.kt b/src/main/kotlin/docs/80_ORX/C180_Quick_UIs.kt index 8da0cda..68fc114 100644 --- a/src/main/kotlin/docs/80_ORX/C180_Quick_UIs.kt +++ b/src/main/kotlin/docs/80_ORX/C180_Quick_UIs.kt @@ -45,7 +45,7 @@ fun main() { `orx-gui` is incredibly powerful in combination with the live coding environment [`orx-olive`](https://github.com/openrndr/orx/tree/master/orx-jvm/orx-olive), the guide covers that in the - [live coding section](https://guide.openrndr.org/ORX/liveCoding.html). + [live coding section](https://guide.openrndr.org/useCases/liveCoding.html). That said, it is not a required combination. ## Prerequisites diff --git a/src/main/kotlin/docs/90_Advanced_Topics/C140_Headless_applications.kt b/src/main/kotlin/docs/90_Advanced_Topics/C140_Headless_applications.kt index ecd31eb..b9b2f02 100644 --- a/src/main/kotlin/docs/90_Advanced_Topics/C140_Headless_applications.kt +++ b/src/main/kotlin/docs/90_Advanced_Topics/C140_Headless_applications.kt @@ -34,7 +34,7 @@ fun main() { is no backbuffer. In order to draw you need to create a [RenderTarget](https://guide.openrndr.org/drawing/renderTargets.html) and draw on it. Render target contents can easily be saved to file, or rendered to - [video](https://guide.openrndr.org/videos/writingToVideoFiles.html). + [video](https://guide.openrndr.org/extensions/writingToVideoFiles.html#writing-to-video-using-render-targets). #### Mouse and keyboard events diff --git a/src/main/kotlin/docs/C20_SetupYourFirstProgram.kt b/src/main/kotlin/docs/C20_SetupYourFirstProgram.kt index d33a727..e6c66a6 100644 --- a/src/main/kotlin/docs/C20_SetupYourFirstProgram.kt +++ b/src/main/kotlin/docs/C20_SetupYourFirstProgram.kt @@ -95,7 +95,7 @@ fun main() { At this point you are likely interested in how this program is structured. The guide explains more in the - [Program basics](https://guide.openrndr.org/programBasics/applicationProgram.html) chapter. + [Program basics](https://guide.openrndr.org/programBasics/application.html) chapter. If you are more interested in reading source code you can find the code for the examples in this guide in the