Skip to content

Commit

Permalink
Merge pull request #1062 from julien-tierny/doc
Browse files Browse the repository at this point in the history
[doc] Fix broken example links
  • Loading branch information
julien-tierny authored Sep 17, 2024
2 parents 816e833 + 4ed8bed commit 483a214
Show file tree
Hide file tree
Showing 28 changed files with 100 additions and 33 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ jobs:
# remove buggy example
# related issue: https://github.com/topology-tool-kit/ttk/issues/1055
rm python/nestedTrackingFromOverlap.py
# tmp removal of mpi example
rm python/mpiExample.py
# remove examples which fill up the memory
rm python/topologicalOptimization_darkSky.py
python3 -u python/run.py
Expand Down Expand Up @@ -398,6 +400,8 @@ jobs:
# remove buggy example
# related issue: https://github.com/topology-tool-kit/ttk/issues/1055
rm python/nestedTrackingFromOverlap.py
# tmp removal of mpi example
rm python/mpiExample.py
# remove examples which fill up the memory
rm python/topologicalOptimization_darkSky.py
pvpython -u python/run.py
Expand Down Expand Up @@ -582,6 +586,8 @@ jobs:
set PV_PLUGIN_PATH=%TTK_DIR%\bin\plugins
cd ttk-data
rm python/nestedTrackingFromOverlap.py
# tmp removal of mpi example
rm python/mpiExample.py
# remove examples which fill up the memory
rm python/topologicalOptimization_darkSky.py
pvpython.exe -u python\run.py
Expand Down
5 changes: 4 additions & 1 deletion core/base/arrayPreconditioning/ArrayPreconditioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
/// In distributed, using GlobalOrder set to True, this module will compute a
/// global order, otherwise each process will locally compute its order.
///

/// \b Online \b examples:\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
#pragma once

// ttk common includes
Expand Down
2 changes: 1 addition & 1 deletion core/base/dimensionReduction/DimensionReduction.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// href="https://topology-tool-kit.github.io/examples/clusteringKelvinHelmholtzInstabilities/">
/// Clustering Kelvin Helmholtz Instabilities example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions//">Karhunen-Love
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions/">Karhunen-Love
/// Digits 64-Dimensions example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mergeTreeClustering/">Merge
Expand Down
5 changes: 5 additions & 0 deletions core/base/integralLines/IntegralLines.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
/// lines along the edges of the input triangulation.
///
/// \sa ttkIntegralLines.cpp %for a usage example.
///
/// \b Online \b examples:\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion core/base/morseSmaleComplex/MorseSmaleComplex.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
8 changes: 4 additions & 4 deletions core/base/persistenceDiagram/PersistenceDiagram.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
/// href="https://topology-tool-kit.github.io/examples/interactionSites/">
/// Interaction sites</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions//">Karhunen-Love
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions/">Karhunen-Love
/// Digits 64-Dimensions example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/morsePersistence/">Morse
Expand Down Expand Up @@ -130,13 +130,13 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
/// href="https://topology-tool-kit.github.io/examples/interactionSites/">
/// Interaction sites</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/uncertainStartingVortex/">
/// Uncertain Starting Vortex example</a> \n

Expand Down
7 changes: 5 additions & 2 deletions core/base/scalarFieldSmoother/ScalarFieldSmoother.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@
/// href="https://topology-tool-kit.github.io/examples/morseSmaleSegmentation_at/">Morse-Smale
/// segmentation example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/persistenceDiagramPGA/">Persistence
/// Diagram Principal Geodesic Analysis example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n

#pragma once
Expand Down
4 changes: 2 additions & 2 deletions core/base/signedDistanceField/SignedDistanceField.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
///
/// \b Online \b examples: \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
5 changes: 5 additions & 0 deletions core/vtk/ttkArrayPreconditioning/ttkArrayPreconditioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
///
/// \sa ttk::ttkArrayPreconditioning
/// \sa ttkAlgorithm
///
/// \b Online \b examples:\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n

#pragma once

Expand Down
5 changes: 4 additions & 1 deletion core/vtk/ttkGeometrySmoother/ttkGeometrySmoother.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@
/// href="https://topology-tool-kit.github.io/examples/morseSmaleSegmentation_at/">Morse-Smale
/// segmentation example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/persistenceDiagramPGA/">Persistence
/// Diagram Principal Geodesic Analysis example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
///

Expand Down
5 changes: 5 additions & 0 deletions core/vtk/ttkIntegralLines/ttkIntegralLines.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
///
/// \sa ttk::IntegralLines
/// \sa vtkIdentifiers
///
/// \b Online \b examples: \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion core/vtk/ttkMorseSmaleComplex/ttkMorseSmaleComplex.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
8 changes: 4 additions & 4 deletions core/vtk/ttkPersistenceDiagram/ttkPersistenceDiagram.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
/// href="https://topology-tool-kit.github.io/examples/interactionSites/">
/// Interaction sites</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions//">Karhunen-Love
/// href="https://topology-tool-kit.github.io/examples/karhunenLoveDigits64Dimensions/">Karhunen-Love
/// Digits 64-Dimensions example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/morsePersistence/">Morse
Expand Down Expand Up @@ -143,13 +143,13 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
2 changes: 1 addition & 1 deletion core/vtk/ttkPersistentGenerators/ttkPersistentGenerators.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/// href="https://topology-tool-kit.github.io/examples/persistentGenerators_skull/">Persistent
/// Generators Skull example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
///

