mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
31 lines
722 B
Python
31 lines
722 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
sphinx.builders.websupport
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Builder for the web support package.
|
|
|
|
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
|
|
:license: BSD, see LICENSE for details.
|
|
"""
|
|
|
|
if False:
|
|
# For type annotation
|
|
from typing import Any, Dict # NOQA
|
|
from sphinx.application import Sphinx # NOQA
|
|
|
|
|
|
def setup(app):
|
|
# type: (Sphinx) -> Dict[unicode, Any]
|
|
try:
|
|
from sphinxcontrib.websupport.builder import WebSupportBuilder
|
|
app.add_builder(WebSupportBuilder)
|
|
except ImportError:
|
|
pass
|
|
|
|
return {
|
|
'version': 'builtin',
|
|
'parallel_read_safe': True,
|
|
'parallel_write_safe': True,
|
|
}
|