<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rdoc/generator/template/darkfish/css, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Sync RDoc 6.14.0</title>
<updated>2025-05-22T22:04:47+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2025-05-22T21:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=03eb777c69d64aa4941891a784c1fd67b44ea42c'/>
<id>03eb777c69d64aa4941891a784c1fd67b44ea42c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Hide hamburger on desktop</title>
<updated>2024-12-15T13:36:38+00:00</updated>
<author>
<name>James Reid-Smith</name>
<email>james.reidsmith@shopify.com</email>
</author>
<published>2024-12-15T13:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=366fd9642f7b03de08796b39b5a10a55d5acabe3'/>
<id>366fd9642f7b03de08796b39b5a10a55d5acabe3</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1237)

* Clean up the duplicate definitions and unnecessary print styling

* Hides the navigation toggle when there's enough room to always display the navigation

* Update lib/rdoc/generator/template/darkfish/css/rdoc.css

---------

https://github.com/ruby/rdoc/commit/c6193bf1e2

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1237)

* Clean up the duplicate definitions and unnecessary print styling

* Hides the navigation toggle when there's enough room to always display the navigation

* Update lib/rdoc/generator/template/darkfish/css/rdoc.css

---------

https://github.com/ruby/rdoc/commit/c6193bf1e2

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Use distinct styles for note lists and label lists</title>
<updated>2024-12-08T10:43:47+00:00</updated>
<author>
<name>nicholas a. evans</name>
<email>nick@rubinick.dev</email>
</author>
<published>2024-12-08T10:43:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd43af3be7eddb832c77ef367456fa023fed7d7a'/>
<id>dd43af3be7eddb832c77ef367456fa023fed7d7a</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1209)

* Use the original `label` description list style

As a default for all description lists, the original "label" style is
more readable.

This is slightly different from the original `label` dl though:
* slightly increased left margin for `dd` (to 1em)
* removed right margin on `dd`
* removed `dt` bottom margin and `dd` top margin, to reduce the gap
  between the term and its description (to only the standard line-height
  gap).

* Add closing tags for description list terms

Without the closing tags, the dt elements contain whitespace after the
text.  This normally isn't a big deal, but does mess some things up,
e.g: using `::after` with `content: ", "` in stylesheets.

* Restore float:left style for note lists

Unlike the original note list styles, this version sets the line-height
for all `dt` elements to be the same as the `p` elements contained
inside the `dd`, so that the second line has the same indentation as all
subsequent lines.

* Add commas between note list terms

https://github.com/ruby/rdoc/commit/9e69ea6d75
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1209)

* Use the original `label` description list style

As a default for all description lists, the original "label" style is
more readable.

This is slightly different from the original `label` dl though:
* slightly increased left margin for `dd` (to 1em)
* removed right margin on `dd`
* removed `dt` bottom margin and `dd` top margin, to reduce the gap
  between the term and its description (to only the standard line-height
  gap).

* Add closing tags for description list terms

Without the closing tags, the dt elements contain whitespace after the
text.  This normally isn't a big deal, but does mess some things up,
e.g: using `::after` with `content: ", "` in stylesheets.

* Restore float:left style for note lists

Unlike the original note list styles, this version sets the line-height
for all `dt` elements to be the same as the `p` elements contained
inside the `dd`, so that the second line has the same indentation as all
subsequent lines.

* Add commas between note list terms