Expand Down
6 changes: 6 additions & 0 deletions core/vtk/ttkPointDataSelector/ttkPointDataSelector.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
///
/// See the related ParaView example state files for usage examples within a
/// VTK pipeline.
///
/// \b Online \b examples:\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n

#pragma once

#include <array>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
/// href="https://topology-tool-kit.github.io/examples/interactionSites/">
/// Interaction sites</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/uncertainStartingVortex/">
/// Uncertain Starting Vortex example</a> \n
///
Expand Down
3 changes: 3 additions & 0 deletions core/vtk/ttkScalarFieldNormalizer/ttkScalarFieldNormalizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
/// - <a
/// href="https://topology-tool-kit.github.io/examples/morseSmaleQuadrangulation/">Morse-Smale
/// Quadrangulation example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
///

#pragma once
Expand Down
7 changes: 5 additions & 2 deletions core/vtk/ttkScalarFieldSmoother/ttkScalarFieldSmoother.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@
/// href="https://topology-tool-kit.github.io/examples/morsePersistence/">Morse
/// Persistence example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/mpiExample/">
/// MPI example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/persistentGenerators_darkSky/">Persistent
/// Generators Dark Sky example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n

#pragma once
Expand Down
4 changes: 2 additions & 2 deletions core/vtk/ttkSignedDistanceField/ttkSignedDistanceField.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
///
/// \b Online \b examples: \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n

#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@
/// href="https://topology-tool-kit.github.io/examples/tectonicPuzzle/">Tectonic
/// Puzzle example</a> \n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/">Topological
/// Optimization DarkSky example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/">Topological
/// Optimization for Pegasus Genus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus//">Topological
/// href="https://topology-tool-kit.github.io/examples/topologicalOptimization_torus/">Topological
/// Optimization for Torus Repair example</a>\n
/// - <a
/// href="https://topology-tool-kit.github.io/examples/tribute/">Tribute
Expand Down
4 changes: 4 additions & 0 deletions paraview/xmls/ArrayPreconditioning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
short_help="Array Preconditioning">
This filter preconditions a vtkDataSet by computing an input
order array for every selected scalar arrays.

Online examples:

- https://topology-tool-kit.github.io/examples/mpiExample/
</Documentation>

<InputProperty name="Input" command="SetInputConnection">
Expand Down
2 changes: 2 additions & 0 deletions paraview/xmls/GeometrySmoother.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

- https://topology-tool-kit.github.io/examples/morseMolecule/

- https://topology-tool-kit.github.io/examples/mpiExample/

- https://topology-tool-kit.github.io/examples/persistenceDiagramPGA/

https://topology-tool-kit.github.io/examples/topologicalOptimization_pegasus/
Expand Down
5 changes: 5 additions & 0 deletions paraview/xmls/IntegralLines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ data a scalar field that represent the vertex identifiers of the sources in
the input geometry (use the Identifiers plugin prior to the selection of the
sources if necessary to create such an identifier field).

Online examples:

- https://topology-tool-kit.github.io/examples/mpiExample/


</Documentation>

<InputProperty
Expand Down
4 changes: 4 additions & 0 deletions paraview/xmls/PointDataSelector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
long_help="TTK fieldSelector plugin."
short_help="TTK fieldSelector plugin.">
TTK fieldSelector plugin documentation.

Online examples:

- https://topology-tool-kit.github.io/examples/mpiExample/
</Documentation>
<InputProperty
name="Input"
Expand Down
12 changes: 7 additions & 5 deletions paraview/xmls/ScalarFieldNormalizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@
short_help="TTK plugin that normalizes an input scalar field.">
TTK plugin that normalizes an input scalar field.

Online examples:
Online examples:

- https://topology-tool-kit.github.io/examples/BuiltInExample1/
- https://topology-tool-kit.github.io/examples/BuiltInExample1/

- https://topology-tool-kit.github.io/examples/clusteringKelvinHelmholtzInstabilities/
- https://topology-tool-kit.github.io/examples/clusteringKelvinHelmholtzInstabilities/

- https://topology-tool-kit.github.io/examples/harmonicSkeleton/
- https://topology-tool-kit.github.io/examples/harmonicSkeleton/

- https://topology-tool-kit.github.io/examples/morseSmaleQuadrangulation/
- https://topology-tool-kit.github.io/examples/morseSmaleQuadrangulation/

- https://topology-tool-kit.github.io/examples/mpiExample/

</Documentation>
<InputProperty
Expand Down
2 changes: 2 additions & 0 deletions paraview/xmls/ScalarFieldSmoother.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

- https://topology-tool-kit.github.io/examples/morsePersistence/

- https://topology-tool-kit.github.io/examples/mpiExample/

- https://topology-tool-kit.github.io/examples/persistentGenerators_darkSky/

- https://topology-tool-kit.github.io/examples/topologicalOptimization_darkSky/
Expand Down

0 comments on commit 483a214

Please sign in to comment.