markdowndocs 0.11.2 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28f9775decd9995a54bf22809d3ef0a27cb5c684e4aa068a42592f7723c7ebd8
4
- data.tar.gz: 5f1b6adc6bd424e4ef1c872432d11c6d93ea5c18fe1cc25dd389deea7c1c3a5e
3
+ metadata.gz: ee414b6e508ae906b792f1abd65e21135a1439cf740998f69a1ad7cde743f1c1
4
+ data.tar.gz: 55f37cb07e8d2e274ca25fdc73e3448075fb945a7d10e852e596203893643190
5
5
  SHA512:
6
- metadata.gz: aca1b149e1727df52bf8ab922291cf9148e0c70867098674e11e5d4d092c278c800bf96017267c43763e1e3b009f998a87ecd4ee7800514d5087770ee33c65b2
7
- data.tar.gz: 3f06f7c533c897094139c6d7ea90484314a1a3531fd64c56a9e615896599057ebb2c6165a138d17ba0f85089c10f0e68e259cd6c004e7466035f4bbd225e24ab
6
+ metadata.gz: e0a49a7d046d2539060dd9bb4cab2f4d9d626c58020a41c898ee8627ae11eb99e2c28a9ff336291acbfd72b3903405e101abac33152fa99e3f0c2a6806d3be00
7
+ data.tar.gz: 8a7ef92900c9e99f9702838b7ab68cc619509c84cace45e1c0f86c94085154e546cc8dd4b94cfc89af9fcbaed6691db4722b556439405320f3fb33ceb00a9db1
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.11.3] - 2026-09-03
9
+
10
+ ### Accessibility
11
+
12
+ - **The doc page emits one `main` landmark, not two.** `docs/show` wrapped its
13
+ content column in `<main>`, nesting a second landmark inside the one the host
14
+ layout (or this engine's own, standalone) already provides. axe reports it as
15
+ `landmark-no-duplicate-main` and `landmark-main-is-top-level`, and screen
16
+ readers get two competing "main" destinations on every `/docs/*` page. The
17
+ column is now a `<div>`; the `<article>` inside still carries the content
18
+ semantics.
19
+
8
20
  ## [0.11.2] - 2026-07-15
9
21
 
10
22
  ### Accessibility
@@ -68,8 +68,10 @@
68
68
  <!-- Two-column layout -->
69
69
  <div class="grid grid-cols-1 gap-8
70
70
  lg:grid-cols-12">
71
- <!-- Main content -->
72
- <main class="lg:col-span-8">
71
+ <!-- Main content. A grid column, not a landmark: the page's `main` is the
72
+ host layout's (or this engine's own, when standalone), and a second
73
+ one nested inside it is a duplicate landmark. -->
74
+ <div class="lg:col-span-8">
73
75
  <article
74
76
  tabindex="-1"
75
77
  autofocus
@@ -78,7 +80,7 @@
78
80
  <%= raw @rendered_content %>
79
81
  </div>
80
82
  </article>
81
- </main>
83
+ </div>
82
84
 
83
85
  <!-- Desktop sidebar (hidden on mobile, shown in grid on desktop) -->
84
86
  <div class="hidden lg:block lg:col-span-4">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Markdowndocs
4
- VERSION = "0.11.2"
4
+ VERSION = "0.11.3"
5
5
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdowndocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Chmura
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-09-04 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rails
@@ -114,6 +115,7 @@ metadata:
114
115
  homepage_uri: https://github.com/dschmura/markdowndocs
115
116
  source_code_uri: https://github.com/dschmura/markdowndocs
116
117
  changelog_uri: https://github.com/dschmura/markdowndocs/blob/main/CHANGELOG.md
118
+ post_install_message:
117
119
  rdoc_options: []
118
120
  require_paths:
119
121
  - lib
@@ -128,7 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
130
  - !ruby/object:Gem::Version
129
131
  version: '0'
130
132
  requirements: []
131
- rubygems_version: 3.6.9
133
+ rubygems_version: 3.4.19
134
+ signing_key:
132
135
  specification_version: 4
133
136
  summary: A drop-in markdown documentation site for Rails apps
134
137
  test_files: []