Skip to main content

Sphinx extension for storing and restoring `.doctree` cache.

Project description

Sphinx-Cache is a Sphinx extension for storing and restoring the .doctrees cache.

Installation

We recommend using the latest version of Python. Sphinx-Cache supports Python 3.6 and newer versions.

Using pip

$ pip install sphinx-cache

From source

$ git clone https://github.com/useblocks/sphinx-cache
$ cd sphinx-cache
$ pip install .

Configuration

All configurations take place in your project’s conf.py file.

Activation

Add sphinx_cache to the extensions list.

extensions = ["sphinx_cache",]

Options

All configuration options start with the prefix cache_ for Sphinx-Cache.

cache_store_path

The cache_store_path option specifies the directory path where you want to save the doctree cache files.

Default: .cache/

cache_doctree_path

The cache_doctree_path option specifies the directory path of the doctree folder.

Default: _build/.doctrees

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

sphinx_cache-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

sphinx_cache-0.0.1-py3-none-any.whl (5.3 kB view hashes)

Uploaded 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