Skip to content

Commit

Permalink
website: support hidden pages in nav-data (hashicorp#11528)
Browse files Browse the repository at this point in the history
* website: bump to docs-page prerelease, support hidden pages

* website: switch to hidden pages approach for docs and api-docs

* website: remove temporary fix for hidden pages, and related check

* website: fix content structure issue with docs/auth/jwt

* website: bump to latest pre-release

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

* website: bump to latest markdown-page
  • Loading branch information
zchsh committed May 6, 2021
1 parent a068cca commit f7d526c
Show file tree
Hide file tree
Showing 15 changed files with 2,503 additions and 2,978 deletions.
148 changes: 0 additions & 148 deletions .github/workflows/check-unlinked-content.js

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/check-unlinked-content.yml

This file was deleted.

85 changes: 0 additions & 85 deletions website/components/_temp-enable-hidden-pages/index.js

This file was deleted.

File renamed without changes.
20 changes: 0 additions & 20 deletions website/data/api-docs-nav-data-hidden.json

This file was deleted.

10 changes: 10 additions & 0 deletions website/data/api-docs-nav-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"title": "Azure",
"path": "secret/azure"
},
{
"title": "Cassandra",
"path": "secret/cassandra",
"hidden": true
},
{
"title": "Consul",
"path": "secret/consul"
Expand Down Expand Up @@ -363,6 +368,11 @@
"title": "<code>/sys/control-group</code>",
"path": "system/control-group"
},
{
"title": "<code>/sys/generate-recovery-token</code>",
"path": "system/generate-recovery-token",
"hidden": true
},
{
"title": "<code>/sys/generate-root</code>",
"path": "system/generate-root"
Expand Down
56 changes: 0 additions & 56 deletions website/data/docs-nav-data-hidden.json

This file was deleted.

Loading

0 comments on commit f7d526c

Please sign in to comment.