@brillout/docpress 0.15.12 → 0.15.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ExternalLinks.tsx +2 -2
- package/dist/types/Config.d.ts +1 -0
- package/package.json +1 -1
- package/types/Config.ts +1 -0
package/ExternalLinks.tsx
CHANGED
|
@@ -13,7 +13,7 @@ import '@docsearch/css'
|
|
|
13
13
|
|
|
14
14
|
function ExternalLinks(props: { style?: React.CSSProperties }) {
|
|
15
15
|
const pageContext = usePageContext()
|
|
16
|
-
const { github, discord, bluesky, linkedin, i18n, twitter } = pageContext.globalContext.config.docpress
|
|
16
|
+
const { github, discord, bluesky, linkedin, i18n, twitter, changelog } = pageContext.globalContext.config.docpress
|
|
17
17
|
const iconI18n = !i18n ? null : (
|
|
18
18
|
<LinkIcon
|
|
19
19
|
className="decolorize-4"
|
|
@@ -39,7 +39,7 @@ function ExternalLinks(props: { style?: React.CSSProperties }) {
|
|
|
39
39
|
<LinkIcon className="decolorize-6" icon={iconLinkedin} href={`https://www.linkedin.com/company/${linkedin}`} />
|
|
40
40
|
)}
|
|
41
41
|
<LinkIcon className="decolorize-4" icon={iconGithub} href={github} />
|
|
42
|
-
<ChangelogButton />
|
|
42
|
+
{changelog !== false && <ChangelogButton />}
|
|
43
43
|
</div>
|
|
44
44
|
)
|
|
45
45
|
}
|
package/dist/types/Config.d.ts
CHANGED
package/package.json
CHANGED