Visualize Your Ideas With Code
docs: fix links (#325)
Jacob7ef3bb03f21e
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 5dbb48d7..cf464371 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -23,6 +23,6 @@"@typescript-eslint/ban-ts-comment": "off","@typescript-eslint/no-non-null-assertion": "off","@typescript-eslint/no-namespace": "off",- "tsdoc/syntax": "warn"+ "tsdoc/syntax": "error"}}diff --git a/packages/2d/src/components/Layout.ts b/packages/2d/src/components/Layout.tsindex cbd677a8..cabf5038 100644--- a/packages/2d/src/components/Layout.ts+++ b/packages/2d/src/components/Layout.ts@@ -295,7 +295,7 @@ export class Layout extends Node {* A size is a two-dimensional vector, where `x` represents the `width`, and `y`* represents the `height`.*- * The value of both x and y is of type {@link partials~Length} which is+ * The value of both x and y is of type {@link partials.Length} which is* either:* - `number` - the desired length in pixels* - `${number}%` - a string with the desired length in percents, for examplediff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 1ce96aea..7246402d 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -7,4 +7,3 @@export * from './Logger';export * from './Meta';export * from './Project';-export * from './symbols';diff --git a/packages/core/src/scenes/Scene.ts b/packages/core/src/scenes/Scene.tsindex c4b6f494..7aef4499 100644--- a/packages/core/src/scenes/Scene.ts+++ b/packages/core/src/scenes/Scene.ts@@ -87,12 +87,12 @@ export enum SceneRenderEvent {BeforeRender,/*** Occurs at the beginning of a render when the Scene's- * {@link utils~useContext} handlers are applied.+ * {@link utils.useContext} handlers are applied.*/BeginRender,/*** Occurs at the end of a render when the Scene's- * {@link utils~useContextAfter} handlers are applied.+ * {@link utils.useContextAfter} handlers are applied.*/FinishRender,/**diff --git a/packages/core/src/scenes/TimeEvents.ts b/packages/core/src/scenes/TimeEvents.tsindex 2da607ea..e91c07eb 100644--- a/packages/core/src/scenes/TimeEvents.ts+++ b/packages/core/src/scenes/TimeEvents.ts@@ -14,7 +14,7 @@ export interface TimeEvent {* was registered.** @remarks- * In other words, the moment at which {@link flow~waitUntil} for this event+ * In other words, the moment at which {@link flow.waitUntil} for this event* was invoked.*/initialTime: number;diff --git a/packages/core/src/symbols.ts b/packages/core/src/symbols.tsdeleted file mode 100644index bd245087..00000000--- a/packages/core/src/symbols.ts+++ /dev/null@@ -1,2 +0,0 @@-export const ANIMATE = Symbol.for('ANIMATE');-export const NODE_ID = Symbol.for('NODE_ID');diff --git a/packages/core/src/threading/Thread.ts b/packages/core/src/threading/Thread.tsindex 597af42e..5456fbd1 100644--- a/packages/core/src/threading/Thread.ts+++ b/packages/core/src/threading/Thread.ts@@ -23,7 +23,7 @@ export class Thread {* The current time of this thread.** @remarks- * Used by {@link flow~waitFor} and other time-based functions to properly+ * Used by {@link flow.waitFor} and other time-based functions to properly* support durations shorter than one frame.*/public readonly time = createSignal(0);diff --git a/packages/core/src/utils/useTime.ts b/packages/core/src/utils/useTime.tsindex fe949602..929e665e 100644--- a/packages/core/src/utils/useTime.ts+++ b/packages/core/src/utils/useTime.ts@@ -5,7 +5,7 @@ import {useThread} from './useThread';** @remarks* The returned value accounts for offsets caused by functions such as- * {@link flow~waitFor}.+ * {@link flow.waitFor}.** @example* ```ts