Skip to main content

docs-hub

Scans one or more root folders for .html/.md files that live under a docs/ or reports/ folder (at any depth), converts the Markdown ones to HTML, and builds a single browsable index grouped by top-level repo/folder. Runs locally on your own machine only — no hosting, no accounts, no data leaves your filesystem.

Install

pipx install .          # from this directory, or `pipx install docs-hub` once published
# or, in a venv:
pip install .

Quick start

docs-hub config set roots=/path/to/your/projects
docs-hub scan            # one-off run
docs-hub ui              # http://127.0.0.1:5000 — dashboard, settings, cron

The web UI lets you:

  • Dashboard — see last scan info and open the generated index.
  • Settings — pick which root folder(s) to scan, which folder names count as "docs"/"reports", and which directories to skip.
  • Cron — see whether a scheduled scan is installed, and install/update/ remove it. This writes to your real user crontab, tagged with a # docs-hub-scan marker comment so it only ever touches its own job — your other cron jobs are left alone.

Config lives at ~/.config/docs-hub/config.json (or your platform's config-dir equivalent); generated output lives under ~/.local/share/docs-hub by default.

CLI reference

docs-hub scan [--root PATH ...]
docs-hub ui [--port 5000] [--host 127.0.0.1]
docs-hub config show
docs-hub config set KEY=VALUE [KEY=VALUE ...]   # comma-separate list values
docs-hub cron install [--schedule "0 * * * *"]
docs-hub cron remove
docs-hub cron status

Migrating from the old standalone generate.py

This repo previously shipped a single hardcoded script (generate.py) with a raw crontab entry pointing at it directly. To move to the packaged version:

pip install -e .                                    # from this directory
docs-hub config set roots=/home/arun/Arun/Projects   # restore the old scan target
docs-hub cron install --schedule "0 * * * *"         # replaces the raw crontab line
crontab -e                                           # remove the old raw generate.py line by hand

The old converted/, index.html, and cron.log produced by generate.py are independent of the new package's output directory and can be left in place or deleted once you've confirmed the new docs-hub scan output looks right. Note that docs-hub (this folder) itself sits under /home/arun/Arun/Projects, so it's included in the default exclude_dirs list to avoid the scanner picking up its own cached output as a phantom "repo".

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docs_hub-0.1.3.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docs_hub-0.1.3-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file docs_hub-0.1.3.tar.gz.

File metadata

  • Download URL: docs_hub-0.1.3.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for docs_hub-0.1.3.tar.gz
Algorithm Hash digest
SHA256 46249212dad56d57e6e2496fcd39161ac219d7422b6419373a7fa99beef188c8
MD5 4081a0cacfd112f9c2f96d4bcdcde8cc
BLAKE2b-256 5751527eb8af1fe304e7b4b4aa0082885d2482db4988bd0f3be89aa189829ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for docs_hub-0.1.3.tar.gz:

Publisher: publish.yml on Arun-gox/docs-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file docs_hub-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: docs_hub-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for docs_hub-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e11a076d240342c05e065699c3b2c9ccd4bf76d2cf34abdbb4dda200e2bdda
MD5 56c1cd8f647e9cbf5fb46b635f253b1c
BLAKE2b-256 6cab4a71efae82633cf8994ce8d3f13c8e6ef98c0dd4c104907f077370e2c0f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for docs_hub-0.1.3-py3-none-any.whl:

Publisher: publish.yml on Arun-gox/docs-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.5

2 files

0.1.4

2 files

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page