benallfree / typedoc-site

Website for TypeDoc

Home Page:https://typedoc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeDoc homepage

Holds the contents of https://typedoc.org. GitHub pages renders the website from the gh-pages branch, using the _site/ folder.

Reporting Issues

Please report issues to the TypeStrong/typedoc repo for better visibility.

Writing guides

Guides are stored in the guides/ directory and written in Markdown. Each file should contain the following header section with an appropriate title and menu order.

---
layout: 'guide'
title: 'Installation'
menuOrder: 1
---

Building the site locally

npm i
npm run serve

To regenerate the _site/api/ folder, go to the root directory of typedoc-site and clone the typedoc repo (the typedoc folder is in .gitignore). Then run:

cd typedoc
npm i
npm run build
node bin/typedoc --options ../typedoc.json

To regenerate the _site/example/ folder:

cd typedoc/example
npm i
node ../bin/typedoc --options ../../example.typedoc.json

If new options have been added since the last update, run the following to update the typedoc.json schema:

node typedoc/scripts/generate_options_schema.js _site/schema.json

About

Website for TypeDoc

https://typedoc.org


Languages

Language:TypeScript 35.7%Language:SCSS 30.4%Language:JavaScript 15.4%Language:HTML 12.6%Language:Nunjucks 4.5%Language:Liquid 1.5%