From 7eed3cecc3d6f729550468d973641d13e9ce7956 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 4 Sep 2017 13:10:24 +1000 Subject: Fix main page release path and release page error message. --- docs/docs.rtems.org/configuration.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs.rtems.org/configuration.py b/docs/docs.rtems.org/configuration.py index 99e2342..c14f871 100644 --- a/docs/docs.rtems.org/configuration.py +++ b/docs/docs.rtems.org/configuration.py @@ -246,11 +246,13 @@ class configuration: tag = _release_tag(release) if self.is_legacy_releases(name): catalogue = "releases/%s.xml" % (name) + path = 'releases' else: catalogue = "releases/%s/catalogue.xml" % (label) + path = 'releases/%s' % (label) return \ - '\n' \ - % (catalogue, tag) + '\n' \ + % (catalogue, path, tag) def _match_all(tag): return True @@ -286,7 +288,7 @@ class configuration: tag = tagger(d) if matcher(tag): html += hindent + '
\n' % (tag) - html += hindent + ' No catalogue found.\n' + html += hindent + ' %s No catalogue found.\n' % (d[0]) html += hindent + '
\n' scripts += ' ' * 3 + scripter(d) -- cgit v1.2.3