Skip to content

Commit

Permalink
docs: add links to license page for subscription admonition (#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Mar 25, 2024
1 parent 3e89dc7 commit 0e01be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/theme/Admonition.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Admonition from '@theme-original/Admonition';

export default function AdmonitionWrapper(props) {
if (props.type === 'subscription') {
return <Admonition title='SUBSCRIPTION' icon={<span className='text-2xl'>💰</span>}
return <Admonition title={<a className="no-underline" href="/docs/administration/license">SUBSCRIPTION</a>} icon={<span className='text-2xl'>💰</span>}
>
{props.children}
</Admonition>
Expand Down

0 comments on commit 0e01be4

Please sign in to comment.