Docz: Hide mdx page from menu

Created on 24 Sep 2018  路  5Comments  路  Source: doczjs/docz

How can I hide an mdx page that is in progress from the menu so that it is not discoverable by users?

Description
We have multiple developers working on documentation so we often have mdx that is in progress that we don't want to expose to end users yet. Currently we use a workaround of renaming the .mdx file to .md which works but not ideal because developers usually deploy pull requests to a dev environment for review and in this case, the reviewer will have to pull the branch down locally in order to change the file extension back to .mdx to review the page. Just want to check in and see if we're missing an obvious workflow here 馃槃

Thank you! We 鉂わ笍docz!

screenshot-localhost-3001-2018 09 24-10-12-46

question

All 5 comments

@imeldaloei There isn't the option on docz today, Can you add in roadmap the new feature?

http://feedback.docz.site/

Thanks

thanks @nicholasess for the quick response! i've added it to the roadmap: http://feedback.docz.site/roadmap/p/hide-mdx-page-from-menu

Suggestion:

---
name: Design System
menu: false
---

A work around thats a bit of hack that i'm currently using is, setting the menu to an empty array and it will hide it (partly), e.g

---
name: [] <--
route: '/components/Sleek'
menu: Components
---

hidden: true works now. The documentation is not published yet (https://github.com/doczjs/docz-website/pull/96), but the functionality is working in the latest version:

---
name: Home
route: /
hidden: true
---
Was this page helpful?
0 / 5 - 0 ratings

Related issues

koddr picture koddr  路  3Comments

mariusespejo picture mariusespejo  路  3Comments

bichotll picture bichotll  路  3Comments

mquandalle picture mquandalle  路  3Comments

fenbka picture fenbka  路  3Comments