From c38ab1d4e4d6c83649f8f9930bb43d6e1e3870ed Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Thu, 24 Nov 2022 17:42:13 +0100 Subject: [PATCH] Update links to the docs --- theatre/core/README.md | 2 +- theatre/core/src/coreExports.ts | 4 ++-- theatre/core/src/projects/TheatreProject.ts | 4 ++-- theatre/core/src/sequences/TheatreSequence.ts | 2 +- theatre/core/src/sheets/TheatreSheet.ts | 2 +- theatre/studio/README.md | 2 +- theatre/studio/src/panels/DetailPanel/EmptyState.tsx | 2 +- theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx | 2 +- .../DetailPanel/ProjectDetails/StateConflictRow.tsx | 2 +- theatre/studio/src/toolbars/MoreMenu/MoreMenu.tsx | 8 ++++---- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/theatre/core/README.md b/theatre/core/README.md index 9ba58cc..e847a68 100644 --- a/theatre/core/README.md +++ b/theatre/core/README.md @@ -30,7 +30,7 @@ You can use Theatre.js to: ## Documentation and Tutorials -You can find the documentation and video tutorials [here](https://docs.theatrejs.com). +You can find the documentation and video tutorials [here](https://theatrejs.com/docs/latest). ## Community diff --git a/theatre/core/src/coreExports.ts b/theatre/core/src/coreExports.ts index b652689..ebb92ce 100644 --- a/theatre/core/src/coreExports.ts +++ b/theatre/core/src/coreExports.ts @@ -24,7 +24,7 @@ export {types} * @remarks * If \@theatre/studio is also loaded, then the state of the project will be managed by the studio. * - * [Learn more about exporting](https://docs.theatrejs.com/in-depth/#exporting) + * [Learn more about exporting](https://www.theatrejs.com/docs/latest/manual/projects#state) * * @example * Usage: @@ -96,7 +96,7 @@ const shallowValidateOnDiskState = (projectId: ProjectId, s: OnDiskState) => { throw new InvalidArgumentError( `Error validating conf.state in Theatre.getProject(${JSON.stringify( projectId, - )}, conf). The state seems to be formatted in a way that is unreadable to Theatre.js. Read more at https://docs.theatrejs.com`, + )}, conf). The state seems to be formatted in a way that is unreadable to Theatre.js. Read more at https://www.theatrejs.com/docs/latest/manual/projects#state`, ) } } diff --git a/theatre/core/src/projects/TheatreProject.ts b/theatre/core/src/projects/TheatreProject.ts index 3893bf3..d3576d9 100644 --- a/theatre/core/src/projects/TheatreProject.ts +++ b/theatre/core/src/projects/TheatreProject.ts @@ -17,7 +17,7 @@ import type {$IntentionalAny} from '@theatre/shared/utils/types' */ export type IProjectConfig = { /** - * The state of the project, as [exported](https://docs.theatrejs.com/in-depth/#exporting) by the studio. + * The state of the project, as [exported](https://www.theatrejs.com/docs/latest/manual/projects#state) by the studio. */ state?: $IntentionalAny // experiments?: IProjectConfigExperiments @@ -67,7 +67,7 @@ export interface IProject { * @param instanceId - Optionally provide an `instanceId` if you want to create multiple instances of the same Sheet * @returns The newly created Sheet * - * **Docs: https://docs.theatrejs.com/in-depth/#sheets** + * **Docs: https://www.theatrejs.com/docs/latest/manual/sheets** */ sheet(sheetId: string, instanceId?: string): ISheet } diff --git a/theatre/core/src/sequences/TheatreSequence.ts b/theatre/core/src/sequences/TheatreSequence.ts index ea4f629..4abf47b 100644 --- a/theatre/core/src/sequences/TheatreSequence.ts +++ b/theatre/core/src/sequences/TheatreSequence.ts @@ -131,7 +131,7 @@ export interface ISequence { * * @returns A promise that resolves once the audio source is loaded and decoded * - * Learn more [here](https://docs.theatrejs.com/in-depth/#sequence-attachaudio). + * Learn more [here](https://www.theatrejs.com/docs/latest/manual/audio). * * @example * Usage: diff --git a/theatre/core/src/sheets/TheatreSheet.ts b/theatre/core/src/sheets/TheatreSheet.ts index 5b9cb64..9f91fcf 100644 --- a/theatre/core/src/sheets/TheatreSheet.ts +++ b/theatre/core/src/sheets/TheatreSheet.ts @@ -42,7 +42,7 @@ export interface ISheet { /** * Creates a child object for the sheet * - * **Docs: https://docs.theatrejs.com/in-depth/#objects** + * **Docs: https://www.theatrejs.com/docs/latest/manual/objects** * * @param key - Each object is identified by a key, which is a non-empty string * @param props - The props of the object. See examples diff --git a/theatre/studio/README.md b/theatre/studio/README.md index 1332a4c..287e65a 100644 --- a/theatre/studio/README.md +++ b/theatre/studio/README.md @@ -30,7 +30,7 @@ You can use Theatre.js to: ## Documentation and Tutorials -You can find the documentation and video tutorials [here](https://docs.theatrejs.com). +You can find the documentation and video tutorials [here](https://www.theatrejs.com/docs/latest). ## Community diff --git a/theatre/studio/src/panels/DetailPanel/EmptyState.tsx b/theatre/studio/src/panels/DetailPanel/EmptyState.tsx index d2a219b..8defa0e 100644 --- a/theatre/studio/src/panels/DetailPanel/EmptyState.tsx +++ b/theatre/studio/src/panels/DetailPanel/EmptyState.tsx @@ -43,7 +43,7 @@ const EmptyState: FC = () => { {/* Links like this should probably be managed centrally so that we can have a process for updating them when the docs change. */} Learn more about Objects diff --git a/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx b/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx index 3ca3cdd..a5f8960 100644 --- a/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx +++ b/theatre/studio/src/panels/DetailPanel/ProjectDetails.tsx @@ -70,7 +70,7 @@ const ProjectDetails: React.FC<{ commit this file to your git repo and include it in your production bundle. Here is a quick guide on how to export to production. diff --git a/theatre/studio/src/panels/DetailPanel/ProjectDetails/StateConflictRow.tsx b/theatre/studio/src/panels/DetailPanel/ProjectDetails/StateConflictRow.tsx index aa29798..77e4a75 100644 --- a/theatre/studio/src/panels/DetailPanel/ProjectDetails/StateConflictRow.tsx +++ b/theatre/studio/src/panels/DetailPanel/ProjectDetails/StateConflictRow.tsx @@ -107,7 +107,7 @@ const InConflict: React.FC<{ Browser state is not based on disk state.{' '} Learn more. diff --git a/theatre/studio/src/toolbars/MoreMenu/MoreMenu.tsx b/theatre/studio/src/toolbars/MoreMenu/MoreMenu.tsx index fbbad97..315e586 100644 --- a/theatre/studio/src/toolbars/MoreMenu/MoreMenu.tsx +++ b/theatre/studio/src/toolbars/MoreMenu/MoreMenu.tsx @@ -124,7 +124,7 @@ const MoreMenu = React.forwardRef((props: {}, ref) => { @@ -133,7 +133,7 @@ const MoreMenu = React.forwardRef((props: {}, ref) => { @@ -184,7 +184,7 @@ const MoreMenu = React.forwardRef((props: {}, ref) => { {