Digitals.Docs 0.5.0

dotnet tool install --global Digitals.Docs --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Digitals.Docs --version 0.5.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Digitals.Docs&version=0.5.0
                    
nuke :add-package Digitals.Docs --version 0.5.0
                    

Digitals.Docs

dt-docs builds and checks a project docs site: Docusaurus with sections, search and optional Entra ID sign-in from one docs-settings.yml, keys that link any page to a spot on another, and checks of every page's front matter, links and headings. Bun and the site ship inside the package, so a project needs only the .NET SDK.

dnx Digitals.Docs init acme-docs          # a new project docs repo; asks for what you leave out
cd acme-docs && dotnet tool restore
dotnet dt-docs dev                        # the site with live reload
dotnet dt-docs lint                       # settings, pages and keys; exit 1 on any finding
dotnet dt-docs build                      # lint, then the site and its access config into build/
Command Does
init [<dir>] Writes docs-settings.yml, the tool manifest, the homepage, a glossary, one folder per section, AGENTS.md, the dt-docs agent skill and a GitHub Actions or Azure Pipelines file. Never overwrites a file
dev Serves the site with live reload. Options go to Docusaurus, such as --port 3001. port in docs-settings.yml sets the default
lint Fails on a docs-settings.yml mistake, a missing homepage, front matter missing a field or with a wrong value, a description over 160 characters, a page name that isn't lowercase, a broken link or image, an image without alt text, a skipped heading level, a TODO in a page out of draft, a key that isn't URL safe or is defined twice, or a :ref to a key no page defines
pages Prints every page's path, title and description, by section
find [<key>] Prints where a key is defined and its /go link, or lists the keys starting with what you give it
build lint, then the static site with search into build/, with staticwebapp.config.json requiring sign-in, or with no sign-in under auth: mode: none, and telling browsers to keep no copy of a page, so back never shows one from an earlier deploy. A broken link fails it
serve Serves the last build
new <kind> <page> A page from a template: page or adr, plus domain, systems, feature, quality, change, component, flow or deployment with approach: layered
skills [<name>] Lists the agent skills for the project's approach, or prints one. Each kind of page new writes has one

On GitHub Actions and Azure Pipelines, findings print as pull request annotations with their file and line; --format text|github|azure overrides that.

A minor or patch release never needs a change to docs-settings.yml or a page. The full guide, the example project and the release notes are at github.com/Digitals-OYT-Ltd/docs-conventions.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.5.0 0 11/26/2026
0.4.3 171 11/5/2026
0.4.2 117 11/4/2026
0.4.1 113 11/4/2026
0.4.0 112 11/4/2026
0.3.0 121 11/4/2026
0.2.0 112 11/4/2026
0.1.0 122 11/3/2026