ในวันที่ อา. 11 เม.ย. 2021 17:58 น. <[email protected]> เขียนว่า:
> [email protected] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/sphinx-users/topics> > Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Topic digest > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/sphinx-users/topics> > > - Adding images to the sidebar. <#m_7685261954411053196_group_thread_0> > - 3 Updates > > Adding images to the sidebar. > <http://groups.google.com/group/sphinx-users/t/fe40a165e0a245a6?utm_source=digest&utm_medium=email> > Andrew Back <[email protected]>: Apr 10 01:20PM -0700 > > I'm using RTD theme and would like to include additional images in the > sidebar, similar to how readthedocs.io has shown adverts in their > sidebar. > In may case, two images of the same size as the site logo and aligned to > the bottom of the sidebar. > > First hurdle was that I can't see how to have these additional images > copied from the images/ directory at build time, along with the site logo > and favicon. Then I wasn't sure what the best way is to modify the sidebar > to include these. > > Andrew > Komiya Takeshi <[email protected]>: Apr 11 12:42PM +0900 > > Hi, > > I think you need to learn customizing HTML templates to do that. > Please read the templates in RTD theme and this document. > https://www.sphinx-doc.org/en/master/templating.html > > Thanks, > Takeshi KOMIYA > > Andrew Back <[email protected]>: Apr 10 11:48PM -0700 > > Hi Takeshi, > > > > I think you need to learn customizing HTML templates to do that. > > Please read the templates in RTD theme and this document. > > https://www.sphinx-doc.org/en/master/templating.html > > Many thanks. > > Do you happen to know what mechanism I could use to have an image copied > at > build time from 'images/' to '_build/html/_static/' along with the site > logo etc.? > > Regards, > > Andrew > Back to top <#m_7685261954411053196_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/sphinx-users/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAKmbZ98ZFgtQaCB%3D0K%2B745x_W-YGuyd8bRC9RiTiHd9_XO-F%2BA%40mail.gmail.com.
