@@ -100,12 +101,12 @@ Node.js __VERSION__
__TOC_PICKER__ __GTOC_PICKER__ __ALTDOCS__
-
+
Options
-
Node.js __VERSION__ documentation
-
-
+
- View on single page diff --git a/src/generators/legacy-html/utils/buildDropdowns.mjs b/src/generators/legacy-html/utils/buildDropdowns.mjs index 0ec0d879..22d9cb01 100644 --- a/src/generators/legacy-html/utils/buildDropdowns.mjs +++ b/src/generators/legacy-html/utils/buildDropdowns.mjs @@ -23,10 +23,10 @@ import { const buildToC = tableOfContents => { if (tableOfContents.length) { return ( - `
- ` +
+ `
- ` + `` + `Table of contents
` + `` + - `${tableOfContents}${tableOfContents.replace('`
);
}
@@ -42,9 +42,9 @@ const buildToC = tableOfContents => {
* @param {string} navigationContents The stringified Navigation
*/
const buildNavigation = navigationContents =>
- ` - ` + `` + `Table of contents
- ` +
+ `
- ` + `Index` + - `
- Index` +
+ `
- Index` + `
${navigationContents} `;
/**
@@ -76,9 +76,9 @@ const buildVersions = (api, added, versions) => {
});
return (
- ` - ` +
+ `
- ` + `Other versions` + - `
` + `- ${versionsAsList.join('')}
- ${versionsAsList.join('')}
`
);
};
- ` + `Other versions` + - `
- ` + `Index` + - `
+