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.4.tar.gz (18.9 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.4-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docs_hub-0.1.4.tar.gz
  • Upload date:
  • Size: 18.9 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.4.tar.gz
Algorithm Hash digest
SHA256 d529104e9a4001e71f41da63edf94f8a9a9b3151570e640681075acca2711a9a
MD5 9f4e3c9c3651eded51e1544a2aa29e6c
BLAKE2b-256 f687553f9a4434a0c3d451b1a68d1a70abf57e91ffc99b3740ecba5d71ef9483

See more details on using hashes here.

Provenance

The following attestation bundles were made for docs_hub-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: docs_hub-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f9b2f0e299f7b8269582489adca593bfef3bb7b5d357959d8b99cc891ce2ea
MD5 b9266fce2e627020d7884f479a5aaf99
BLAKE2b-256 aa4efef10a3149b36530d8e3bd93cf6052bbe9a6b66e487c52abfca6b4c32baa

See more details on using hashes here.

Provenance

The following attestation bundles were made for docs_hub-0.1.4-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

This release

0.1.4 This release

2 files

0.1.3

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