Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonrt committed Jan 3, 2024
1 parent d1806f5 commit 1a8269e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/generate/typedoc/typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ async function generate(config, logLevel, mdnDataPath)
{
// Create a new TypeDoc application instance
const app = await Application.bootstrapWithPlugins({
// Default Modern Theme options --------------------------------------------------------------------------------

// Sets favicon.
dmtFavicon: config.favicon,

// TypeDoc options ---------------------------------------------------------------------------------------------

name: config.name,

// Adds mdn-links CSS variables.
Expand All @@ -72,9 +79,6 @@ async function generate(config, logLevel, mdnDataPath)
// Disables the source links as they reference the d.ts files.
disableSources: config.disableSources ?? true,

// Sets favicon.
dmtFavicon: config.favicon,

entryPoints: config.entryPoints,

// Hide the documentation generator footer.
Expand Down Expand Up @@ -128,8 +132,8 @@ const kindSortOrder = [
'Module',
'Enum',
'EnumMember',
'Interface',
'Namespace',
'Interface',
'Class',
'TypeAlias',
'Constructor',
Expand Down

0 comments on commit 1a8269e

Please sign in to comment.