Merge pull request #6248 from blueyed/default-role
docs: configure default_role=literal
This commit is contained in:
commit
8b7aeefd7d
|
@ -37,10 +37,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py3-plus]
|
args: [--py3-plus]
|
||||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
||||||
rev: v1.4.0
|
|
||||||
hooks:
|
|
||||||
- id: rst-backticks
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.740
|
rev: v0.740
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -92,7 +92,7 @@ exclude_patterns = [
|
||||||
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all documents.
|
# The reST default role (used for this markup: `text`) to use for all documents.
|
||||||
# default_role = None
|
default_role = "literal"
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||||
# add_function_parentheses = True
|
# add_function_parentheses = True
|
||||||
|
|
Loading…
Reference in New Issue