Skip to content

Commit 4b5b128

Browse files
committed
docs: fix docs build
1 parent bf3ad56 commit 4b5b128

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/trueskill.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,12 @@ export class TrueSkill {
162162
* Calculates the match quality of the given rating groups. Result
163163
* is the draw probability in the association::
164164
*
165-
* env = TrueSkill()
166-
* if env.quality([team1, team2, team3]) < 0.50 {
167-
* console.log('This match seems to be not so fair')
168-
* }
165+
* ```ts
166+
* env = TrueSkill()
167+
* if (env.quality([team1, team2, team3]) < 0.50) {
168+
* console.log('This match seems to be not so fair')
169+
* }
170+
* ```
169171
*/
170172
quality(ratingGroups: Rating[][], weights?: number[][]): number {
171173
function createVarianceMatrix(flattenRatings: Rating[], height: number, width: number) {

typedoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"entryPoints": ["src/index.ts"],
3-
"tsconfig": "tsconfig.build.json",
3+
"tsconfig": "tsconfig.json",
44
"out": "docs",
55
"excludePrivate": true,
66
"excludeProtected": true,

0 commit comments

Comments
 (0)