summaryrefslogtreecommitdiffstats
path: root/common/rtemsdomain.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-09 15:35:21 +1100
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:26 -0400
commitc21e8e96ae6ffc876d1b6522214bb66d969fa631 (patch)
tree43bba8fd64211048371bbe594a4e253476d65c8d /common/rtemsdomain.py
parent867016de1245969e91f5cbc80900531548ef7682 (diff)
downloadrtems-docs-c21e8e96ae6ffc876d1b6522214bb66d969fa631.tar.bz2
Better error message, add FTP to the URL list.
Diffstat (limited to 'common/rtemsdomain.py')
-rw-r--r--common/rtemsdomain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rtemsdomain.py b/common/rtemsdomain.py
index 2ccd354..a8bcd28 100644
--- a/common/rtemsdomain.py
+++ b/common/rtemsdomain.py
@@ -40,6 +40,7 @@ role_url = {
"docs": ("Documentation Site", "https://docs.rtems.org/"),
"lists": ("Mailing Lists", "https://lists.rtems.org/"),
"git": ("Git Repositories", "https://git.rtems.org/"),
+ "ftp": ("FTP File Server", "https://ftp.rtems.org/"),
"review": ("Gerrit Code Review", "https://review.rtems.org/"),
"bugs": ("Bugs Database", "https://devel.rtems.org/wiki/Bugs/"),
"gsoc": ("Google Summer of Code", "https://devel.rtems.org/wiki/GSoC/"),
@@ -66,7 +67,7 @@ def rtems_resolve_role(name, rawtext, text, lineno, inliner, options={}, content
elif role == "url":
text, url = role_url[text]
except KeyError:
- msg = inliner.reporter.error("rtems_resolve_role(): %s is not a valid %s" % (text, role))
+ msg = inliner.reporter.error("rtems_resolve_role: '%s' is not a valid %s" % (text, role))
err = inliner.problematic("ERROR: %s" % rawtext, None, msg)
return [err], [msg]