Mercurial > libervia-website
changeset 9:f47d6ba74a26
pages (documentation): update following renaming
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 23 Apr 2021 11:01:24 +0200 |
parents | dc880664a8ec |
children | 0e9e97777fe0 |
files | pages/documentation/page_meta.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/pages/documentation/page_meta.py Fri Apr 16 18:51:12 2021 +0200 +++ b/pages/documentation/page_meta.py Fri Apr 23 11:01:24 2021 +0200 @@ -20,18 +20,18 @@ if allowed_docs is None: allowed_docs = sorted(self.getConfig("sub_docs_dict", {}).keys()) try: - allowed_docs.remove('sat') + allowed_docs.remove('backend') except KeyError: - log.error("sat doc not available") + log.error("backend doc not available") else: - allowed_docs.insert(0, "sat") + allowed_docs.insert(0, "backend") try: doc_name = self.nextPath(request) except IndexError: - doc_name = 'sat' + doc_name = 'backend' else: if doc_name not in allowed_docs: log.warning(_("unknown doc name: {doc_name}").format(doc_name=doc_name)) - doc_name = 'sat' + doc_name = 'backend' template_data['doc_name'] = doc_name template_data['all_docs'] = allowed_docs