rdoc 6.9.0 → 6.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8d7aec4fc5f30f9f33ef7dccb85f885775137d9fdea7993823ac93c322a6214
4
- data.tar.gz: 5f3636164c89b6a183e9d6598a4633148b8e311f1344a04c6f331c17b8b5b3fb
3
+ metadata.gz: 1941dad44ac3feaeea7befa661f56a2b58052b0c3fe14186593139234a5d14ee
4
+ data.tar.gz: 85745f705a09ceb1039b8888fe853d617e5391949f9a5dde1d0cfa582a05c2b4
5
5
  SHA512:
6
- metadata.gz: 6d6744cd8cce25be176b36df564646a41656c60ff0a4f6d581748b8300ca8960a14c46f3f14e478c4b6fa9c9c1cfbd12a3fcb25f624637b01473e885a51127bc
7
- data.tar.gz: e4f917825bbed2f768ed8ad28db175b67d37a9919fde1fe4e4383f150ff83d22a49c180874506fecab223e5b892d88a066b327d7edb4bf699e6295adb56adf69
6
+ metadata.gz: 2e4a0dd698c7f469b361ee4baf9acded0c4d202df288b026dce14adc79ef44912af00bb74ea7187ac973f6b26d34ca8041bdc2498b796e281b9f9f6a45cdab64
7
+ data.tar.gz: 3ecac3e56d13bab06679d072813adc0091fad04a10b9a31ce12ff8137462557a1032a88ca3c42e0cc4d366ecf9e7d13002092605e202fb7dae55a286bfac18ae
@@ -292,6 +292,14 @@ main {
292
292
  main {
293
293
  margin-left: var(--sidebar-width);
294
294
  }
295
+
296
+ .table-of-contents main {
297
+ margin-left: 20em;
298
+ }
299
+
300
+ #navigation-toggle {
301
+ display: none;
302
+ }
295
303
  }
296
304
 
297
305
  main h1[class] {
@@ -311,12 +319,6 @@ main h6 {
311
319
  color: var(--highlight-color);
312
320
  }
313
321
 
314
- @media (min-width: 1024px) {
315
- .table-of-contents main {
316
- margin-left: 20em;
317
- }
318
- }
319
-
320
322
  /* Search */
321
323
  #search-section {
322
324
  padding: 1em;
@@ -514,18 +516,6 @@ main header h3 {
514
516
  .hide { display: none !important; }
515
517
  .initially-hidden { display: none; }
516
518
 
517
- /* Media Queries */
518
- @media (min-width: 1024px) {
519
- /* Styles for larger screens */
520
- .table-of-contents main {
521
- margin-left: 20em;
522
- }
523
- }
524
-
525
- @media print {
526
- /* Print-specific styles */
527
- }
528
-
529
519
  /* Table of Contents */
530
520
  .table-of-contents ul {
531
521
  margin: 1em;
@@ -99,7 +99,7 @@ function hookSidebar() {
99
99
  navigationToggle.ariaExpanded = navigationToggle.ariaExpanded !== 'true';
100
100
  });
101
101
 
102
- var isSmallViewport = window.matchMedia("(max-width: 1024px)").matches;
102
+ var isSmallViewport = window.matchMedia("(max-width: 1023px)").matches;
103
103
  if (isSmallViewport) {
104
104
  navigation.hidden = true;
105
105
  navigationToggle.ariaExpanded = false;
@@ -271,7 +271,7 @@ end
271
271
  module RDoc
272
272
  class RubygemsHook
273
273
 
274
- attr_accessor :generate_rdoc, :generate_ri
274
+ attr_accessor :generate_rdoc, :generate_ri, :force
275
275
 
276
276
  def self.default_gem?
277
277
  !File.exist?(File.join(__dir__, "..", "rubygems_plugin.rb"))
@@ -281,6 +281,7 @@ module RDoc
281
281
  @spec = spec
282
282
  @generate_rdoc = generate_rdoc
283
283
  @generate_ri = generate_ri
284
+ @force = false
284
285
  end
285
286
 
286
287
  def generate
@@ -288,7 +289,9 @@ module RDoc
288
289
  return unless self.class.default_gem?
289
290
 
290
291
  # Generate document for compatibility if this is a default gem.
291
- RubyGemsHook.new(@spec, @generate_rdoc, @generate_ri).generate
292
+ hook = RubyGemsHook.new(@spec, @generate_rdoc, @generate_ri)
293
+ hook.force = @force
294
+ hook.generate
292
295
  end
293
296
 
294
297
  def remove
data/lib/rdoc/version.rb CHANGED
@@ -5,6 +5,6 @@ module RDoc
5
5
  ##
6
6
  # RDoc version you are using
7
7
 
8
- VERSION = '6.9.0'
8
+ VERSION = '6.9.1'
9
9
 
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.9.0
4
+ version: 6.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: exe
16
16
  cert_chain: []
17
- date: 2024-12-13 00:00:00.000000000 Z
17
+ date: 2024-12-16 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: psych