Skip to content

Commit

Permalink
Latest DMT changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonrt committed May 7, 2024
1 parent c33f69b commit 9dcedc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/generate/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { processDTS } from './processDTS.js';
import { typedoc } from './typedoc/typedoc.js';

// Process the TRL runtime & standard libraries along with the Svelte library moving DTS files to `.doc-gen`.
// processDTS();
processDTS();

// Generate TypeDoc documentation from `.doc-gen`.
await typedoc();
12 changes: 9 additions & 3 deletions src/generate/typedoc/typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,23 @@ export async function typedoc(logLevel = LogLevel.Verbose)
dmtFavicon: './assets/icons/favicon.ico',

// Replaces 'Module' for 'Package'.
dmtModuleAsPackage: true,
dmtModuleRemap: {
isPackage: true
},

// Add service icon links in toolbar.
dmtLinksService: {
"Discord": "https://discord.gg/mnbgN8f",
"Discord": "https://typhonjs.io/discord/",
"GitHub": "https://github.com/typhonjs-fvtt-lib/typhonjs",
"NPM": "https://www.npmjs.com/package/@typhonjs-fvtt/runtime"
},

entryPoints,
entryPointStrategy: 'expand',

// Excludes any @internal marked symbols.
excludeInternal: true,

// Excludes any private members including the `#private;` member added by Typescript.
excludePrivate: true,

Expand Down Expand Up @@ -80,9 +85,10 @@ export async function typedoc(logLevel = LogLevel.Verbose)

theme: 'default-modern',

// Only show the `inherited` filter.
// Only show the `inherited` & `protected` filters.
visibilityFilters: {
inherited: true,
protected: true
}
}, [new TSConfigReader()]);

Expand Down

0 comments on commit 9dcedc6

Please sign in to comment.