Skip to content

Commit b5911db

Browse files
committed
fix: restore readable docs site layouts and copy
1 parent 4bc4b6a commit b5911db

6 files changed

Lines changed: 137 additions & 76 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1515

1616
### Fixed
1717

18+
- Website layout and copy now keep expanding with the browser width instead of stopping at fixed max-width caps on wide windows; the shared site stylesheet no longer limits the outer page shell, guide intros, leads, section headings, or guide body text to narrow fixed widths.
19+
- The command cheat sheet now keeps the "Set up a project" section balanced by summarizing scaffold extras instead of repeating the full internal Agentic guidance list.
20+
- The getting-started guide now splits the Agentic quickstart explanation into shorter paragraphs so the scaffold flow stays readable on the site.
21+
- The core workflows guide now splits the scaffold and Agentic starter explanation into shorter paragraphs so the page stays readable on the site.
22+
- The command cheat sheet now stacks the three "Set up a project" cards vertically so the section reads top-to-bottom without a missing grid slot.
23+
1824
### Security
1925

2026
## [3.0.0] - 2026-05-17
@@ -417,4 +423,3 @@ This release was yanked because it removed the implicit `Pester` dependency, bef
417423
[0.0.6]: https://github.com/stiwicourage/NovaModuleTools/compare/Version_0.0.5...Version_0.0.6
418424
[0.0.5]: https://github.com/stiwicourage/NovaModuleTools/compare/Version_0.0.4...Version_0.0.5
419425
[0.0.4]: https://github.com/stiwicourage/NovaModuleTools/compare/Version_0.0.3...Version_0.0.4
420-

docs/assets/site.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--outline: rgba(255, 255, 255, 0.12);
1212
--shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
1313
--radius: 22px;
14-
--max-width: 1600px;
14+
--max-width: none;
1515
--anchor-offset: 2.90rem;
1616
}
1717

