Ask a Question related to Ruby, Design and Development.
-
Gavin Sinclair #1
Michael Granger's RDoc template
Hi -talk,
Has anyone attempted to improve on Mike's excellent effort yet? The
Wiki page is bare.
I just wanted to mention that it's rather odd that <h1> is rendered
larger than <h2>. It's not just my browser, surely.
Other points of style I disagree with:
- light blue background for text in Files/Classes/Methods frames when
surrounding background is white
- rendering of dictionary lists could be improved with a little
vertical space between entries
- hyperlinks: blue background on mouse over doesn't grab me; I'd
rather see classic underlines
Anyway, it's a great piece of work, and hasn't seen a mention on the
list in a while, so ...
Cheers,
Gavin
Gavin Sinclair Guest
-
Bug in RDoc?
I just found a bug (?) in rdoc tool. I have the following directory structure: doc/ lib/ sws.rb sws/ some .rb files -
rdoc template problem
Has anyone seen this? For one of my projects, I can use older rdoc's successfully. But a recent CVS version gives: ... -
Michael Scarpitti BEWARE OF HIS ADVICE
"Film Shooter" <filmguide@laksamana.net> wrote in message news:18484992.0308201609.3405a9c7@posting.google.com... KER-PLONK -
RDoc now does constants
I've added experimental support for documenting constants to RDoc. Right now it's only in the CVS version, and only the default HTML template makes... -
New RDoc template, and a question
Michael Granger has produced a wonderful new RDoc template, which looks about 1067 times better than any HTML I ever produced. What's even better:... -
Peter Hickman #2
Re: Michael Granger's RDoc template
Gavin Sinclair wrote:
Sorry you lost me here. H1 is the largest H5 (or is it H6) the smallest, thats> I just wanted to mention that it's rather odd that <h1> is rendered
> larger than <h2>. It's not just my browser, surely.
the way HTML works. What are you expecting?
Peter Hickman Guest
-
Gavin Sinclair #3
Re: Michael Granger's RDoc template
On Monday, November 17, 2003, 11:24:25 PM, Peter wrote:
> Gavin Sinclair wrote:>> I just wanted to mention that it's rather odd that <h1> is rendered
>> larger than <h2>. It's not just my browser, surely.My mistake: I meant to say that H1 renders *smaller* than H2.> Sorry you lost me here. H1 is the largest H5 (or is it H6) the smallest, thats
> the way HTML works. What are you expecting?
Gavin
Gavin Sinclair Guest
-
Josef 'Jupp' SCHUGT #4
Re: Michael Granger's RDoc template
Hi!
* Gavin Sinclair; 2003-11-17, 14:37 UTC:H1 and H2 are logical markup tags. It is up to the browsers if and> My mistake: I meant to say that H1 renders *smaller* than H2.
how they use physical markup to display them.
Several browsers (Mosaic, Opera, ...) allow you to fine-tune the look
of every level. Perhaps you did misconfigure the one you use?
Josef 'Jupp' Schugt
--
.-------.
message > 100 kB? / | |
sender = spammer? / | R.I.P.|
text = spam? / ___| |___
Josef 'Jupp' SCHUGT Guest
-
Nikolai Weibull #5
Re: Michael Granger's RDoc template
* Josef 'Jupp' SCHUGT <jupp@gmx.de> [Nov, 17 2003 22:50]:
eh?> H1 and H2 are logical markup tags. It is up to the browsers if and
> how they use physical markup to display them.no he probably didn't, the style sheet is messed up - for the reason> Several browsers (Mosaic, Opera, ...) allow you to fine-tune the look
> of every level. Perhaps you did misconfigure the one you use?
that .big-title-font sets its font-size to large, while
small-title-font sets it to 10px.
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: [url]www.pcppopper.org[/url] :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull Guest
-
Josef 'Jupp' SCHUGT #6
Re: Michael Granger's RDoc template
Hi!
* Nikolai Weibull; 2003-11-17, 23:51 UTC:Didn't notice that 'template' is used in place of 'stylesheet'. To me> * Josef 'Jupp' SCHUGT <jupp@gmx.de> [Nov, 17 2003 22:50]:> eh?> > H1 and H2 are logical markup tags. It is up to the browsers if and
> > how they use physical markup to display them.
a 'template' would be something like this:
<html>
<head>
<title>#{title}</title>
<body>
<h1>#{title}<h1>
<h2>#{date}</h2>
#{ads}
#{news}
#{disclaimer}
</body>
</html>
Perhaps calling a stylesheet a stylesheet is a good idea (TM)?
Josef 'Jupp' Schugt
--
.-------.
message > 100 kB? / | |
sender = spammer? / | R.I.P.|
text = spam? / ___| |___
Josef 'Jupp' SCHUGT Guest
-
Nikolai Weibull #7
Re: Michael Granger's RDoc template
* Josef 'Jupp' SCHUGT <jupp@gmx.de> [Nov, 18 2003 15:00]:
[an HTML template]> Didn't notice that 'template' is used in place of 'stylesheet'. To me
> a 'template' would be something like this:eh?> Perhaps calling a stylesheet a stylesheet is a good idea (TM)?
it's a template, and the template uses a stylesheet. the thing is that
no h1's or h2's are being used, rather tables and classes are used to
set text properties - which is of course bad, but that's the way the
template works at the moment...
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: [url]www.pcppopper.org[/url] :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull Guest
-
Michael Granger #8
Re: Michael Granger's RDoc template
On Nov 18, 2003, at 7:13 AM, Nikolai Weibull wrote:
I think you're confused. The template I created *does* use h1 and h2> it's a template, and the template uses a stylesheet. the thing is that
> no h1's or h2's are being used, rather tables and classes are used to
> set text properties - which is of course bad, but that's the way the
> template works at the moment...
(IMO correctly), and only uses tables for tabular data, preferring
<div> for most things. The stylesheet doesn't (as suggested in a
previous post) even have .{big,small}-title-font classes, nor do the h1
or h2 elements set the font size to 'large' or pixel-sizes. The h1
element is set to "120%" in the default stylesheet, but I try to avoid
absolute pixel-sizes whenever possible when targeting many browsers.
Responding to the general thread:
I have no idea why an element whose font-size is set to "120%" would
render smaller than a default h2. I've tested it in Mozilla, IE, and
Safari on MacOSX, and Mozilla and Konqueror in Linux. Suggestions about
how to eliminate this problem welcomed.
The aesthetics of it are of course subject to debate, but that's the
nature of aesthetics. I dislike the classic underline, especially in a
page that's so link-heavy, but there's certainly a case to be made for
making links look like people expect them to look.
Soon after I submitted the 'css2' template, I also submitted (and Dave
accepted) a patch that allows you to set your own custom stylesheet,
which I think is a better solution than debating the aesthetic merits
of the default stylesheet anyway. This allows you to use the css2 (or
any other)
template, but provide a stylesheet which reflects your own particular
tastes.
--
Michael Granger <ged@FaerieMUD.org>
Rubymage, Believer, Architect
The FaerieMUD Consortium <http://www.FaerieMUD.org/>
Michael Granger Guest
-
Nikolai Weibull #9
Re: Michael Granger's RDoc template
* Michael Granger <ged@FaerieMUD.org> [Nov, 18 2003 19:30]:
I must be. I was talking about the -T kilmer theme.> I think you're confused.
so, where can i get your theme?
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: [url]www.pcppopper.org[/url] :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull Guest
-
Michael Granger #10
Re: Michael Granger's RDoc template
On Nov 18, 2003, at 12:36 PM, Nikolai Weibull wrote:It's the 'css2' theme in the CVS version.> so, where can i get your theme?
--
Michael Granger <ged@FaerieMUD.org>
Rubymage, Believer, Architect
The FaerieMUD Consortium <http://www.FaerieMUD.org/>
Michael Granger Guest



Reply With Quote

