goreadme-server

command module
v0.0.0-...-6d03e5b Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 26 Imported by: 0

README

goreadme-server

GoDoc goreadme

an HTTP server that works with Github hooks.

Goreadme is a tool for creating README.md files from Go doc of a given package. This project is the Github app on top of this tool. It fully automates the process of keeping the README.md file updated.

Usage
  1. Go to https://github.com/apps/goreadme.

  2. Press the "Configure" button.

  3. Choose your account, or an organization that owns the repository.

  4. Review the permissions and provide access to goreadme to repositories.

  5. Click Save.

You should see PRs from goreadme bot in your github repos. For more features, or to trigger goreadme on demand, use the Goreadme website.

How does it Work

Once integrated with a repository, goreadme is registered on a Github hook, that calls goreadme server whenever the repository default branch is modified. Goreadme then computes the new README.md file and compairs it to the exiting one. If a change is needed, Goreadme will create a PR with the new content of the README.md file.

Customization

Adding a goreadme.json file to your repository main directory can enable some customization to the generated readme file. The configuration is available according to goreadme.Config struct.


Created by goreadme

Documentation

Overview

Package main is an HTTP server that works with Github hooks.

(Goreadme) https://github.com/posener/goreadme is a tool for creating README.md files from Go doc of a given package. This project is the Github app on top of this tool. It fully automates the process of keeping the README.md file updated.

Usage

1. Go to https://github.com/apps/goreadme.

2. Press the "Configure" button.

3. Choose your account, or an organization that owns the repository.

4. Review the permissions and provide access to goreadme to repositories.

5. Click Save.

You should see PRs from goreadme bot in your github repos. For more features, or to trigger goreadme on demand, use the (Goreadme website) https://goreadme.herokuapp.com.

How does it Work

Once integrated with a repository, goreadme is registered on a Github hook, that calls goreadme server whenever the repository default branch is modified. Goreadme then computes the new README.md file and compairs it to the exiting one. If a change is needed, Goreadme will create a PR with the new content of the README.md file.

Customization

Adding a `goreadme.json` file to your repository main directory can enable some customization to the generated readme file. The configuration is available according to (goreadme.Config struct) https://godoc.org/github.com/posener/goreadme#Config.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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