Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7795 closed defect (fixed)

Add file name of the readme above the contents - github style

Reported by: Justin Owned by: Odd Simon Simonsen
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 7 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(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.

comment:2 Changed 7 years ago by Odd Simon Simonsen

Nicer than Github with anchor and all, don't you think?! :-)

comment:3 in reply to:  2 Changed 7 years ago by Odd Simon Simonsen

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 7 years ago by Justin

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

justin

comment:5 Changed 7 years ago by Odd Simon Simonsen

In [9323] I solved it by physically removing the surrounding box that appears for certain types of files. Hope that works OK.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.