Zoiper ayarlar 26 Mar 2020 Per 10:35 tarihinde Stefano David <[email protected]> şunu yazdı:
> > > On Wednesday, 25 March 2020 12:16:35 UTC+1, Moritz Lürig wrote: >> >> My project looks like this: >> >> proj ==> root dir >> proj/docs ==> sphinx build dir >> proj/assets ==> images >> >> https://github.com/mluerig/phenopype ==> repo >> https://mluerig.github.io/phenopype/ ==> docs >> https://mluerig.github.io/phenopype/tutorial_2_phenopype_workflow.html ==> >> converted jupyter notebooks >> >> Problem: I use relative paths in html tags to add images to my >> documentation: >> >> <img src="../assets/figures/header.png"> >> > If you add figures properly using figure:: or image:: you should just > write e.g., > > .. image:: /asset/figures/header.png > > But looking quickly at your repo, all images are included via raw:: html, > so my guess is that this is not sphinx's fault, but that the /assets/ > directory is not correctly rechable from the place where the final html is > located. > > my 2 cents, > Stefano > > -- > 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/cd059861-cf61-4ee6-84b1-3f8aa63a6761%40googlegroups.com > <https://groups.google.com/d/msgid/sphinx-users/cd059861-cf61-4ee6-84b1-3f8aa63a6761%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2Btk1Tw6NcCPcN51mrxQVqf1_50mpOroUAT2FxFyRrHJfyHNBA%40mail.gmail.com.
