diff --git a/nexus_constructor/main_window.py b/nexus_constructor/main_window.py index 5cff9c9a7..8cb79add0 100644 --- a/nexus_constructor/main_window.py +++ b/nexus_constructor/main_window.py @@ -189,10 +189,14 @@ def _save_to_filewriter_json(self, save_compressed_file): error_collector: List[str] = [] if save_compressed_file: data_dump = json.dumps( - self.model.as_dict(error_collector), separators=(",", ":") + self.model.as_dict(error_collector), + separators=(",", ":"), + sort_keys=True, ) else: - data_dump = json.dumps(self.model.as_dict(error_collector), indent=2) + data_dump = json.dumps( + self.model.as_dict(error_collector), indent=2, sort_keys=True + ) if error_collector: show_errors_message(error_collector) return diff --git a/nx-class-documentation/html/_static/basic.css b/nx-class-documentation/html/_static/basic.css index 7577acb1a..cfc60b86c 100644 --- a/nx-class-documentation/html/_static/basic.css +++ b/nx-class-documentation/html/_static/basic.css @@ -670,6 +670,16 @@ dd { margin-left: 30px; } +.sig dd { + margin-top: 0px; + margin-bottom: 0px; +} + +.sig dl { + margin-top: 0px; + margin-bottom: 0px; +} + dl > dd:last-child, dl > dd:last-child > :last-child { margin-bottom: 0; @@ -738,6 +748,14 @@ abbr, acronym { cursor: help; } +.translated { + background-color: rgba(207, 255, 207, 0.2) +} + +.untranslated { + background-color: rgba(255, 207, 207, 0.2) +} + /* -- code displays --------------------------------------------------------- */ pre { diff --git a/nx-class-documentation/html/applying-nexus.html b/nx-class-documentation/html/applying-nexus.html index 47ed1fa7c..dea83db5a 100644 --- a/nx-class-documentation/html/applying-nexus.html +++ b/nx-class-documentation/html/applying-nexus.html @@ -9,12 +9,12 @@