-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Furo theme for the documentation
- Loading branch information
1 parent
45d8dc2
commit 9618f2f
Showing
9 changed files
with
71 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* This file is managed by 'repo_helper'. Don't edit it directly. */ | ||
|
||
div.highlight { | ||
-moz-tab-size: 4; | ||
tab-size: 4; | ||
} | ||
|
||
.field-list dt, dl.simple dt { | ||
margin-top: 0.5rem; | ||
} |
2 changes: 1 addition & 1 deletion
2
doc-source/_templates/layout.html → doc-source/_templates/base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!--- This file is managed by 'repo_helper'. Don't edit it directly. ---> | ||
{% extends "!layout.html" %} | ||
{% extends "!base.html" %} | ||
{% block extrahead %} | ||
<link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css"> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!---This file is managed by 'repo_helper'. Don't edit it directly.---> | ||
<div class="sidebar-tree"> | ||
{{ furo_navigation_tree }} | ||
</div> | ||
|
||
<div class="sidebar-tree"> | ||
<p class="caption"><span class="caption-text">Links</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference external" href="https://github.com/domdfcoding/flake8-sphinx-links">GitHub</a></li> | ||
<li class="toctree-l1"><a class="reference external" href="https://pypi.org/project/flake8_sphinx_links">PyPI</a></li> | ||
</ul> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
======== | ||
Usage | ||
======== | ||
|
||
This library provides the Flake8 plugin ``flake8-sphinx-links`` to check docstrings for double backticked | ||
strings which should be links to the Python documentation. | ||
|
||
|
||
For example, \`\`True\`\` should be py\:obj:\`True\`, which Sphinx will render as a link to the Python documentation. | ||
See :doc:`examples` for further examples. | ||
|
||
reStructuredText .rst files are not currently checked. | ||
|
||
|
||
Flake8 codes | ||
-------------- | ||
|
||
.. flake8-codes:: flake8_sphinx_links | ||
|
||
SXL001 | ||
|
||
|
||
Pre-commit hook | ||
---------------- | ||
|
||
``flake8-sphinx-links`` can also be used as a ``pre-commit`` hook | ||
See `pre-commit <https://github.com/pre-commit/pre-commit>`_ for instructions | ||
|
||
Sample ``.pre-commit-config.yaml``: | ||
|
||
.. pre-commit:flake8:: 0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters