diff options
author | Chris Johns <chrisj@rtems.org> | 2016-03-09 15:35:21 +1100 |
---|---|---|
committer | Amar Takhar <verm@darkbeer.org> | 2016-05-02 20:51:26 -0400 |
commit | c21e8e96ae6ffc876d1b6522214bb66d969fa631 (patch) | |
tree | 43bba8fd64211048371bbe594a4e253476d65c8d /common | |
parent | Format the index for PDF output. (diff) | |
download | rtems-docs-c21e8e96ae6ffc876d1b6522214bb66d969fa631.tar.bz2 |
Better error message, add FTP to the URL list.
Diffstat (limited to 'common')
-rw-r--r-- | common/rtemsdomain.py | 3 |
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] |