All Projects → p1va → dotnet-document

p1va / dotnet-document

Licence: MIT license
A tool for auto-generating XML documentation for your C# code

Programming Languages

C#
18002 projects
shell
77523 projects

Projects that are alternatives of or similar to dotnet-document

godoc-generate
Default godoc generator - make your first steps towards better code documentation
Stars: ✭ 21 (-64.41%)
Mutual labels:  documentation-generator
NextBook
NextBook is quick and easy way to build technical books or documentation with markdown that run blazingly fast.
Stars: ✭ 153 (+159.32%)
Mutual labels:  documentation-generator
ember-docgen
A CLI and toolbox to extract information from Ember component files for documentation generation purposes.
Stars: ✭ 15 (-74.58%)
Mutual labels:  documentation-generator
strictdoc
Software for writing technical requirements specifications.
Stars: ✭ 80 (+35.59%)
Mutual labels:  documentation-generator
numpydoc.el
Insert NumPy style docstrings in Python functions.
Stars: ✭ 33 (-44.07%)
Mutual labels:  documentation-generator
nodejs-markdown-site
Markdown-based site (blog, project documentation, etc) written with NodeJS.
Stars: ✭ 68 (+15.25%)
Mutual labels:  documentation-generator
dotnet-file
Download, update and sync loose files from URLs
Stars: ✭ 42 (-28.81%)
Mutual labels:  dotnet-tool
doku
fn(Code) -> Docs
Stars: ✭ 65 (+10.17%)
Mutual labels:  documentation-generator
PowerDocu
Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps
Stars: ✭ 190 (+222.03%)
Mutual labels:  documentation-generator
floyd-docs
FloydHub's documentation code. Contributions welcome!
Stars: ✭ 66 (+11.86%)
Mutual labels:  documentation-generator
LiveReloadServer
A self-contained, local, cross-platform, static file Web Server with automatic Live Reloading, Markdown rendering and loose Razor Pages support.
Stars: ✭ 69 (+16.95%)
Mutual labels:  dotnet-tool
docgen
Docxy is a React based open-source documentation site generator. Build beautiful, blazing fast documentation sites for your projects with just markdown.
Stars: ✭ 49 (-16.95%)
Mutual labels:  documentation-generator
dotnet-format
A GitHub Action to run dotnet-format as part of your workflow
Stars: ✭ 25 (-57.63%)
Mutual labels:  dotnet-tool
AsBuiltReport.Core
Repository for AsBuiltReport core module
Stars: ✭ 38 (-35.59%)
Mutual labels:  documentation-generator
SQLPowerDoc
Hopefully an up to date fork of SQL Power Doc. Newer PS versions and .NET levels. Maybe too ambitious. This repository was cloned from kendalvandyke, the original author of SQLPowerDoc. Codeplex is currently in the process of shutting down. I cloned this project (and its wiki) with the intention of preserving a wonderful tool that I recently dis…
Stars: ✭ 19 (-67.8%)
Mutual labels:  documentation-generator
EncodingNormalior
规范化文件编码。Make the file's encoding standard.
Stars: ✭ 58 (-1.69%)
Mutual labels:  dotnet-tool
apollo-studio-community
🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
Stars: ✭ 212 (+259.32%)
Mutual labels:  documentation-generator
litscript
Literate Interactive TypeScript
Stars: ✭ 33 (-44.07%)
Mutual labels:  documentation-generator
doc-gen
Generate HTML documentation for mathlib and Lean
Stars: ✭ 14 (-76.27%)
Mutual labels:  documentation-generator
docuowl
🦉 A documentation generator
Stars: ✭ 1,199 (+1932.2%)
Mutual labels:  documentation-generator

dotnet-document

Build NuGet NuGet

A cross platform tool that auto generates an XML doc starting point for your C# codebase.

Thanks to Microsoft.CodeAnalysis.CSharp this tool is able to identify undocumented members and to generate a meaningful XML doc by humanizing member names.

Before After

Installation

The tool can be installed globally via Nuget by running

dotnet tool install --global dotnet-document --version 0.1.4-alpha

👉 When installing pre releases the version has to be explicitly specified

How to run

Apply doc

To run the tool invoke dotnet document apply

# Documents all *.cs files in the current dir and all sub dirs 
dotnet document apply

# Documents the specified .cs file
dotnet document apply ./src/folder/MyClass.cs

# Documents all *.cs files in the specified dir and all sub dirs 
dotnet document apply ./src/folder/

# Documents all *.cs files in the specified solution
dotnet document apply ./src/solution.sln

# Documents all *.cs files in the specified project
dotnet document apply ./src/folder/project.csproj

Dry run

To test the command without saving changes on disk a dry run option is available.

In case of undocumented members a non-zero exit code is returned so that it is possible to warn about it during CI.

dotnet document apply --dry-run

Configuration

The tool can be configured so that the generated XML documentation meets the project guidelines.

Default configuration

The default configuration is used when no config file specified. It can be viewed by invoking

dotnet document config --default

Customizing configuration

To customize the configuration, simply save the default one somewhere and use your preferred editor to update it.

dotnet document config --default > ~/my-dotnet-document.yaml

Custom configuration path can be provided either by setting a DOTNET_DOCUMENT_CONFIG_FILE env variable or by passing the -c argument when calling the apply command. The latter overrides the first.

dotnet document apply \
  -c ~/my-dotnet-document.yaml \
  ./src/folder/

To double check which configuration is being used, invoke

dotnet document config

👉 Folder based configuration discovery is not yet supported

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].