1
Install
Install the DotNetDocs CLI
Add DotNetDocs to your Solution
Navigate to your solution folder and create a new documentation project:The CLI automatically queries NuGet.org for the latest SDK version. See more options in the CLI Reference docs.
- locates the solution
 - creates a new 
{SolutionName}.Docs\{SolutionName}.Docs.docsprojfile that centralizes your documentation - adds the new project to your solution
 
You can see more of how to configure your .docsproj file in the .docsproj Reference docs.
Your documentation project is now part of your solution and will stay in sync with your codebase.
2
Integrate
Adjust your .docsproj settings
Change the documentation type, shut off API Reference generation, turn off conceptual docs, and adjust any other settings as necessary.Enable XML Documentation Comment compilation
Add this to the projects where you want to extract the XML Documentation comments from your code:Exclude unnecessary projects
Test projects are excluded by default. If there are other projects you’d like to exclude, update your.docsproj with the following property:Generate API Documentation
Run the documentation generator:- Parse your assembly XML documentation
 - Extract all public types, methods, properties, and events
 - Combine it with any conceptual docs you’ve written
 - Render files in the format of your choice in the folder you specified
 
Your API documentation now stays in sync with every build - no more stale docs!
3
Deploy
Local Development with Mintlify
Preview your docs locally with Mintlify’s dev server:Deploy to Mintlify
Connect your GitHub repository to Mintlify for automatic deployments:- Push your docs to GitHub
 - Go to mintlify.com and connect your repo
 - Mintlify automatically deploys on every push to main
 
Deploy to GitHub Pages
Add a GitHub Actions workflow (.github/workflows/docs.yml):CI/CD Integration
DotNetDocs integrates with your existing build pipeline:Your documentation is now deployed and accessible to your users!