From d7e03b2c4b4ce9ba09776f4befe1d8697482ccc7 Mon Sep 17 00:00:00 2001 From: Lukas Pielsticker <50139597+lukaspie@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:18:25 +0200 Subject: [PATCH] remove docs build of nxdl groupings --- dev_tools/docs/nxdl_index.py | 38 ++---------------------------------- 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/dev_tools/docs/nxdl_index.py b/dev_tools/docs/nxdl_index.py index e3f9c9371c..bcb8ac666b 100644 --- a/dev_tools/docs/nxdl_index.py +++ b/dev_tools/docs/nxdl_index.py @@ -66,22 +66,13 @@ def nxdl_indices() -> Dict[str, dict]: else: file = "" print("---------++++++++-", section) - if file.endswith(("applications/index.rst", "base_classes/index.rst")): - rst_lines.append(f"{indentation}em-structure\n") - rst_lines.append(f"{indentation}optical-spectroscopy-structure\n") - rst_lines.append(f"{indentation}mpes-structure\n") - rst_lines.append(f"{indentation}apm-structure\n") - if file.endswith("contributed_definitions/index.rst"): rst_lines.append(f"{indentation}em-structure\n") - rst_lines.append(f"{indentation}optical-spectroscopy-structure\n") + rst_lines.append(f"{indentation}ellipsometry-structure\n") rst_lines.append(f"{indentation}mpes-structure\n") rst_lines.append(f"{indentation}apm-structure\n") rst_lines.append(f"{indentation}transport-structure\n") - rst_lines.append(f"{indentation}sts-structure\n") rst_lines.append(f"{indentation}cgms-structure\n") - rst_lines.append(f"{indentation}icme-structure\n") - rst_lines.append(f"{indentation}sample-prep-structure\n") for cname in sorted(classes): rst_lines.append(f"{indentation}{cname}\n") @@ -119,18 +110,6 @@ def get_nxclass_description(nxdl_file: Path, namespaces) -> str: *might* be used in an instance of that class. Consider the base classes as a set of *components* that are used to construct a data file. - -Some contributions are grouped together: - :ref:`Optical Spectroscopy ` - - :ref:`Multi-dimensional Photoemission Spectroscopy ` - - :ref:`Atomprobe Microscopy ` - - :ref:`Electron Microscopy ` - -and others are simply listed here: - """, # - - - - - - - - - - - - - - - - - - - - - - - - - - - - "applications": """ @@ -159,19 +138,6 @@ def get_nxclass_description(nxdl_file: Path, namespaces) -> str: In application definitions involving raw data, write the raw data in the :ref:`NXinstrument` tree and then link to it from the location(s) defined in the relevant application definition. - -Some contributions are grouped together: - :ref:`Optical Spectroscopy ` - - :ref:`Multi-dimensional Photoemission Spectroscopy ` - - :ref:`Atomprobe Microscopy ` - - :ref:`Electron Microscopy ` - - -and others are simply listed here: - """, # - - - - - - - - - - - - - - - - - - - - - - - - - - - - "contributed_definitions": """ @@ -194,7 +160,7 @@ def get_nxclass_description(nxdl_file: Path, namespaces) -> str: and acceptance as either a base class or application definition. Some contributions are grouped together: - :ref:`Optical Spectroscopy ` + :ref:`Optical Spectroscopy ` :ref:`Multi-dimensional Photoemission Spectroscopy `