dors

command module
v0.0.0-...-94bce97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 1 Imported by: 0

README

Dors

Dors is a tool to generate docs for your go project. It is based on the go doc tool and it generates a markdown file with the documentation of your project.

Installation

go install github.com/ulm0/dors@latest

Usage

$ docs gen --help
generate docs for your go project

Usage:
  dors gen [flags]

Flags:
  -e, --exclude-paths strings      A list of folders to exclude from the documentation.
  -h, --help                       help for gen
  -i, --include-sections strings   A list of sections to include in the documentation. (default [constants,factories,functions,methods,types,variables])
  -p, --print-source               Print source code for each symbol.
  -r, --recursive                  Read all files in the package and generate the documentation. It can be used in combination with include, and exclude. (default true)
  -c, --respect-case               Respect case when matching symbols. (default true)
  -s, --short                      One-line representation for each symbol.
  -k, --skip-sub-pkgs              SkipSubPackages will omit the sub packages section from the README.
  -t, --title string               Title for the documentation, if empty the package name is used.
  -u, --unexported                 Include unexported symbols.

This will generate a DOCS.md file in for each package in your project, processing the comments in your code.


Acknowledgements

This is project is based on previous work made by goreadme.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
gen
Package gen provides a command to generate documentation for a Go package.
Package gen provides a command to generate documentation for a Go package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL