This repository is a generic documentation crawler:
- Crawl a target docs site and store markdown files.
- Build a local HTML viewer with sidebar navigation + markdown content panel.
docs_crawler.py: core CLI (init / crawl / build-site / run / status / preview)crawler_config.json: target site and runtime settingsrun_crawler.bat: one-click Windows entrypointtests/test_docs_crawler.py: unit tests
Generated data is written to .site_sync/ (configurable):
source_md/manifests/source_manifest.jsonsource_site/index.htmlreports/
python docs_crawler.py --config crawler_config.json run
python docs_crawler.py --config crawler_config.json preview --port 8777
python -m unittest discover -s tests -p "test_*.py" -v- Python 3.10+
- PEP 8, 4 spaces
- Keep changes focused and reversible