[tahoe-lafs-trac-stream] [tahoe-lafs] #1828: Problem with linked images' display in rst docs from trac

tahoe-lafs trac at tahoe-lafs.org
Sun Jun 16 00:59:27 UTC 2013


#1828: Problem with linked images' display in rst docs from trac
-------------------------+--------------------------
     Reporter:  mk.fg    |      Owner:  zooko
         Type:  defect   |     Status:  assigned
     Priority:  minor    |  Milestone:  undecided
    Component:  website  |    Version:  n/a
   Resolution:           |   Keywords:  website docs
Launchpad Bug:           |
-------------------------+--------------------------

Comment (by zooko):

 I still don't know what kind of behavior I want to see. Hm, here's an
 idea: what if https://tahoe-lafs.org nginx inspects both the URL *and the
 Referer*, and serves up the image plain when it is ... No, that still
 won't do what I want.

 What I want is for the image to be embedded raw into the surrounding doc
 when it is being included via an {{{<img>}}} tag, but instead to be
 presented inside the trac revision control machinery when it is visited
 directly in the URL. I don't think there's a way to make that work.

 So, pragmatically, I think one good answer is to stop using the trac
 source code renderer as the way to present our docs to the outside world!
 How about instead we write a script that runs {{{rst2html}}} on the docs,
 and we upload the resulting html files somewhere and link to that instead
 of to [source:docs/about.rst]?

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1828#comment:13>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list