diff --git a/.gitignore b/.gitignore index 6f28bd23..8e482162 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ idea-out *.iws _doc +_ng2_docs _bundles lib lib-esm diff --git a/package.json b/package.json index 1cbc0677..a9eab8e8 100644 --- a/package.json +++ b/package.json @@ -85,13 +85,15 @@ "docgen": { "publishDir": "_ng2_docs", "navigation": { - "": [ - "UIRouter" + "UIRouter": [ + "UIRouter", + "UIRouterModule" ], "Services": [ "StateService", "StateRegistry", "TransitionService", + "UIRouterGlobals", "UrlService", "UrlConfig", "UrlRules" @@ -104,7 +106,11 @@ "Components": [ "UIView", "UISref", - "UISrefActive" + "UISrefActive", + "UISrefStatus" + ], + "Standalone": [ + "provideUIRouter" ], "Other": [ "Transition", diff --git a/tsconfig.docgen.json b/tsconfig.docgen.json index 8a94b27b..746e8f5f 100644 --- a/tsconfig.docgen.json +++ b/tsconfig.docgen.json @@ -4,9 +4,9 @@ "rootDir": ".", "baseUrl": ".", "paths": { - "@uirouter/core": ["./includes/@uirouter/core/src"], - "@uirouter/core/lib/globals": ["./includes/@uirouter/core/src/globals"], - "@uirouter/rx": ["./includes/@uirouter/rx/src"] + "@uirouter/core": ["../includes/@uirouter/core/src"], + "@uirouter/core/lib/globals": ["../includes/@uirouter/core/src/globals"], + "@uirouter/rx": ["../includes/@uirouter/rx/src"] } } } diff --git a/typedoc.json b/typedoc.json index 1864848d..815a9ea1 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,8 +1,24 @@ { + "$schema": "https://typedoc.org/schema.json", "name": "@uirouter/angular", "readme": "README.md", - "out": "project/_doc", - "stripInternal": true, - "excludeNotExported": true, - "excludePrivate": true + "out": "project/_ng2_docs", + "entryPoints": [ + "src/index.ts" + ], + "excludeInternal": true, + "githubPages": false, + "visibilityFilters": { + "external": true, + "inherited": true, + "private": true, + "protected": true + }, + "navigation": { + "includeCategories": true, + "includeGroups": true + }, + "plugin": [ + "typedoc-plugin-ui-router" + ] }