Ticket #7 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

Generator doesn't take the `--style` option into account

Reported by: deveiant Owned by: deveiant
Priority: major Milestone: Bugfixes
Component: Templates Version: 1.1.5
Keywords: generator css style custom link Cc: stefano.crocco@…

Description

Via ruby-talk:

does the darkfish generator use the custom style sheet passed by the user using the --style command line option? If so, either I'm doing something wrong or there's a bug. I tried the following command:

rdoc --style=my_rdoc.css *.rb

thinking that it would produce documentation using the my_rdoc.css style sheet instead of the default one. Instead, the documentation still used the default one. I also tried variants of the above command (for example using -s or without the = or giving the full path of my_rdoc.css), but with the same results. Am I missing something, is it a bug or by design the darkfish generator doesn't take into account the --style option (in which case I think the documentation for the option should mention it)?

I'll need to figure out how to either manage relative vs. absolute CSS URLs, but this was just an oversight on my part. Shouldn't be too difficult to fix.

Change History

comment:1 Changed 3 years ago by deveiant

  • Status changed from new to assigned

comment:2 Changed 3 years ago by deveiant

  • Version changed from 1.1.4 to 1.1.5

Fixing the version number

Note: See TracTickets for help on using tickets.