Create a SQLite database from Sphinx documentation
Project description
sphinx-to-sqlite
Create a SQLite database from Sphinx documentation
Installation
Install this tool using pip
:
$ pip install sphinx-to-sqlite
Usage
First run sphinx-build
with the -b xml
option to create XML files in your _build/
directory.
Then run:
$ sphinx-to-sqlite docs.db path/to/_build
To build the SQLite database.
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd sphinx-to-sqlite
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx-to-sqlite-0.1a0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_to_sqlite-0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f0c47ac11a8b7fdf39976284196f4d0e836b3694f68a087a135eead2436442 |
|
MD5 | 401b1aad8d11eaa3fe54567b032376b7 |
|
BLAKE2b-256 | 07ada45e00bfc9b7bf9bb865f41af9e836d91d6ba10731ae647eff83f3c0a601 |