Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abhinav/doc2go

Your Go project's documentation, to-go.
https://github.com/abhinav/doc2go

documentation golang

Last synced: about 4 hours ago
JSON representation

Your Go project's documentation, to-go.

Awesome Lists containing this project

README

        

# doc2go

![doc2go logo](docs/static/logo.png)

[![CI](https://github.com/abhinav/doc2go/actions/workflows/ci.yml/badge.svg)](https://github.com/abhinav/doc2go/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/abhinav/doc2go/branch/main/graph/badge.svg?token=CD4YAVNVJF)](https://codecov.io/gh/abhinav/doc2go)

doc2go is a command line tool
that generates static HTML documentation from your Go code.
It is a self-hosted static alternative to
https://pkg.go.dev/ and https://godocs.io/.

Documentation for the tool is available at https://abhinav.github.io/doc2go/.

## Installation

See ,
but in short, use one of the following methods:

```bash
# Homebrew/Linuxbrew:
brew install abhinav/tap/doc2go

# ArchLinux User Repository
yay -S doc2go-bin

# Build from source
go install go.abhg.dev/doc2go@latest
```

## Getting Started

To get started with doc2go, see
.

If you just want a copy-paste-friendly setup
to publish your documentation to GitHub Pages,
see .

## License

This software is licensed under the Apache 2.0 License
with the exception of the following files.

internal/godoc/synopsis.go
internal/godoc/synopsis_test.go

The license for those files is noted inside them.