Mercurial > libervia-website
diff pages/documentation/page_meta.py @ 22:5fd933e238bb
massive refactoring from camelCase -> snake_case. See backend commit log for more details
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 22 May 2023 09:11:54 +0200 |
parents | f47d6ba74a26 |
children | e7c7327f9f25 |
line wrap: on
line diff
--- a/pages/documentation/page_meta.py Tue Nov 30 17:39:46 2021 +0100 +++ b/pages/documentation/page_meta.py Mon May 22 09:11:54 2023 +0200 @@ -18,7 +18,7 @@ template_data = request.template_data if allowed_docs is None: - allowed_docs = sorted(self.getConfig("sub_docs_dict", {}).keys()) + allowed_docs = sorted(self.config_get("sub_docs_dict", {}).keys()) try: allowed_docs.remove('backend') except KeyError: @@ -26,7 +26,7 @@ else: allowed_docs.insert(0, "backend") try: - doc_name = self.nextPath(request) + doc_name = self.next_path(request) except IndexError: doc_name = 'backend' else: