Skip to content

Commit

Permalink
docs: update typedoc configuration (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deyang-Dai authored Dec 23, 2024
1 parent 98ebd08 commit b3e1f69
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "rimraf dist && npm run lint && tsc -b tsconfig.json && npm run copy-files",
"clean": "rimraf node_modules dist coverage docs",
"copy-files": "cpy public/* package.json LICENSE README.md THIRD_PARTY_LICENSES dist",
"docs": "typedoc src/index.ts",
"docs": "typedoc",
"format": "eslint '**/*.{ts,tsx}' --fix",
"lint": "eslint '**/*.{ts,tsx}' --quiet",
"pack:dist": "npm run build && npm run test && npm run docs && cd dist && npm pack && cd ..",
Expand Down
2 changes: 1 addition & 1 deletion src/config/cameraConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export interface CameraBaseProperty {

/**
* The Camera Animation Configuration groups the different settings used to define the camera animation behavior
* @default {@link DEFAULT_CAMERA_ANIMATION_CONFIG}
* @default {@link config/cameraAnimationConfig.DEFAULT_CAMERA_ANIMATION_CONFIG}
*/
cameraAnimationConfig?: CameraAnimationConfig;

Expand Down
2 changes: 1 addition & 1 deletion src/scene/abstractScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export abstract class AbstractScene implements IDisposable {

/**
* Turn on/off a specific lighting rig
* @param lightingName - the name of lighting, i.e. the key in {@link LightingConfig}
* @param lightingName - the name of lighting, i.e. the key in {@link Config.lightingConfig}
* @param visible - force the lighting to be visible or invisible
*/
public toggleLighting(lightingName: string, visible?: boolean): void {
Expand Down
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
"es2015.symbol.wellknown"
],
"outDir": "./dist",
"rootDir": "./src",
"rootDir": "./src"
},
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"entryPoints": ["src"],
"entryPointStrategy": "expand",
"exclude": "**/*+(index|.d).ts",
"excludeReferences": true,
"out": "docs"
},
"include": ["./src/**/*"],
Expand Down

0 comments on commit b3e1f69

Please sign in to comment.