Code Monkey home page Code Monkey logo

docpal's Introduction

Docpal

Build status NuGet Badge

Are overcomplicated documentation tools making you headbang a brick wall?

Wishing for something compatible with a Markdown-based site generator?

Longing for more than an XML comment scraper?

Docpal is a Markdown documentation generator for .NET assemblies without all the bloat. It's simple, straightforward, and easy to use.

Take your EXE or DLL and do this:

docpal Rant.dll -out ./docs

Boom, you have your docs. It's that easy!

Install

dotnet tool install -g netcore-docpal
  • To update if already installed:
dotnet tool update -g netcore-docpal

What Docpal offers

Get started in minutes instead of hours

Don't waste your time learning some other tool that takes forever to set up. You can learn Docpal in a couple minutes and have results in seconds!

No gigantic config files

Docpal works with the very basics. You don't need config files with hundreds of settings.

XML is optional

You don't need an XML documentation file to use Docpal. If there is one, its contents will be automatically extracted into the docs. No extra setup required.

Show only what's important

Unlike some other tools, Docpal only looks at user-facing types and members.

Two output styles

Many pages or one -- it's up to you! Tell Docpal to combine all your docs on one page with the --slim flag.

Easy to integrate

Docpal works wonderfully with other Markdown-based website generators, such as MkDocs.

How to use

Docpal can be run from a terminal or integrated into your build process to run automatically.

Here are the options it can currently use:

Usage: Docpal [OPTIONS]... <dll_pathfilename>

Options:
  -out <path>    Specifies the path where the docs will be saved.
  -xml <path>    Specifies a custom XML documentation path.
  --slim         Specifies that the docs will be combined into a single .md file.
  --noxml        Don't use XML.
  --mgtable      methods groups in type page will reported in a table with summary foreach method in the group
  --proptable    properties in type page will reported in a table with summary foreach

Include netcore assemblies

To produce documentation from a netcore library you may need to include referenced dlls while building it:

dotnet build /p:CopyLocalLockFileAssemblies=true

Compiling and running

Docpal is written in C# 7 and requires Visual Studio 2017 or Visual Studio Code with dotnet core to compile.

cd Docpal
dotnet build -c Release
dotnet Docpal/bin/Release/netcoreapp2.2/Docpal.dll

docpal's People

Contributors

devel0 avatar ivankahl avatar theberkin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.