Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/GandalfUK/godoc2ghmd

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/GandalfUK/godoc2ghmd

  • v0.0.0-20170102215518-d78ed169ffe1
  • Source
  • Go
  • Socket score

Version published
Created
Source

godoc2ghmd (godoc-to-GitHub-MarkDown) generates package documentation in GitHub flavoured Markdown.

Usage:

godoc2ghmd [options] [full package name]

For full and up-to-date Usage information run:

$ godoc2ghmd -help

Notes

While the output of godoc2ghmd can simply be piped into a file, e.g.:

$ godoc2ghmd github.com/GandalfUK/godoc2ghmd > README.md

it can also be used with the -file option:

$ godoc2ghmd -file=README.md github.com/GandalfUK/godoc2ghmd

This invocation is particularly useful when using go generate to automate the creation of package documentation before sumbmitting code. For example, this directive:

go:generate godoc2ghmd -file=README.md github.com/GandalfUK/godoc2ghmd

in the documentation.go file within this repositoy created this very README.md file by running:

$ go generate

The same command also (re)generates all the documentation in the examples folder via other similar directives.

History

This is a fork of https://github.com/davecheney/godoc2md with (most of) the changes from https://github.com/wdamron/godoc2gh rolled in. I have then made some additional fixes and modifications. (I have changed the repo name only to make it easier to work on these changes while keeping the previous versions intact for comparison).


Generated by godoc2ghmd

FAQs

Package last updated on 02 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc