#7795 closed defect (fixed)
Add file name of the readme above the contents - github style
Reported by: | Justin | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | ReposReadMePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Hi Simon
I really like your trac plugin ReposReadMePlugin ( http://trac-hacks.org/wiki/ReposReadMePlugin )
Just wondering its if possible to put the file name of the readme above the contents - github style ie. http://github.com/rtomayko/bcat
i have had a look at the code http://trac-hacks.org/browser/reposreadmeplugin/0.11/reposreadme/reposreadme.py but not familiar with python
if you could add this or let me know how to do it i would be greatly appreciated!!
Cheers
Justin
Attachments (0)
Change History (5)
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 14 years ago by
Nicer than Github with anchor and all, don't you think?! :-)
comment:3 Changed 14 years ago by
Replying to osimons:
Nicer than Github with anchor and all, don't you think?! :-)
Actually, it seems plain text rendering is not all that pretty inside 2 boxes. CSS patch with visual improvements is most welcome...
comment:4 Changed 14 years ago by
thanks Simon!!
re css
- i added the below to remove the outside box thing
.searchable { background: #fff !important; border: 0px !important; padding: 0px !important; margin-top: -14px; }
cheers
comment:5 Changed 14 years ago by
In [9323] I solved it by physically removing the surrounding box that appears for certain types of files. Hope that works OK.
(In [9278]) ReposReadMePlugin: Added filename as heading and wrapped content into a box for nicer visual effects. Also made filename into an anchor to allow directly linking to each individual readme file.
Closes #7795.