From 6ef44002aa6b41118e93272fb08a081ad70a6d2a Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Wed, 6 Nov 2024 09:03:21 +0100 Subject: [PATCH] moved entire viz to top level of visualization More intuitive. Signed-off-by: Nick Papior --- docs/conf.py | 2 +- docs/index.rst | 2 +- docs/visualization/{viz => }/basic-tutorials/Demo.ipynb | 0 docs/visualization/{viz => }/blender/First animation.rst | 0 docs/visualization/{viz => }/blender/Getting started.rst | 0 .../{viz => }/combining-plots/Intro to combining plots.ipynb | 0 docs/visualization/{viz => }/diy/Adding new backends.ipynb | 0 docs/visualization/{viz => }/diy/Building a new plot.ipynb | 0 docs/visualization/{viz => }/index.rst | 0 docs/visualization/{viz => }/showcase/AtomicMatrixPlot.ipynb | 0 docs/visualization/{viz => }/showcase/BandsPlot.ipynb | 0 docs/visualization/{viz => }/showcase/FatbandsPlot.ipynb | 0 docs/visualization/{viz => }/showcase/GeometryPlot.ipynb | 0 docs/visualization/{viz => }/showcase/GridPlot.ipynb | 0 docs/visualization/{viz => }/showcase/PdosPlot.ipynb | 0 docs/visualization/{viz => }/showcase/SitesPlot.ipynb | 0 docs/visualization/{viz => }/showcase/WavefunctionPlot.ipynb | 0 .../{viz => }/showcase/_template/Showcase template.ipynb | 0 docs/visualization/{viz => }/showcase/_template/create.py | 0 docs/visualization/{viz => }/tests/test_tutorials.py | 0 20 files changed, 2 insertions(+), 2 deletions(-) rename docs/visualization/{viz => }/basic-tutorials/Demo.ipynb (100%) rename docs/visualization/{viz => }/blender/First animation.rst (100%) rename docs/visualization/{viz => }/blender/Getting started.rst (100%) rename docs/visualization/{viz => }/combining-plots/Intro to combining plots.ipynb (100%) rename docs/visualization/{viz => }/diy/Adding new backends.ipynb (100%) rename docs/visualization/{viz => }/diy/Building a new plot.ipynb (100%) rename docs/visualization/{viz => }/index.rst (100%) rename docs/visualization/{viz => }/showcase/AtomicMatrixPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/BandsPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/FatbandsPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/GeometryPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/GridPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/PdosPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/SitesPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/WavefunctionPlot.ipynb (100%) rename docs/visualization/{viz => }/showcase/_template/Showcase template.ipynb (100%) rename docs/visualization/{viz => }/showcase/_template/create.py (100%) rename docs/visualization/{viz => }/tests/test_tutorials.py (100%) diff --git a/docs/conf.py b/docs/conf.py index d0d98340fb..3fcce0a289 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -380,7 +380,7 @@ def has_no_under(name: str): # Redirects of moved pages rediraffe_redirects = { "contribute.rst": "dev/index.rst", - "visualization/viz_module/index.rst": "visualization/viz/index.rst", + "visualization/viz_module/index.rst": "visualization/index.rst", } latex_elements = { diff --git a/docs/index.rst b/docs/index.rst index f755ad7609..3aeee84a07 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -79,7 +79,7 @@ Since then it has expanded to accommodate a rich set of DFT code input/outputs. :caption: User Guide tutorials/index - visualization/viz/index + visualization/index scripts/index .. toctree:: diff --git a/docs/visualization/viz/basic-tutorials/Demo.ipynb b/docs/visualization/basic-tutorials/Demo.ipynb similarity index 100% rename from docs/visualization/viz/basic-tutorials/Demo.ipynb rename to docs/visualization/basic-tutorials/Demo.ipynb diff --git a/docs/visualization/viz/blender/First animation.rst b/docs/visualization/blender/First animation.rst similarity index 100% rename from docs/visualization/viz/blender/First animation.rst rename to docs/visualization/blender/First animation.rst diff --git a/docs/visualization/viz/blender/Getting started.rst b/docs/visualization/blender/Getting started.rst similarity index 100% rename from docs/visualization/viz/blender/Getting started.rst rename to docs/visualization/blender/Getting started.rst diff --git a/docs/visualization/viz/combining-plots/Intro to combining plots.ipynb b/docs/visualization/combining-plots/Intro to combining plots.ipynb similarity index 100% rename from docs/visualization/viz/combining-plots/Intro to combining plots.ipynb rename to docs/visualization/combining-plots/Intro to combining plots.ipynb diff --git a/docs/visualization/viz/diy/Adding new backends.ipynb b/docs/visualization/diy/Adding new backends.ipynb similarity index 100% rename from docs/visualization/viz/diy/Adding new backends.ipynb rename to docs/visualization/diy/Adding new backends.ipynb diff --git a/docs/visualization/viz/diy/Building a new plot.ipynb b/docs/visualization/diy/Building a new plot.ipynb similarity index 100% rename from docs/visualization/viz/diy/Building a new plot.ipynb rename to docs/visualization/diy/Building a new plot.ipynb diff --git a/docs/visualization/viz/index.rst b/docs/visualization/index.rst similarity index 100% rename from docs/visualization/viz/index.rst rename to docs/visualization/index.rst diff --git a/docs/visualization/viz/showcase/AtomicMatrixPlot.ipynb b/docs/visualization/showcase/AtomicMatrixPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/AtomicMatrixPlot.ipynb rename to docs/visualization/showcase/AtomicMatrixPlot.ipynb diff --git a/docs/visualization/viz/showcase/BandsPlot.ipynb b/docs/visualization/showcase/BandsPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/BandsPlot.ipynb rename to docs/visualization/showcase/BandsPlot.ipynb diff --git a/docs/visualization/viz/showcase/FatbandsPlot.ipynb b/docs/visualization/showcase/FatbandsPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/FatbandsPlot.ipynb rename to docs/visualization/showcase/FatbandsPlot.ipynb diff --git a/docs/visualization/viz/showcase/GeometryPlot.ipynb b/docs/visualization/showcase/GeometryPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/GeometryPlot.ipynb rename to docs/visualization/showcase/GeometryPlot.ipynb diff --git a/docs/visualization/viz/showcase/GridPlot.ipynb b/docs/visualization/showcase/GridPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/GridPlot.ipynb rename to docs/visualization/showcase/GridPlot.ipynb diff --git a/docs/visualization/viz/showcase/PdosPlot.ipynb b/docs/visualization/showcase/PdosPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/PdosPlot.ipynb rename to docs/visualization/showcase/PdosPlot.ipynb diff --git a/docs/visualization/viz/showcase/SitesPlot.ipynb b/docs/visualization/showcase/SitesPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/SitesPlot.ipynb rename to docs/visualization/showcase/SitesPlot.ipynb diff --git a/docs/visualization/viz/showcase/WavefunctionPlot.ipynb b/docs/visualization/showcase/WavefunctionPlot.ipynb similarity index 100% rename from docs/visualization/viz/showcase/WavefunctionPlot.ipynb rename to docs/visualization/showcase/WavefunctionPlot.ipynb diff --git a/docs/visualization/viz/showcase/_template/Showcase template.ipynb b/docs/visualization/showcase/_template/Showcase template.ipynb similarity index 100% rename from docs/visualization/viz/showcase/_template/Showcase template.ipynb rename to docs/visualization/showcase/_template/Showcase template.ipynb diff --git a/docs/visualization/viz/showcase/_template/create.py b/docs/visualization/showcase/_template/create.py similarity index 100% rename from docs/visualization/viz/showcase/_template/create.py rename to docs/visualization/showcase/_template/create.py diff --git a/docs/visualization/viz/tests/test_tutorials.py b/docs/visualization/tests/test_tutorials.py similarity index 100% rename from docs/visualization/viz/tests/test_tutorials.py rename to docs/visualization/tests/test_tutorials.py