https://github.com/ruby/rdoc/commit/9e69ea6d75
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Use thicker fonts with high contrast to improve</title>
<updated>2024-10-31T10:05:19+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-10-31T10:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=53df2a3c548a258b383dfd026a2ba3b53ae9b9dd'/>
<id>53df2a3c548a258b383dfd026a2ba3b53ae9b9dd</id>
<content type='text'>
readability
(https://github.com/ruby/rdoc/pull/1197)

https://github.com/ruby/rdoc/commit/7fb0e509ec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
readability
(https://github.com/ruby/rdoc/pull/1197)

https://github.com/ruby/rdoc/commit/7fb0e509ec
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Remove details markers in HTML documents</title>
<updated>2024-10-25T07:12:07+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-25T07:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=10e0ebc7c2952ba9a2e3a54ecb3ea7e3c43a2774'/>
<id>10e0ebc7c2952ba9a2e3a54ecb3ea7e3c43a2774</id>
<content type='text'>
`summary {list-style: none;}` still does not work in Safari 18.

https://github.com/ruby/rdoc/commit/c6a0a6a0d5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`summary {list-style: none;}` still does not work in Safari 18.

https://github.com/ruby/rdoc/commit/c6a0a6a0d5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Red-based darkfish color scheme</title>
<updated>2024-10-23T22:36:27+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-10-23T22:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=60c0c324b207797ae2aa82e107a6a570aabb00bc'/>
<id>60c0c324b207797ae2aa82e107a6a570aabb00bc</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1191)

* Cleanup rdoc.css

* Use red as the highlight color

* Use the same red as ruby-lang.org

* Make main section links stand out more

* Remove scrollbar styling

https://github.com/ruby/rdoc/commit/f69dc470ac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1191)

* Cleanup rdoc.css

* Use red as the highlight color

* Use the same red as ruby-lang.org

* Make main section links stand out more

* Remove scrollbar styling

https://github.com/ruby/rdoc/commit/f69dc470ac
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] feature: Render mixed-in methods and constants with</title>
<updated>2024-10-17T20:40:34+00:00</updated>
<author>
<name>Mike Dalessio</name>
<email>mike.dalessio@gmail.com</email>
</author>
<published>2024-10-17T20:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0b38e184881839d347a777e82ad1b037a1aeca6e'/>
<id>0b38e184881839d347a777e82ad1b037a1aeca6e</id>
<content type='text'>
`--embed-mixins`
(https://github.com/ruby/rdoc/pull/842)

* Embed mixed-in methods and constants with `--embed-mixins`

When `--embed-mixins` option is set:

- methods from an `extend`ed module are documented as singleton methods
- attrs from an `extend`ed module are documented as class attributes
- methods from an `include`ed module are documented as instance methods
- attrs from an `include`ed module are documented as instance attributes
- constants from an `include`ed module are documented

Sections are created when needed, and Darkfish's template annotates
each of these mixed-in CodeObjects. We also respect the mixin methods'
visibility.

This feature is inspired by Yard's option of the same name.

* Add comment to document why we set object visibility

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Add the mixin_from attribute to CodeObject's initializer

* Add test coverage for private mixed-in attributes.

---------

https://github.com/ruby/rdoc/commit/481c2ce660

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`--embed-mixins`
(https://github.com/ruby/rdoc/pull/842)

* Embed mixed-in methods and constants with `--embed-mixins`

When `--embed-mixins` option is set:

- methods from an `extend`ed module are documented as singleton methods
- attrs from an `extend`ed module are documented as class attributes
- methods from an `include`ed module are documented as instance methods
- attrs from an `include`ed module are documented as instance attributes
- constants from an `include`ed module are documented

Sections are created when needed, and Darkfish's template annotates
each of these mixed-in CodeObjects. We also respect the mixin methods'
visibility.

This feature is inspired by Yard's option of the same name.

* Add comment to document why we set object visibility

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;

* Add the mixin_from attribute to CodeObject's initializer

* Add test coverage for private mixed-in attributes.

---------

https://github.com/ruby/rdoc/commit/481c2ce660

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Use scroll-margin-top on anchor targets</title>
<updated>2024-10-17T10:11:03+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-10-17T10:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fc11579c49f3a924699a0af0fd9f5b1a02617f7e'/>
<id>fc11579c49f3a924699a0af0fd9f5b1a02617f7e</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1190)

This will make the anchor target easier to read.

https://github.com/ruby/rdoc/commit/e2fe4882f4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1190)

This will make the anchor target easier to read.

https://github.com/ruby/rdoc/commit/e2fe4882f4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Add scroll-margin-top on all :target elements</title>
<updated>2024-10-17T10:10:36+00:00</updated>
<author>
<name>Mads Ohm Larsen</name>
<email>mads.ohm@gmail.com</email>
</author>
<published>2024-10-17T10:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1f0b54033242f35177800d9f82bebb16aa106aed'/>
<id>1f0b54033242f35177800d9f82bebb16aa106aed</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1174)

https://github.com/ruby/rdoc/commit/7398e5b0ad

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1174)

https://github.com/ruby/rdoc/commit/7398e5b0ad

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rdoc] Make methods and attributes linkable</title>
<updated>2024-10-10T16:09:44+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-10-10T16:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a778562f33783ac4cad56a1cc94f17a5051d8c42'/>
<id>a778562f33783ac4cad56a1cc94f17a5051d8c42</id>
<content type='text'>
(https://github.com/ruby/rdoc/pull/1189)

* Use the same color for both class/module and method highlight

* Make methods and attributes linkable

https://github.com/ruby/rdoc/commit/7757fd9fe4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rdoc/pull/1189)

* Use the same color for both class/module and method highlight

* Make methods and attributes linkable

https://github.com/ruby/rdoc/commit/7757fd9fe4
</pre>
</div>
</content>
</entry>
</feed>
