Skip to content

Commit

Permalink
fix(CI): compodoc now working off custom config
Browse files Browse the repository at this point in the history
also changed the theme
  • Loading branch information
benjamincharity committed Nov 26, 2019
1 parent 6b1e87d commit 93c9ca9
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- *attach_workspace
- run:
name: Generate Documentation
command: yarn run docs
command: yarn run docs:ci
- run:
name: Install emoji tool
command: yarn global add emojis
Expand Down
36 changes: 36 additions & 0 deletions .compodocrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "./node_modules/@compodoc/compodoc/src/config/schema.json",
"customFavicon": "./demo/favicon.ico",
"customLogo": "./tooling/mark-small.svg",
"disableDomTree": true,
"disableInternal": true,
"disableLifeCycleHooks": true,
"disablePrivate": true,
"disableRoutesGraph": true,
"disableStyleTab": true,
"disableTemplateTab": true,
"disableCoverage": true,
"hideGenerator": true,
"name": "Terminus UI",
"navTabConfig": [
{
"id": "info",
"label": "API"
},
{
"id": "readme",
"label": "Usage Guides"
},
{
"id": "source",
"label": "TypeScript"
},
{
"id": "example",
"label": "Live Demo"
}
],
"output": "./docs",
"theme": "laravel",
"tsconfig": "./terminus-ui/tsconfig.compodoc.json"
}
2 changes: 1 addition & 1 deletion terminus-ui/tsconfig.compodoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"exclude": [
"**/*.spec.ts",
"**/*.mock.ts",
"**/testing/*"
"**/testing/**"
]
}
1 change: 1 addition & 0 deletions tooling/mark-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93c9ca9

Please sign in to comment.