aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-26 08:12:08 -0400
committerW. Trevor King <wking@tremily.us>2012-10-26 08:16:38 -0400
commit26aadf775cbafd14e98870f818aae078181080d8 (patch)
treefadb78851ae7bd32fd8b89d59ae5668aac957e11 /doc
parent3b8cf46403e0a827a2a4b3f81b654323c821f5b1 (diff)
downloadbugseverywhere-26aadf775cbafd14e98870f818aae078181080d8.tar.gz
doc: update :func: to :py:func: for modern Sphinx.
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py2
-rw-r--r--doc/hacking.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index a115ce4..8b3fcfa 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -75,7 +75,7 @@ exclude_trees = ['.build']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
-# If true, '()' will be appended to :func: etc. cross-reference text.
+# If true, '()' will be appended to :py:func: etc. cross-reference text.
#add_function_parentheses = True
# If true, the current module name will be prepended to all description
diff --git a/doc/hacking.txt b/doc/hacking.txt
index 941dfde..2684597 100644
--- a/doc/hacking.txt
+++ b/doc/hacking.txt
@@ -72,7 +72,7 @@ execution + childrens' times)::
$ python -c "import pstats; p=pstats.Stats('profile'); p.sort_stats('cumulative').print_stats(20)"
If you want to find out who's calling your expensive function
-(e.g. :func:`libbe.util.subproc.invoke`), try::
+(e.g. :py:func:`libbe.util.subproc.invoke`), try::
$ python -c "import pstats; p=pstats.Stats('profile'); p.sort_stats('cumulative').print_callers(20)"