Skip to main content

H a p d o c

autodoc CLI tool written in Python with :heart:

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 :sparkles:

  • 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 :dizzy:

You can help us and create PR with project type ✌

Metadata

Release files for hapdoc 1.9.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hapdoc 1.9.25
File Size Uploaded
hapdoc-1.9.25.tar.gz 20.7 kB Details

Release files / hapdoc-1.9.25.tar.gz

Download URL hapdoc-1.9.25.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5fb1b4198d9eebd7ebeba861594bd2161a2586f7b32cfc3c9ef426d200fa116c
BLAKE2b-256 checksum
How to use checksums
31316c65edf754e61b87cae18ea0f764ed9990b7ea428051e5c01942f3094bed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.9.25 This release

1 release file

1.9.24

1 release file

1.9.23

1 release file

1.9.22

1 release file

1.9.21

1 release file

1.9.20

1 release file

1.9.19

1 release file

1.9.18

1 release file

1.9.17

1 release file

1.9.16

1 release file

1.9.15

1 release file

1.9.14

1 release file

1.9.13

1 release file

1.9.12

1 release file

1.9.11

1 release file

1.9.10

1 release file

1.9.9

1 release file

1.9.6

1 release file

1.9.5

1 release file

1.9.4

1 release file

1.9.2

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.3

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.3

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.0

1 release file

1.5.0

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.3

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.0.2

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page