Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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 4 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

(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 follow-up: Changed 4 years ago by osimons

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

comment:3 in reply to: ↑ 2 Changed 4 years ago by osimons

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 4 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 4 years ago by osimons

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from osimons. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.