Giter Club home page Giter Club logo

wtfm's Introduction

Where's the fucking manual?

The tool for lazy programmers to maintain docs with code in go. It oriented on documenting go code and useles for other langs.

Status

Program yet unusable and development only started. If you interested in this tool for go just vote project with a star.

Why?

  1. Of course I use godoc for generating documentation for go code. But it lacks support for light text markups like markdown and not comfortable for keeping documentation tree not naily binded to structure of your code.

  2. I like sphinx way to build docs for it flexibility. It allow to combine autogenerated APIs based on code comments with handwriten texts. So it useful for teams with dedicated technical writer. But sphinx mostly oriented on Python and can't generate API for go code.

  3. I like swagger for generating live API for testing HTTP interfaces. But swagger need support from webframework which you used. Not many of go frameworks has such support. So to describe arbitrary HTTP API we need to use special comments like for example doxygen does. I think it not good way but it better than nothing.

  4. I use both reST and markdown formats and want to mix them in docs.

  5. I use plantuml for diagrams and illustrations as it well fits in vcs with code and text docs.

  6. I want a HTML output for both and simple tool to serve these pages without setup external webserver.

So I started to experiment with this new tool named wtfm.

usecase.png

##Documentation samples

// Sample method
//
// #http /example/method
//
// Query params:
// :test int: just a number
// :test2 string

Will generate reST code:

Sample method
==============

``[GET] /example/method``

Parameters in a query:

.. glossary::
  ``test`` int
     just a number
  ``test2`` string

wtfm's People

Contributors

grafov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.