File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { ReflectionKind } from 'typedoc' ;
22
3- import { renderDefault , renderParts } from './comments.mjs' ;
43import { STANDARD_TAGS } from '../constants.mjs' ;
54import { code , heading } from '../utils/markdown.mjs' ;
65import { camelCase } from '../utils/reflections.mjs' ;
6+ import { renderDefault , renderParts } from './comments.mjs' ;
77
88/**
99 * The name members of a type are documented on: `docKitReceivers`, or the
Original file line number Diff line number Diff line change 1- // Typed lists, from which doc-kit builds signatures and their tables:
2- // `- \`name\` {Type} Description. **Default:** \`value\`.`
3- import { renderDefault , renderParts , splitSummary } from './comments.mjs' ;
4- import { parameterLabel , splitThis } from './entries.mjs' ;
5- import { renderDeclarationType , renderType } from './types.mjs' ;
61import {
72 CODE_SPAN ,
83 NESTED_INDENT ,
@@ -11,6 +6,11 @@ import {
116} from '../constants.mjs' ;
127import { code , firstSentence , indentContinuation } from '../utils/markdown.mjs' ;
138import { commentOf , membersOf , nestedObject } from '../utils/reflections.mjs' ;
9+ // Typed lists, from which doc-kit builds signatures and their tables:
10+ // `- \`name\` {Type} Description. **Default:** \`value\`.`
11+ import { renderDefault , renderParts , splitSummary } from './comments.mjs' ;
12+ import { parameterLabel , splitThis } from './entries.mjs' ;
13+ import { renderDeclarationType , renderType } from './types.mjs' ;
1414
1515/**
1616 * Joins the parts of an item that are there.
Original file line number Diff line number Diff line change 22// page.
33import { ReflectionKind } from 'typedoc' ;
44
5- import { entryHeading , renderEntry , splitThis } from './entries.mjs' ;
6- import {
7- memberPageItem ,
8- parameterItems ,
9- signatureItems ,
10- typeItem ,
11- } from './lists.mjs' ;
12- import { renderType } from './types.mjs' ;
135import { ANCHOR_SEPARATORS , EDGE_HYPHENS } from '../constants.mjs' ;
146import { code , heading } from '../utils/markdown.mjs' ;
157import {
@@ -22,6 +14,14 @@ import {
2214 signaturesOf ,
2315 typeOf ,
2416} from '../utils/reflections.mjs' ;
17+ import { entryHeading , renderEntry , splitThis } from './entries.mjs' ;
18+ import {
19+ memberPageItem ,
20+ parameterItems ,
21+ signatureItems ,
22+ typeItem ,
23+ } from './lists.mjs' ;
24+ import { renderType } from './types.mjs' ;
2525
2626/**
2727 * What a page's own entry carries besides the entry itself.
Original file line number Diff line number Diff line change 22// of its own (`docKitMemberPages`).
33import { ReflectionKind } from 'typedoc' ;
44
5+ import { code , firstSentence , heading } from '../utils/markdown.mjs' ;
6+ import {
7+ commentOf ,
8+ deref ,
9+ isCallable ,
10+ objectDeclaration ,
11+ signaturesOf ,
12+ } from '../utils/reflections.mjs' ;
513import { splitSummary } from './comments.mjs' ;
614import { entryName , renderEntry } from './entries.mjs' ;
715import { typeItem } from './lists.mjs' ;
@@ -12,14 +20,6 @@ import {
1220 renderSignature ,
1321} from './members.mjs' ;
1422import { renderType } from './types.mjs' ;
15- import { code , firstSentence , heading } from '../utils/markdown.mjs' ;
16- import {
17- commentOf ,
18- deref ,
19- isCallable ,
20- objectDeclaration ,
21- signaturesOf ,
22- } from '../utils/reflections.mjs' ;
2323
2424/**
2525 * A reflection's page title: `Interface: InputOptions`, `Function: build()`.
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import { basename } from 'node:path';
33import { slug } from '@doc-kit/core/generators/metadata/utils/slugger.mjs' ;
44import { KindRouter , PageKind , ReflectionKind } from 'typedoc' ;
55
6+ import { entryHeading } from '../render/entries.mjs' ;
67import {
78 membersOf ,
89 referencedType ,
910 signaturesOf ,
1011 typeOf ,
1112} from './reflections.mjs' ;
12- import { entryHeading } from '../render/entries.mjs' ;
1313
1414/**
1515 * The types documented on the page of the one member with a page of its own
You can’t perform that action at this time.
0 commit comments