mgedmin / restview

ReStructuredText viewer

Home Page:https://pypi.python.org/pypi/restview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird document titles

mgedmin opened this issue · comments

E.g. go to restview's source tree and run restview --long-description. You'll see "restview -e 'python setup.py --long-description'" used as the page title. This is borderline sane.

Now do the same in the source tree of, say, https://github.com/mgedmin/objgraph. You'll see "-e 'python setup.py --long-description'", which is kind of weird.

Now do the same in the source tree of, say, https://github.com/mgedmin/irclog2html. You'll see "irclog2html -e 'python setup.py --long-description'", which is nonsense.

What happens is restview appends the '-e $command' to the document title, which comes from the .rst file (and objgraph has no title, since it has two equal-level headings at the top level: 'objgraph' and 'Changes').