Storage Backends
From Get docs
Sphinx/docs/4.1.x/usage/advanced/websupport/storagebackends
Storage Backends
To create a custom storage backend you will need to subclass the StorageBackend class. Then create an instance of the new class and pass that as the storage keyword argument when you create the WebSupport object:
support = WebSupport(srcdir=srcdir,
builddir=builddir,
storage=MyStorage())
For more information about creating a custom storage backend, please see the documentation of the StorageBackend class below.
- class sphinxcontrib.websupport.storage.StorageBackend
- Defines an interface for storage backends.
Changed in version 1.6: StorageBackend class is moved to sphinxcontrib.websupport.storage from sphinx.websupport.storage.
Methods