Skip to content

Commit 29df793

Browse files
authored
Merge branch 'master' into master
2 parents dc3c6f9 + a2d3704 commit 29df793

File tree

8 files changed

+40
-27
lines changed

8 files changed

+40
-27
lines changed

.github/pull.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: "1"
2+
rules:
3+
- base: master
4+
upstream: typestrong:master
5+
mergeMethod: merge
6+
label: ":arrow_heading_down: pull"

examples/basic/media/logo-128.png

-1 Bytes
Loading

package-lock.json

Lines changed: 19 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "typedoc",
2+
"name": "@gerrit0/typedoc",
33
"description": "Create api documentation for TypeScript projects.",
4-
"version": "0.15.0-0",
4+
"version": "0.15.0",
55
"homepage": "https://typedoc.org",
66
"main": "dist/index.js",
77
"typings": "dist/index.d.ts",
@@ -15,7 +15,7 @@
1515
"license": "Apache-2.0",
1616
"repository": {
1717
"type": "git",
18-
"url": "git://github.com/TypeStrong/TypeDoc.git"
18+
"url": "git://github.com/Gerrit0/TypeDoc.git"
1919
},
2020
"bugs": {
2121
"url": "https://github.com/TypeStrong/TypeDoc/issues"
@@ -30,6 +30,7 @@
3030
"node": ">= 6.0.0"
3131
},
3232
"dependencies": {
33+
"@gerrit0/typedoc-default-themes": "^0.6.0",
3334
"@types/minimatch": "3.0.3",
3435
"fs-extra": "^7.0.1",
3536
"handlebars": "^4.1.2",
@@ -39,7 +40,6 @@
3940
"minimatch": "^3.0.0",
4041
"progress": "^2.0.3",
4142
"shelljs": "^0.8.3",
42-
"typedoc-default-themes": "^0.6.0-0",
4343
"typescript": "3.5.x"
4444
},
4545
"devDependencies": {
@@ -64,7 +64,7 @@
6464
],
6565
"scripts": {
6666
"pretest": "node scripts/copy_test_files.js",
67-
"test": "nyc --reporter=html --reporter=text-summary mocha --timeout=10000 dist/test/*.test.js",
67+
"test": "nyc --reporter=html --reporter=text-summary mocha --timeout=30000 dist/test/*.test.js",
6868
"test:ts": "mocha --require ts-node/register --watch-extensions ts --timeout=10000 src/test/*.test.ts",
6969
"build": "tsc --project .",
7070
"postbuild": "node scripts/replace_application_version.js",

scripts/rebuild_specs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const app = new TypeDoc.Application({
1616
"lib.es2015.iterable.d.ts",
1717
"lib.es2015.collection.d.ts"
1818
],
19+
name: 'typedoc'
1920
});
2021

2122
const base = path.join(__dirname, '../src/test/converter');

src/lib/output/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class Renderer extends ChildableComponent<Application, RendererComponent>
279279
* @returns The path to the theme directory.
280280
*/
281281
static getThemeDirectory(): string {
282-
return Path.dirname(require.resolve('typedoc-default-themes'));
282+
return Path.dirname(require.resolve('@gerrit0/typedoc-default-themes'));
283283
}
284284

285285
/**

src/test/converter.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ describe('Converter', function() {
6868
target: 'ES5',
6969
module: 'CommonJS',
7070
experimentalDecorators: true,
71-
jsx: 'react'
71+
jsx: 'react',
72+
name: 'typedoc'
7273
});
7374
});
7475

@@ -112,7 +113,8 @@ describe('Converter with categorizeByGroup=false', function() {
112113
module: 'CommonJS',
113114
experimentalDecorators: true,
114115
categorizeByGroup: false,
115-
jsx: 'react'
116+
jsx: 'react',
117+
name: 'typedoc'
116118
});
117119
});
118120

@@ -166,7 +168,8 @@ describe('Converter with excludeNotExported=true', function() {
166168
module: 'CommonJS',
167169
experimentalDecorators: true,
168170
excludeNotExported: true,
169-
jsx: 'react'
171+
jsx: 'react',
172+
name: 'typedoc'
170173
});
171174
});
172175

src/test/renderer.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ describe('Renderer', function() {
6161
target: 'ES5',
6262
readme: Path.join(src, '..', 'README.md'),
6363
module: 'CommonJS',
64-
gaSite: 'foo.com' // verify theme option without modifying output
64+
gaSite: 'foo.com', // verify theme option without modifying output
65+
name: 'typedoc'
6566
});
6667
});
6768

0 commit comments

Comments
 (0)