Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit c95e314

Browse files
authored
Add sphinx metadata (#108)
Fixes #91
1 parent 4a5e229 commit c95e314

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sphinx_search/extension.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22

3+
from sphinx_search import __version__
34
from sphinx.errors import ExtensionError
45
from sphinx.util.fileutil import copy_asset
56

@@ -45,3 +46,9 @@ def setup(app):
4546

4647
app.connect('builder-inited', inject_static_files)
4748
app.connect('build-finished', copy_asset_files)
49+
50+
return {
51+
'version': __version__,
52+
'parallel_read_safe': True,
53+
'parallel_write_safe': True,
54+
}

0 commit comments

Comments
 (0)