GithubHelp home page GithubHelp logo

avbrocklehurst / goapidoc Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 19 KB

Go API Doc allows you to automatically generate markdown documentation for your HTTP API from comments on http.Handlers.

License: MIT License

Go 100.00%
golang go documentation api http autogenerate

goapidoc's Introduction

Go API Doc

Go API Doc allows you to automatically generate markdown or HTML documentation for your HTTP API from comments on http.Handlers.

This is a package I am working on for fun and out of interest. It may at somepoint be worth using.

HTML design is heavily influenced by the awesome https://github.com/lord/slate

TODO:

  • Document setup and usage process
  • Create list of all th things I want to do and make them into issues to be worked on
  • Parse markdown into beautiful documentation (mabye into slate)

goapidoc's People

Contributors

avbrocklehurst avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

goapidoc's Issues

Better param parsing

Currently, types are not parsed in the params section. This should be changed to be more like returns. However, there will need to more complex logic based on single or multiple params. Some thinking is needed for the best option.

Document how to use project

Currently, you can only use this tool if you dig through the source code to figure out how it works. Good documentation is needed to allow easy use for anyone, preferably with complete examples.

Better navigation on HTML docs

Improve the navigation so that it works more like Slates (exaple below)

Example

Main points here are highlighting the current section, and dropping down a list of all endpoints in a section when active.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.