website: support hidden pages in nav-data (#10993) (#10998)

* website: bump to docs-page prerelease with hidden page support

* website: remove temporary check for hidden pages, now covered by docs-page

* website: bump to stable docs-page, w next-mdx-remote bump

* website: bump to latest markdown-page
This commit is contained in:
Zachary Shilton 2021-05-06 15:35:55 -04:00 committed by GitHub
parent a32c433156
commit 252a774572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3961 additions and 2106 deletions

View File

@ -4,7 +4,11 @@ const redirects = require('./redirects.next')
module.exports = withHashicorp({
defaultLayout: true,
transpileModules: ['is-absolute-url', '@hashicorp/react-.*'],
transpileModules: [
'is-absolute-url',
'@hashicorp/react-.*',
'@hashicorp/versioned-docs',
],
mdx: { resolveIncludes: path.join(__dirname, 'pages/partials') },
})({
svgo: { plugins: [{ removeViewBox: false }] },

6055
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,11 +8,11 @@
"@hashicorp/mktg-logos": "1.0.2",
"@hashicorp/nextjs-scripts": "18.0.0",
"@hashicorp/react-button": "5.0.0",
"@hashicorp/react-docs-page": "13.1.3",
"@hashicorp/react-docs-page": "13.2.0",
"@hashicorp/react-hashi-stack-menu": "2.0.3",
"@hashicorp/react-head": "3.0.1",
"@hashicorp/react-inline-svg": "6.0.0",
"@hashicorp/react-markdown-page": "1.1.1",
"@hashicorp/react-markdown-page": "1.2.0",
"@hashicorp/react-product-downloads-page": "2.0.2",
"@hashicorp/react-search": "5.0.1",
"@hashicorp/react-section-header": "5.0.2",
@ -21,7 +21,7 @@
"adm-zip": "^0.5.5",
"gray-matter": "^4.0.2",
"next": "10.1.3",
"next-mdx-remote": "^2.1.4",
"next-mdx-remote": "3.0.1",
"next-remote-watch": "1.0.0",
"react": "16.13.1",
"react-dom": "16.13.1"