You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`output`|`string`| - | The directory where HTML, JavaScript, and CSS files will be written |
12
+
|`templatePath`|`string`|`'template.html'`| Path to the HTML template file |
13
+
|`project`|`string`|`'Node.js'`| Project name used in page titles and the version selector |
14
+
|`title`|`string`|`'{project} v{version} Documentation'`| Title template for HTML pages (supports `{project}`, `{version}`) |
15
+
|`editURL`|`string`|`'${GITHUB_EDIT_URL}/doc/api{path}.md'`| URL template for "edit this page" links |
16
+
|`pageURL`|`string`|`'{baseURL}/latest-{version}/api{path}.html'`| URL template for documentation page links |
17
+
|`imports`|`object`| See below | Object mapping `#theme/` aliases to component paths for customization |
18
+
|`virtualImports`|`object`|`{}`| Additional virtual module mappings merged into the build |
16
19
17
20
#### Default `imports`
18
21
@@ -42,14 +45,16 @@ export default {
42
45
The `web` generator provides a `#theme/config` virtual module that exposes pre-computed configuration as named exports. Any component (including custom overrides) can import the values it needs, and tree-shaking removes the rest.
<metaname="description" content="Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.">
<metaproperty="og:description" content="Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.">
0 commit comments