mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-13 14:57:54 +02:00
feat(theme): show unlisted/draft banners in dev mode (#10376)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com> Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
parent
c58fcbdecd
commit
95ab9f8ee4
48 changed files with 411 additions and 140 deletions
|
@ -43,6 +43,7 @@ export const ThemeClassNames = {
|
|||
codeBlock: 'theme-code-block',
|
||||
admonition: 'theme-admonition',
|
||||
unlistedBanner: 'theme-unlisted-banner',
|
||||
draftBanner: 'theme-draft-banner',
|
||||
|
||||
admonitionType: (type: string) => `theme-admonition-${type}`,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue