Skip to content

Commit e1f7076

Browse files
Merge pull request #167 from universal-ember/copy-comparison-table
Add detail from #166
2 parents ef7b354 + fd837f9 commit e1f7076

File tree

5 files changed

+160
-104
lines changed

5 files changed

+160
-104
lines changed

docs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"scripts": {
66
"start": "pnpm docs:watch",
77
"debug": "npx html-pages ./dist --no-cache",
8-
"docs:collect": "typedoc --options ./typedoc.config.json",
9-
"docs:watch": "typedoc --options ./typedoc.config.json --watch"
8+
"docs:collect": "typedoc --options ./typedoc.config.mjs",
9+
"docs:watch": "typedoc --options ./typedoc.config.mjs --watch"
1010
},
1111
"devDependencies": {
12+
"markdown-it-footnote": "^4.0.0",
1213
"typedoc": "^0.28.7",
1314
"typedoc-github-theme": "^0.3.0",
1415
"typedoc-github-wiki-theme": "^2.1.0",

docs/typedoc.config.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/typedoc.config.mjs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import { createRequire } from 'node:module';
2+
3+
const require = createRequire(import.meta.url);
4+
5+
const footnotes = require('markdown-it-footnote');
6+
7+
export default {
8+
tsconfig: '../reactiveweb/tsconfig.json',
9+
markdownItLoader(parser) {
10+
parser.use(footnotes);
11+
},
12+
cleanOutputDir: true,
13+
compilerOptions: {
14+
noEmitOnError: false,
15+
},
16+
entryPoints: [
17+
'../reactiveweb/src/*',
18+
'../reactiveweb/src/resource/service.ts',
19+
'../reactiveweb/src/resource/modifier/index.ts',
20+
],
21+
navigationLinks: {
22+
GitHub: 'https://github.com/universal-ember/reactiveweb',
23+
},
24+
readme: './README.md',
25+
exclude: ['../reactiveweb/src/get-promise-state.typetest.ts'],
26+
out: 'dist',
27+
emit: 'docs',
28+
pretty: true,
29+
skipErrorChecking: true,
30+
highlightLanguages: [
31+
'bash',
32+
'css',
33+
'html',
34+
'javascript',
35+
'typescript',
36+
'glimmer-js',
37+
'glimmer-ts',
38+
'json',
39+
'jsonc',
40+
],
41+
excludePrivate: true,
42+
excludeProtected: false,
43+
excludeExternals: true,
44+
searchInComments: true,
45+
disableSources: false,
46+
categorizeByGroup: false,
47+
plugin: ['typedoc-github-theme'],
48+
};

0 commit comments

Comments
 (0)