Skip to main content

A simple program to download documentation from docs.rs and convert it into a plaintext file.

Project description

docs2txt

https://img.shields.io/pypi/v/docs2txt.svg https://img.shields.io/travis/ehutzle/docs2txt.svg Documentation Status

A simple program to download documentation from docs.rs and convert it into a plaintext file.

Features

Rust

  • Download documentation from docs.rs and convert it into a plaintext file.

Usage

  • Create a virtual environment and install the package python -m venv venv

  • Install the package with pip install docs2txt

  • Activate the virtual environment
    • OSX / Linux: source venv/bin/activate

    • Windows: venv\Scripts\activate

  • Run the program:
    • python -m docs2txt

Examples

To download the documentation of the redb crate and save it to a folder on your desktop named “Rust Docs”:

  • python -m docs2txt docs-rs --url https://docs.rs/redb/1.0.4/redb/ --output-dir '~/Desktop/Rust Docs'

History

0.1.0 (2023-07-09)

  • First release on PyPI.

0.1.1 - 0.1.4 (2023-07-09)

  • Bug Fixes

0.1.5 (2023-07-09)

  • Updated Readme with usage and example

0.1.6 (2023-07-09)

  • Added History

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

docs2txt-0.1.6.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

docs2txt-0.1.6-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 2 Python 3

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