Git Product home page Git Product logo

hapdoc's Introduction

H a p d o c

autodoc CLI tool written in Python with โค๏ธ

Python FastAPI

Version wakatime

CodeFactor

Why Hapdoc? ๐Ÿ’โ€โ™€๏ธ

  • Easy to use: Hapdoc is designed to be simple and user-friendly, making it easy for programmers to create documentation without having to spend a lot of time learning how to use it.
  • Markdown support: Hapdoc supports Markdown syntax, which is a popular markup language used by many developers. This means that programmers can write documentation using the same tools they use to write code, making the process more familiar and efficient.
  • Customizable themes: Hapdoc supports different themes, allowing programmers to choose a look and feel that matches their project or organization's branding. Additionally, programmers can create their own themes if they want to customize the look of their documentation further.

Features โœจ

  • Supported projects:
    • Python
    • FastAPI
    • JavaScript
  • Generate Markdown docs via gen command.
  • Build docs into HTML via build command.
  • Build Markdown docs into JSON via md2json command.
  • Serve generated docs at your server via serve command.
  • Create your own templates via tmpl-new.
  • See your saved templates via tmpl-list.
  • Prepare your docs with project.hapdoc config file.

Installing ๐Ÿ“ฅ

via pypi ๐Ÿ“ฆ

pip install hapdoc --upgrade

via git ๐Ÿ’พ

pip install https://github.com/hapticx/hapdoc

Usage โšก

Help message

hapdoc --help

Generate and serve docs via FastAPI:

hapdoc gen path/to/project
hapdoc serve docs/hapdoc -h 127.0.0.1 -p 5000

Build HTML docs:

hapdoc build path/to/project

What's Next? ๐Ÿ’ก

We planned to add some other project types! Check more in issues:doc_rules

Contributing ๐Ÿ’ซ

You can help us and create PR with project type โœŒ

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.