You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/options/input.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ If a `"typedoc"` [conditional export](https://nodejs.org/api/packages.html#condi
35
35
TypeDoc will use it instead of the `"import"` export condition.
36
36
37
37
The set of entry points provided to TypeDoc determines the names displayed in the documentation.
38
-
By default, TypeDoc will derive a [basePath](output.md#basepath) based on your entry point
38
+
By default, TypeDoc will derive a [displayBasePath](output.md#displaybasepath) based on your entry point
39
39
paths to determine the displayed module name, but it can be also be set with the [`@module`](../tags/module.md) tag.
40
40
41
41
## entryPointStrategy
@@ -311,14 +311,24 @@ If you are updating documentation for a forked package, you probably want to pas
311
311
typedoc --disableGit
312
312
```
313
313
314
-
Prevents TypeDoc from using Git to try to determine if sources can be linked, with this enabled, sources will always be linked, even if not part of a git repo.
314
+
Prevents TypeDoc from using Git to try to determine if sources can be linked, with this enabled, sources will always be
315
+
linked, even if not part of a git repo.
315
316
316
317
## readme
317
318
318
319
```bash
319
320
typedoc --readme <path/to/readme|none>
320
321
```
321
322
322
-
Path to the readme file that should be displayed on the index page. If set to
323
-
`none`, or no readme file is automatically discovered, the index page will be
324
-
disabled.
323
+
Path to the readme file that should be displayed on the index page. If set to `none`, or no readme file is automatically
324
+
discovered, the index page will be disabled.
325
+
326
+
## basePath
327
+
328
+
```bash
329
+
typedoc --basePath ./
330
+
```
331
+
332
+
Path to a directory containing asset files which will be checked when resolving relative paths of links and images
333
+
within documentation comments and external documents. If specified, this will also be used for the default value of
334
+
the [displayBasePath](output.md#displaybasepath) option.
Copy file name to clipboardExpand all lines: src/lib/internationalization/locales/en.cts
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -311,12 +311,14 @@ export = {
311
311
"Use the specified remote for linking to GitHub/Bitbucket source files. Has no effect if disableGit or disableSources is set",
312
312
help_disableGit:
313
313
"Assume that all can be linked to with the sourceLinkTemplate, sourceLinkTemplate must be set if this is enabled. {path} will be rooted at basePath",
314
-
help_basePath: "Specifies the base path to be used when displaying file paths",
314
+
help_displayBasePath:
315
+
"Specifies the base path to be used when displaying file paths. If not specified, basePath is used.",
315
316
help_excludeTags: "Remove the listed block/modifier tags from doc comments",
316
317
help_notRenderedTags: "Tags which will be preserved in doc comments, but not rendered when creating output",
317
318
help_cascadedModifierTags: "Modifier tags which should be copied to all children of the parent reflection",
318
319
help_readme:
319
320
"Path to the readme file that should be displayed on the index page. Pass `none` to disable the index page and start the documentation on the globals page",
321
+
help_basePath: "Specifies a path which links may be resolved relative to.",
320
322
help_cname: "Set the CNAME file text, it's useful for custom domains on GitHub Pages",
321
323
help_favicon: "Path to favicon to include as the site icon",
0 commit comments