Closed humitos closed 6 months ago
I found there are some logic based on READTHEDOCS_DATA
injected -- so, we won't be able to use that approach in when re-writing this code. I will start pretty simple for now and we can grow after that.
This was done in #295
Take a look at https://github.com/readthedocs/addons/pull/295#discussion_r1600336686 where there is more context about this. In simple words, we need to copy/re-implement the code we have in Read the Docs (as publisher) to position and style the ad properly according the theme its using.
In a future version, we will be adding other positioning and styles based on other doc tools.