Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<!-- Package metadata (applies to any project with IsPackable=true) -->
<PropertyGroup>
<Version>0.1.0-alpha</Version>
<Authors>ShellUI</Authors>
<Company>ShellUI</Company>
<Copyright>Copyright © 2026 ShellUI</Copyright>
Expand Down
6 changes: 6 additions & 0 deletions docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ Ships to `ShellDocs.Components`.
- Handles `razor:preview` blocks — code visible in Preview + Code tabs (`<DocsTabs>` primitive comes in Phase 2)

### ✅ `feat/cli-init` — shipped

### ✅ `feat/cli-init-create-mode` — shipped
Split `shelldocs init` into two modes:
- **create** (default) — runs `dotnet new blazor` in `docs/<CwdName>.Docs`, then directly patches Program.cs + App.razor + adds packages + drops content/DocsPage.razor. One-command scaffold.
- **attach** (`--attach`) — the old behaviour; augments an existing csproj and emits `SHELLDOCS_SETUP.md` for manual patching (safer for projects with custom auth/middleware).
Both idempotent. Tests: 12 (4 attach + 4 patcher + 4 fixture-verified).
Ships to `ShellDocs.CLI` + `ShellDocs.Templates`.

- `shelldocs init` — detects Blazor WASM project, adds package references, generates `content/`, `Layout/DocsLayout.razor`, patches `Program.cs` to register services, writes default `meta.json`
Expand Down
2 changes: 2 additions & 0 deletions examples/ShellDocs.Preview/Components/Pages/Blog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
</div>
</div>

<DocsFooter Version="0.1.0-alpha" TwitterHandle="shellui_" />

@code {
private record Post(string Title, string Excerpt, string Tag, string Date, string Author, string AuthorInitials, string AvatarBg, string ReadTime, string Href);

Expand Down
21 changes: 21 additions & 0 deletions examples/ShellDocs.Preview/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,27 @@ Works in Server, WASM, and static output.
</div>
</section>

<DocsFooter Version="0.1.0-alpha" TwitterHandle="shellui_">
<Columns>
<div class="docs-footer-col">
<h3>Resources</h3>
<ul>
<li><a href="/docs/introduction">Documentation</a></li>
<li><a href="/showcase">Showcase</a></li>
<li><a href="/blog">Blog</a></li>
</ul>
</div>
<div class="docs-footer-col">
<h3>Support</h3>
<ul>
<li><a href="https://github.com/shellui-dev/shelldocs/issues" target="_blank" rel="noopener">Request feature</a></li>
<li><a href="https://github.com/shellui-dev/shelldocs/issues" target="_blank" rel="noopener">Report bug</a></li>
<li><a href="/sponsors">Sponsor</a></li>
</ul>
</div>
</Columns>
</DocsFooter>

<style>
/* Hero — bordered rounded frame with looping video bg + content overlay.
Copied from the ShellUI docs home. */
Expand Down
2 changes: 2 additions & 0 deletions examples/ShellDocs.Preview/Components/Pages/Showcase.razor
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
</div>
</div>

<DocsFooter Version="0.1.0-alpha" TwitterHandle="shellui_" />

@code {
private record Site(string Name, string Description, string Url, string PreviewBg, string Accent);

Expand Down
Loading
Loading