pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/matplotlib/matplotlib/commit/9e0ffe1d60c8944d3dcc9694b9c2bbace43fc92a

ss" /> Enable nitpicky mode · matplotlib/matplotlib@9e0ffe1 · GitHub
Skip to content

Commit 9e0ffe1

Browse files
committed
Enable nitpicky mode
1 parent 1d330e0 commit 9e0ffe1

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ def _check_dependencies():
100100
else:
101101
autodoc_default_options = {'members': None, 'undoc-members': None}
102102

103+
nitpicky = True
104+
103105
intersphinx_mapping = {
104106
'python': ('https://docs.python.org/3', None),
105107
'numpy': ('https://docs.scipy.org/doc/numpy/', None),

doc/sphinxext/missing_references.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
The basic operation is:
66
77
1. Add this extension to your ``conf.py`` extensions.
8-
2. Add ``missing_references_freeze = True`` to your ``conf.py``
8+
2. Add ``missing_references_write_json = True`` to your ``conf.py``
99
3. Run sphinx-build. It will generate ``missing-references.json``
1010
next to your ``conf.py``.
11-
4. Remove ``missing_references_freeze = True`` from your
11+
4. Remove ``missing_references_write_json = True`` from your
1212
``conf.py`` (or set it to ``False``)
1313
5. Run sphinx-build again, and ``nitpick_ignore`` will
1414
contain all of the previously failed references.
@@ -20,7 +20,7 @@
2020

2121

2222
def record_missing_reference_handler(app, env, node, contnode):
23-
if not app.config.missing_references_freeze:
23+
if not app.config.missing_references_write_json:
2424
# no-op when we are disabled.
2525
return
2626

@@ -38,7 +38,7 @@ def record_missing_reference_handler(app, env, node, contnode):
3838

3939

4040
def save_missing_references_handler(app, exc):
41-
if not app.config.missing_references_freeze:
41+
if not app.config.missing_references_write_json:
4242
# no-op when we are disabled.
4343
return
4444

@@ -48,7 +48,7 @@ def save_missing_references_handler(app, exc):
4848

4949

5050
def prepare_missing_references_handler(app, config):
51-
if config.missing_references_freeze:
51+
if config.missing_references_write_json:
5252
return
5353

5454
path = os.path.join(app.confdir, "missing-references.json")
@@ -62,7 +62,7 @@ def prepare_missing_references_handler(app, config):
6262

6363

6464
def setup(app):
65-
app.add_config_value("missing_references_freeze", False, "env")
65+
app.add_config_value("missing_references_write_json", False, "env")
6666

6767
app.connect("config-inited", prepare_missing_references_handler)
6868
app.connect("missing-reference", record_missing_reference_handler)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy