Skip to content

Commit 75432bd

Browse files
authored
Change a warning into a regular info (#29)
* Change a warning into a regular info * doc
1 parent 5fdb798 commit 75432bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sphinx_runpython/gdot/sphinx_gdot_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def copy_js_files(app):
356356
else:
357357
logger.warning("[gdot] unable to find %r", path)
358358
else:
359-
logger.warning("[gdot] viz.js, use %r", GDotDirective._default_url)
359+
logger.info("[gdot] viz.js, use %r", GDotDirective._default_url)
360360

361361
file_dest = os.path.join(destf, "require.js")
362362
try:

sphinx_runpython/runpython/sphinx_runpython_extension.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@ class RunPythonDirective(Directive):
535535
* ``:sout:<text_for_in>`` which text to display before the output (by default *Out*)
536536
* ``:sphinx:`` by default, function :epkg:`nested_parse_with_titles` is
537537
used to parse the output of the script, if this option is set to false,
538-
`public_doctree <http://code.nabla.net/doc/docutils/api/
539-
docutils/core/docutils.core.publish_doctree.html>`_.
538+
`publish-doctree
539+
<https://docutils.sourceforge.io/docs/api/publisher.html#publish-doctree>`_.
540540
* ``:store:`` stores the local context in :epkg:`sphinx`
541541
application to restore it later by another call to *runpython*
542542
* ``:toggle:`` add a button to hide or show the code, it takes the values
@@ -628,7 +628,7 @@ def run(self):
628628
Extracts the information in a dictionary,
629629
runs the script.
630630
631-
@return a list of nodes
631+
:return: a list of nodes
632632
"""
633633
# settings
634634
sett = self.state.document.settings

0 commit comments

Comments
 (0)