@@ -254,7 +254,7 @@ pre code {
254254

255255
.guide-hero {
256256
margin-bottom: 3rem;
257-
max-width: 880px;
257+
max-width: none;
258258
}
259259

260260

@@ -331,7 +331,7 @@ pre code {
331331
.guide-content .content-section > p,
332332
.guide-content .content-section > ul,
333333
.guide-content .content-section > ol {
334-
max-width: 72ch;
334+
max-width: none;
335335
}
336336

337337
.guide-grid {
@@ -380,7 +380,7 @@ h3 {
380380

381381
h1 {
382382
font-size: clamp(2.6rem, 5vw, 4.6rem);
383-
max-width: 12ch;
383+
max-width: none;
384384
}
385385

386386
h2 {
@@ -398,7 +398,7 @@ p {
398398

399399
.lead {
400400
font-size: 1.1rem;
401-
max-width: 68ch;
401+
max-width: none;
402402
}
403403

404404
.hero__actions {
@@ -517,11 +517,11 @@ p {
517517
}
518518

519519
.narrow {
520-
max-width: 760px;
520+
max-width: none;
521521
}
522522

523523
.section-heading {
524-
max-width: 760px;
524+
max-width: none;
525525
margin-bottom: 2.5rem;
526526
}
527527

@@ -772,6 +772,10 @@ td {
772772
gap: 1.5rem;
773773
}
774774

775+
.command-card-grid--stacked {
776+
grid-template-columns: 1fr;
777+
}
778+
775779
.command-card h3 {
776780
margin-bottom: 0.75rem;
777781
}

docs/commands.html

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h1>Keep one workflow surface in view</h1>
8989
<h2>On this page</h2>
9090
<ul class="toc-list">
9191
<li><a href="#choose-surface">Choose your surface</a></li>
92-
<li><a href="#setup-and-project">Setup and project</a></li>
92+
<li><a href="#setup-and-project">Set up a project</a></li>
9393
<li><a href="#build-and-validate">Build and validate</a></li>
9494
<li><a href="#package-and-ship">Package and ship</a></li>
9595
<li><a href="#version-and-update">Version and update</a></li>
@@ -146,8 +146,8 @@ <h2>Choose your surface</h2>
146146
</section>
147147

148148
<section class="content-section" id="setup-and-project">
149-
<h2>Setup and project</h2>
150-
<div class="command-card-grid">
149+
<h2>Set up a project</h2>
150+
<div class="command-card-grid command-card-grid--stacked">
151151
<article class="command-card">
152152
<h3>Install the <code>nova</code> launcher</h3>
153153
<p>Use this one-time PowerShell setup when you want <code>nova</code> available directly from
@@ -174,37 +174,16 @@ <h3>Start a new project</h3>
174174
<div class="surface-note" data-command-visibility="powershell">
175175
<p><strong>Cmdlet:</strong> <code>Initialize-NovaModule</code></p>
176176
</div>
177-
<p>Create the minimal scaffold or the example scaffold for a new module project. Before the
178-
first interactive question, Nova checks whether a newer NovaModuleTools release is
179-
available and warns without blocking the scaffold flow. When Git is enabled, Nova also
180-
creates or updates a default <code>.gitignore</code> in the generated project root so
181-
common local and CI artifact paths are ignored without overwriting existing rules. Both
182-
interactive flows can also add the optional Agentic Copilot starter package,
183-
which follows Nova's maintained agentic guidance through a filtered starter mirror, including Nova build/test
184-
expectations, <code>project.json</code> <code>Manifest.PowerShellHostVersion</code>
185-
compatibility guidance, strict ScriptAnalyzer guidance without excluded rules, generated
186-
<code>dist</code> module files, command-help ownership, source-mirrored test guidance,
187-
instructions to fix ScriptAnalyzer findings reported by <code>run.ps1</code> before
188-
handoff, explicit public/private PowerShell file ownership guidance, a best-effort
189-
source/helper-script maintainability guidance plus separate test-design guidance delivered
190-
through best-effort source/helper-script maintainability guidance plus separate test-design guidance, explicit PSScriptAnalyzer
191-
workflow guidance for <code>./scripts/build/Invoke-ScriptAnalyzerCI.ps1</code>,
192-
<code>./run.ps1</code>, focused <code>Invoke-ScriptAnalyzer</code> usage, and
193-
Test-NovaBuild-only project test guidance that forbids direct
194-
<code>Invoke-Pester</code>, explicit
195-
valid-PlatyPS help guidance for <code>docs/&lt;ProjectName&gt;/en-US/*.md</code> using
196-
<code>New-MarkdownCommandHelp</code>, <code>Update-MarkdownCommandHelp</code>, and
197-
<code>Test-MarkdownCommandHelp</code>, with a matching help file required for every new
198-
public entry point, and a strict file-ending rule for changed or
199-
generated text files.
200-
</p>
201-
<p>New projects also start with Nova's default <code>Pester.CodeCoverage</code> block in
202-
<code>project.json</code>, but keep it disabled until you choose to enable coverage.</p>
203-
<p>If you enable the Agentic package, Nova also asks for a short project name used in generated
204-
guidance placeholders such as <code>Invoke-&lt;ShortName&gt;*</code>. For NovaModuleTools the
205-
short name is <code>Nova</code>, but it could also have been <code>NMT</code>.</p>
177+
<p>Create the minimal scaffold or the example scaffold for a new module project.</p>
206178
<ul class="plain-list">
207179
<li><strong>Use when:</strong> you are creating a fresh NovaModuleTools project</li>
180+
<li><strong>Includes:</strong> a pre-question Nova release warning, best-effort
181+
<code>.gitignore</code> creation or update when Git is enabled, and Nova's default
182+
<code>Pester.CodeCoverage</code> block in <code>project.json</code> with coverage still
183+
disabled until you choose to turn it on</li>
184+
<li><strong>Optional:</strong> add the <strong>Agentic Copilot</strong> starter package for Nova-maintained
185+
build, test, analyzer, help, and guidance files; if you enable it, Nova also asks for a
186+
short project name for placeholders such as <code>Invoke-&lt;ShortName&gt;*</code></li>
208187
<li data-command-visibility="command-line" hidden><strong>Remember:</strong> pass the target path
209188
explicitly with <code>--path</code> or <code>-p</code></li>
210189
<li data-command-visibility="powershell"><strong>Common parameters:</strong>

docs/core-workflows.html

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -123,31 +123,29 @@ <h2>Create the project</h2>
123123
<p>Use <code>% nova init --path ~/Work</code> or <code>% nova init -p ~/Work</code>, not positional
124124
path syntax such as <code>% nova init ~/Work</code>.</p>
125125
</div>
126-
<p>Both scaffold styles ask the same core project questions, and both now offer an optional Agentic
127-
Copilot starter package after the Git prompt. The starting version prompt now defaults to
128-
<code>0.1.0-preview</code>, so new projects begin on Nova's prerelease-friendly starter line unless
129-
you choose a different version. Before the first question, Nova also checks whether a
130-
newer NovaModuleTools release is available and warns without blocking the scaffold flow. When you
131-
enable Git in either scaffold style, Nova also creates or updates a default <code>.gitignore</code>
132-
in the generated project root so common local and CI artifact paths are ignored without
133-
overwriting existing rules. The Agentic prompt defaults to <code>No</code>, and the package
134-
follows Nova's maintained agentic guidance through a
135-
filtered starter mirror, including
136-
Nova build/test/package expectations, <code>project.json</code>
137-
<code>Manifest.PowerShellHostVersion</code> compatibility guidance, strict ScriptAnalyzer guidance
138-
without excluded rules, generated <code>dist</code> module files, command-help ownership,
139-
source-mirrored test guidance, instructions to fix ScriptAnalyzer findings reported by
140-
<code>run.ps1</code> before handoff, explicit public/private PowerShell file ownership guidance, a
141-
best-effort source/helper-script maintainability guidance plus separate test-design guidance
142-
delivered through Agentic Copilot guidance files, explicit PSScriptAnalyzer workflow
143-
guidance for <code>./scripts/build/Invoke-ScriptAnalyzerCI.ps1</code>, <code>./run.ps1</code>, and
144-
focused <code>Invoke-ScriptAnalyzer</code> usage, Test-NovaBuild-only project test guidance that
145-
forbids direct <code>Invoke-Pester</code>, explicit valid-PlatyPS help guidance for
146-
<code>docs/&lt;ProjectName&gt;/en-US/*.md</code> using
126+
<p>Both scaffold styles ask the same core project questions, and both now offer an optional
127+
<strong>Agentic Copilot</strong> starter package after the Git prompt.</p>
128+
<p>The starting version prompt now defaults to <code>0.1.0-preview</code>, so new projects begin on
129+
Nova's prerelease-friendly starter line unless you choose a different version. Before the first
130+
question, Nova also checks whether a newer NovaModuleTools release is available and warns without
131+
blocking the scaffold flow. When you enable Git in either scaffold style, Nova also creates or
132+
updates a default <code>.gitignore</code> in the generated project root so common local and CI
133+
artifact paths are ignored without overwriting existing rules.</p>
134+
<p>The Agentic prompt defaults to <code>No</code>, and the package follows Nova's maintained agentic
135+
guidance through a filtered starter mirror, including Nova build/test/package expectations,
136+
<code>project.json</code> <code>Manifest.PowerShellHostVersion</code> compatibility guidance,
137+
strict ScriptAnalyzer guidance without excluded rules, generated <code>dist</code> module files,
138+
command-help ownership, source-mirrored test guidance, instructions to fix ScriptAnalyzer findings
139+
reported by <code>run.ps1</code> before handoff, explicit public/private PowerShell file ownership
140+
guidance, a best-effort source/helper-script maintainability guidance plus separate test-design
141+
guidance delivered through <strong>Agentic Copilot</strong> guidance files, explicit
142+
PSScriptAnalyzer workflow guidance for <code>./scripts/build/Invoke-ScriptAnalyzerCI.ps1</code>,
143+
<code>./run.ps1</code>, and focused <code>Invoke-ScriptAnalyzer</code> usage, Test-NovaBuild-only
144+
project test guidance that forbids direct <code>Invoke-Pester</code>, explicit valid-PlatyPS help
145+
guidance for <code>docs/&lt;ProjectName&gt;/en-US/*.md</code> using
147146
<code>New-MarkdownCommandHelp</code>, <code>Update-MarkdownCommandHelp</code>, and
148147
<code>Test-MarkdownCommandHelp</code>, with a matching help file required for every new public
149-
entry point, and a strict file-ending rule for changed or generated text
150-
files.</p>
148+
entry point, and a strict file-ending rule for changed or generated text files.</p>
151149
<p>The generated <code>project.json</code> also starts with Nova's standard <code>Pester</code>
152150
defaults, including a disabled <code>CodeCoverage</code> block with explicit source coverage paths
153151
for <code>src/public/</code>, nested <code>src/private/</code> helper folders, and

docs/getting-started.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -194,31 +194,29 @@ <h2>4. Scaffold the packaged example</h2>
194194
</div>
195195
</div>
196196
<p>Nova asks for the project name, description, version, author, minimum PowerShell version, whether
197-
Git should be initialized, and whether Nova should add the optional Agentic Copilot starter package.
198-
The starting version prompt now defaults to <code>0.1.0-preview</code>, so new projects begin on
199-
Nova's prerelease-friendly starter line unless you choose a different version.
200-
Before the first question, Nova also checks whether a newer NovaModuleTools release is available and
201-
warns without blocking the scaffold flow.
202-
When you enable Git, Nova also creates or updates a default <code>.gitignore</code> in the new
203-
project root so common local and CI artifact paths start ignored without overwriting existing ignore
204-
rules.
205-
The Agentic package follows Nova's maintained agentic guidance through a filtered starter mirror,
197+
Git should be initialized, and whether Nova should add the optional <strong>Agentic Copilot</strong> starter package.</p>
198+
<p>The starting version prompt now defaults to <code>0.1.0-preview</code>, so new projects begin on
199+
Nova's prerelease-friendly starter line unless you choose a different version. Before the first
200+
question, Nova also checks whether a newer NovaModuleTools release is available and warns without
201+
blocking the scaffold flow. When you enable Git, Nova also creates or updates a default
202+
<code>.gitignore</code> in the new project root so common local and CI artifact paths start ignored
203+
without overwriting existing ignore rules.</p>
204+
<p>The Agentic package follows Nova's maintained agentic guidance through a filtered starter mirror,
206205
including Nova build/test/package expectations, <code>project.json</code>
207206
<code>Manifest.PowerShellHostVersion</code> compatibility guidance, strict ScriptAnalyzer guidance
208207
without excluded rules, generated <code>dist</code> module files, command-help ownership,
209208
source-mirrored test guidance, instructions to fix ScriptAnalyzer findings reported by
210209
<code>run.ps1</code> before handoff, explicit public/private PowerShell file ownership guidance, a
211210
best-effort source/helper-script maintainability guidance plus separate test-design guidance
212-
delivered through Agentic Copilot guidance files, explicit PSScriptAnalyzer workflow
211+
delivered through <strong>Agentic Copilot</strong> guidance files, explicit PSScriptAnalyzer workflow
213212
guidance for <code>./scripts/build/Invoke-ScriptAnalyzerCI.ps1</code>, <code>./run.ps1</code>, and
214213
focused <code>Invoke-ScriptAnalyzer</code> usage, Test-NovaBuild-only project test guidance that
215214
forbids direct <code>Invoke-Pester</code>, explicit valid-PlatyPS help guidance for
216215
<code>docs/&lt;ProjectName&gt;/en-US/*.md</code> using
217216
<code>New-MarkdownCommandHelp</code>, <code>Update-MarkdownCommandHelp</code>, and
218217
<code>Test-MarkdownCommandHelp</code>, with a matching help file required for every new public
219-
entry point, and a strict file-ending rule for changed or generated text
220-
files.
221-
Nova then creates a project folder under the path you selected.</p>
218+
entry point, and a strict file-ending rule for changed or generated text files.</p>
219+
<p>Nova then creates a project folder under the path you selected.</p>
222220
<p>The generated <code>project.json</code> also starts with Nova's standard <code>Pester</code>
223221
defaults, including an opt-in <code>CodeCoverage</code> block with <code>Enabled=false</code>,
224222
explicit source coverage paths for <code>src/public/</code>, nested <code>src/private/</code>

0 commit comments

Comments
 (0)