diff --git a/src/index.ts b/src/index.ts index c0a8215..f97fdec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,6 @@ /** - * Some code reproducing a bug. + * See {@link Module!~someVar} + * + * See {@link Module.someVar} */ export const bug = 123; diff --git a/src/module.ts b/src/module.ts new file mode 100644 index 0000000..6416c81 --- /dev/null +++ b/src/module.ts @@ -0,0 +1,5 @@ +/** + * @module Module + */ + +export const someVar = 1; diff --git a/typedoc.json b/typedoc.json index c990e40..274fdde 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,8 +1,9 @@ { - "$schema": "https://typedoc.org/schema.json", - "entryPoints": ["src/index.ts"], + "$schema": "https://typedoc.org/schema.json", + "entryPoints": ["src/"], + "entryPointStrategy": "expand", - "treatWarningsAsErrors": true, - "out": "docs", - "json": "docs/docs.json" + "treatWarningsAsErrors": true, + "out": "docs", + "json": "docs/docs.json" }