Skip to content

abhinav/doc2go

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2024
Apr 19, 2025
Feb 25, 2024
Apr 19, 2025
Feb 12, 2024
May 12, 2025
Feb 21, 2024
Apr 10, 2023
Nov 9, 2023
Apr 19, 2025
Feb 12, 2024
Feb 13, 2024
Jan 3, 2023
Dec 1, 2023
Apr 10, 2023
Feb 14, 2025
Feb 12, 2024
Feb 12, 2024
Feb 12, 2024
Feb 12, 2024
May 12, 2025
May 12, 2025
Feb 12, 2024
Jan 19, 2023
Nov 11, 2023
Jan 1, 2023
Feb 21, 2024
Feb 11, 2024
Apr 19, 2025
Apr 19, 2025
Apr 19, 2025
Jun 26, 2024

Repository files navigation

doc2go

doc2go logo

CI codecov

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 https://abhinav.github.io/doc2go/docs/install/, but in short, use one of the following methods:

# 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 https://abhinav.github.io/doc2go/docs/start/.

If you just want a copy-paste-friendly setup to publish your documentation to GitHub Pages, see https://abhinav.github.io/doc2go/docs/publish/github-pages/.

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.