From 08d95a6297074f9fda43baddd232c652c9fe639d Mon Sep 17 00:00:00 2001
From: Andrew Maclean <andrew.amaclean@gmail.com>
Date: Mon, 19 Apr 2021 10:43:28 +1000
Subject: [PATCH] Moving MarchingSquares.cs to Modelling

---
 src/Admin/VTKClassesUsedInExamples.py                  | 5 ++---
 src/CSharp.md                                          | 2 +-
 src/CSharp/{WishList => }/Modelling/MarchingSquares.cs | 0
 src/CSharp/{WishList => }/Modelling/MarchingSquares.md | 0
 4 files changed, 3 insertions(+), 4 deletions(-)
 rename src/CSharp/{WishList => }/Modelling/MarchingSquares.cs (100%)
 rename src/CSharp/{WishList => }/Modelling/MarchingSquares.md (100%)

diff --git a/src/Admin/VTKClassesUsedInExamples.py b/src/Admin/VTKClassesUsedInExamples.py
index c8d038cc859..92168089de9 100755
--- a/src/Admin/VTKClassesUsedInExamples.py
+++ b/src/Admin/VTKClassesUsedInExamples.py
@@ -155,7 +155,6 @@ class VTKClassesInExamples(object):
             exclude_dirs = ['Deprecated']
             if eg == 'CSharp':
                 fn_pattern = re.compile(r'^[0-9a-zA-Z_\-]+\.cs$')
-                exclude_dirs = exclude_dirs + ['WishList']
             elif eg == 'Cxx':
                 fn_pattern = re.compile(
                     r'^[0-9a-zA-Z_\-]+\.(hxx|HXX|hpp|HPP|[hH]\+\+|[hH]|cpp|CPP|cxx|CXX|[cC]\+\+|txx|TXX)$')
@@ -171,8 +170,8 @@ class VTKClassesInExamples(object):
 
             # Walk the tree.
             for root, directories, files in os.walk(str(directory)):
-                # The only visible folders on the web pages are those directly under the language
-                # e.g. Cxx/xx is visible but Cxx/xx/yy is not.
+                # The only visible folders on the web pages are those directly under the language.
+                # So we keep folders like Cxx/xx but exclude folders like Cxx/xx/yy.
                 if root[len(str(directory)):].count(os.sep) > 1:
                     continue
                 sp = PurePath(root).parts
diff --git a/src/CSharp.md b/src/CSharp.md
index 0341f5fcf60..2f9033aa8c0 100644
--- a/src/CSharp.md
+++ b/src/CSharp.md
@@ -149,7 +149,7 @@ These examples demonstrate how to create an display one of the many vtkParametri
 [ImplicitSphere](/CSharp/ImplicitFunctions/ImplicitSphere) | An implicit representation of a sphere
 [IsoContours](/CSharp/ImplicitFunctions/IsoContours) | Visualize different isocontours using a slider
 [MarchingCubes](/CSharp/Modelling/MarchingCubes) | Create a voxelized spher Marching cubes
-[MarchingSquares](/CSharp/WishList/Modelling/MarchingSquares) | Create a contour from a structured point set (image Marching squares
+[MarchingSquares](/CSharp/Modelling/MarchingSquares) | Create a contour from a structured point set (image Marching squares)
 [SampleFunction](/CSharp/ImplicitFunctions/SampleFunction) | Sample and visualize an implicit function
 
 ## Working with 3D Data
diff --git a/src/CSharp/WishList/Modelling/MarchingSquares.cs b/src/CSharp/Modelling/MarchingSquares.cs
similarity index 100%
rename from src/CSharp/WishList/Modelling/MarchingSquares.cs
rename to src/CSharp/Modelling/MarchingSquares.cs
diff --git a/src/CSharp/WishList/Modelling/MarchingSquares.md b/src/CSharp/Modelling/MarchingSquares.md
similarity index 100%
rename from src/CSharp/WishList/Modelling/MarchingSquares.md
rename to src/CSharp/Modelling/MarchingSquares.md
-- 
GitLab