Skip to main content

No project description provided

Project description

doc2dash

doc2dash is an extensible Documentation Set (docset) generator that helps you to have documentation for all your favorite APIs in Dash.app-compatible API browsers.

An API browser is an application that runs locally on your computer and allows you to search various API docs by pressing a key combination and starting to type (I have bound it to Alt-Space bar and can't write code without it).

The most common ones – Dash.app (macOS) and Zeal (Windows and Linux) – come with many docsets out of the box, but they can never offer you docsets for every package you'll ever use. This is where doc2dash comes in: It takes your offline documentation and converts it into an indexed format that API browsers can read and search (very fast!).

Currently it supports all known intersphinx-based documentation systems like Sphinx, pydoctor, or MkDocs (with mkdocstrings). While doc2dash is a Python project, the support is not limited to Python-related formats.

It's also extendable: you can write your own parser!

doc2dash Session

Project Information

Release Information for 3.0.0 - 2022-09-13

Removed

  • Since pydoctor added support for intersphinx in version 21.2.0, the dedicated HTML-parsing parser has been removed. If you need to parse legacy pydoctor docs, please use doc2dash 2.4.1.

Added

  • Stand-alone binaries! If your platform is supported, you can now download binaries from the release page without dealing with Python at all – courtesy of PyOxidizer.
  • intersphinx: documentation based on MkDocs with mkdocstrings metadata is now supported.
  • intersphinx: if no explicit name is passed, the docset name is derived von the documentation's metadata (and not the directory name, which is more often than not just html).
  • We use rich for output and progress bars now. This allows us more granular progress indication.
  • Documentation on writing your own parser plugins.

Changed

  • Tons of refactorings that probably broke your custom parsers. Sorry about that and let us know, if we can help you fixing them.
  • intersphinx: We now parse objects.inv files on our own. Sphinx is not a dependency anymore.
  • intersphinx: Files that are indexed by intersphinx, but don't exist aren't added to the docset anymore. Common example is py-modindex.html. #113 #115
  • We now check if the index page passed via --index-page / -I exists and fail if it doesn't.

Credits

doc2dash is written and maintained by Hynek Schlawack and released under the MIT license.

The development is kindly supported by my employer Variomedia AG and all my amazing GitHub Sponsors.

A full list of contributors can be found on GitHub's overview.

Project details


Download files

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

Source Distribution

doc2dash-3.0.0.tar.gz (108.3 kB view details)

Uploaded Source

Built Distribution

doc2dash-3.0.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file doc2dash-3.0.0.tar.gz.

File metadata

  • Download URL: doc2dash-3.0.0.tar.gz
  • Upload date:
  • Size: 108.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for doc2dash-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5456ee60cce489dd03f6e236b2d997f949d17de3a0fce5e6be3c262493efa1ee
MD5 3c29c09f1feba535ba2d52903f5f8c3a
BLAKE2b-256 c04ce52c98d19c6abc179a682a5a5e4877551df12dca30335e6678d6cd555a76

See more details on using hashes here.

File details

Details for the file doc2dash-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: doc2dash-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for doc2dash-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afa169fd44f2b7231a15c90e2f124b552da4f94353d4c1f7b13f84a0e2a9be58
MD5 8885f8eb1acb5fe7bfce3b22ea25a593
BLAKE2b-256 09732e4eb079b214ab9b4dc3d51dfb1d7e06a3bf6337347f0a16c250f0d6e96b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page