---
tags: [visibility]
---

# Visibility

A category to play with draft/unlisted front matter.

In dev, both draft/unlisted items are displayed.

---

In production, draft items shouldn't be accessible:

- [/tests/docs/tests/visibility/only-drafts/draft1](pathname:///tests/docs/tests/visibility/only-drafts/draft1)

---

In production, unlisted items should remain accessible, but be hidden in the sidebar (unless currently browsed):

- [./only-unlisteds/unlisted1.md](./only-unlisteds/unlisted1.mdx)
- [./only-unlisteds/unlisted2.md](./only-unlisteds/unlisted2.mdx)
- [./only-unlisteds/unlisted-subcategory/unlisted3.md](./only-unlisteds/unlisted-subcategory/unlisted3.mdx)
- [./some-unlisteds/unlisted1.md](./some-unlisteds/unlisted1.mdx)
- [./some-unlisteds/unlisted2.md](./some-unlisteds/unlisted2.mdx)
- [./some-unlisteds/unlisted-subcategory/unlisted3.md](./some-unlisteds/unlisted-subcategory/unlisted3.mdx)
- [./force-unlisted.mdx](./force-unlisted.mdx)

---

```mdx-code-block
import DocCardList from '@theme/DocCardList';

<DocCardList />
```
