@blazed-space/blz-typedoc-theme
v0.0.2
Published
Typedoc theme made by Blazed Labs LLC (support v0.24).
Downloads
1
Readme
blz-typedoc-theme
Typedoc theme made by Blazed Labs LLC (support v0.24).
Using This Theme
Either clone this repo and copy the /example directory, or:
- Install typedoc & blz-typedoc-theme
npm install typedoc @blazed-space/blz-typedoc-theme
- Create a typedoc config (typedoc.json)
{
"$schema": "https://typedoc.org/schema.json",
"includeVersion": true,
"plugin": ["@blazed-space/blz-typedoc-theme"],
"theme": "my-theme",
"entryPoints": ["./src/index.ts"],
"out": "./docs"
}
- Be sure to create a /media folder, and at minimum add a favicon.ico, manifest.json, and /styles/global.css.
- To build documentation, add the following scripts to your package.json:
{
"scripts": {
"docs:build": "npx typedoc",
"docs:serve": "cd docs && npx static-server"
}
}
- You can now build docs using the command:
npm run docs:build
- Once built, you can open the .html files directly in the browser (not reccommended) or you can run a local static server with the following command:
npm run docs:serve
Local Development
- To develop this theme locally, first clone the GitHub repo
git clone https://github.com/blazed-space/blz-typedoc-theme
- Next, install dependencies with NPM:
npm install
- Now you can build the library:
npm run lib:build
- And build the example site:
npm run example:build
- To serve the example site locally,
npm run example:serve