Best practices for extending to include advertisements? #4324
Unanswered
SelfhostedPro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I don't understand what you mean exactly, but you can "override" any Docusaurus theme component by using the swizzle cli, and you can also add script tags. You can implement your whole theme if you need to, or override our default theme with some tweaks, or wrap an existing theme component with additional dom elements (https://v2.docusaurus.io/docs/next/using-themes#wrapping-theme-components) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm switching my documentation for https://yacht.sh over to docusaurus from mkdocs. In mkdocs I was able to extend their components in order to include an advertisement but I'm not seeing documentation on extending components to include custom content.
I just need to add a script tag for https://ethical-ad-client.readthedocs.io/en/latest/
Is there a recommended way to accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions