From 6f3279e70df4bcafe613e9fc701399b19e92efac Mon Sep 17 00:00:00 2001 From: Erin Donehoo <105813956+edonehoo@users.noreply.github.com> Date: Wed, 17 Sep 2025 15:20:16 -0400 Subject: [PATCH] docs(topology): Moves docs beneath Extensions nav item. --- .../module/patternfly-docs/content/examples/AboutTopology.md | 3 ++- .../patternfly-docs/content/examples/TopologyAnchors.md | 3 ++- .../patternfly-docs/content/examples/TopologyContextMenu.md | 3 ++- .../patternfly-docs/content/examples/TopologyControlBar.md | 3 ++- .../patternfly-docs/content/examples/TopologyCustomEdges.md | 3 ++- .../patternfly-docs/content/examples/TopologyCustomNodes.md | 3 ++- .../patternfly-docs/content/examples/TopologyDragDropDemo.md | 3 ++- .../patternfly-docs/content/examples/TopologyLayouts.md | 5 +++-- .../patternfly-docs/content/examples/TopologyPanZoom.md | 3 ++- .../content/examples/TopologyPipelinesGettingStarted.md | 3 ++- .../patternfly-docs/content/examples/TopologySelectable.md | 3 ++- .../patternfly-docs/content/examples/TopologySidebar.md | 3 ++- .../patternfly-docs/content/examples/TopologyToolbar.md | 3 ++- packages/module/patternfly-docs/patternfly-docs.config.js | 2 +- 14 files changed, 28 insertions(+), 15 deletions(-) diff --git a/packages/module/patternfly-docs/content/examples/AboutTopology.md b/packages/module/patternfly-docs/content/examples/AboutTopology.md index 4f5bbde9..df5e3d35 100644 --- a/packages/module/patternfly-docs/content/examples/AboutTopology.md +++ b/packages/module/patternfly-docs/content/examples/AboutTopology.md @@ -1,6 +1,7 @@ --- id: About Topology -section: topology +section: extensions +subsection: topology sortValue: 1 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyGettingStartedDemo.tsx propComponents: ['VisualizationProvider', 'VisualizationSurface'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyAnchors.md b/packages/module/patternfly-docs/content/examples/TopologyAnchors.md index cddb6e7f..612fb181 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyAnchors.md +++ b/packages/module/patternfly-docs/content/examples/TopologyAnchors.md @@ -1,6 +1,7 @@ --- id: Anchors -section: topology +section: extensions +subsection: topology sortValue: 13 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyAnchorsDemo.tsx --- diff --git a/packages/module/patternfly-docs/content/examples/TopologyContextMenu.md b/packages/module/patternfly-docs/content/examples/TopologyContextMenu.md index 5759716e..8e5e8a87 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyContextMenu.md +++ b/packages/module/patternfly-docs/content/examples/TopologyContextMenu.md @@ -1,6 +1,7 @@ --- id: Context menu -section: topology +section: extensions +subsection: topology sortValue: 23 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyContextMenuDemo.tsx --- diff --git a/packages/module/patternfly-docs/content/examples/TopologyControlBar.md b/packages/module/patternfly-docs/content/examples/TopologyControlBar.md index 2efbdfbb..217eef91 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyControlBar.md +++ b/packages/module/patternfly-docs/content/examples/TopologyControlBar.md @@ -1,6 +1,7 @@ --- id: Control bar -section: topology +section: extensions +subsection: topology sortValue: 31 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyControlBarDemo.tsx propComponents: ['TopologyControlBar', 'TopologyView'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyCustomEdges.md b/packages/module/patternfly-docs/content/examples/TopologyCustomEdges.md index 0a1070a4..60e999da 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyCustomEdges.md +++ b/packages/module/patternfly-docs/content/examples/TopologyCustomEdges.md @@ -1,6 +1,7 @@ --- id: Custom edges -section: topology +section: extensions +subsection: topology sortValue: 12 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyCustomEdgesDemo.tsx propComponents: ['DefaultEdge'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyCustomNodes.md b/packages/module/patternfly-docs/content/examples/TopologyCustomNodes.md index d39932b0..48c6ca67 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyCustomNodes.md +++ b/packages/module/patternfly-docs/content/examples/TopologyCustomNodes.md @@ -1,6 +1,7 @@ --- id: Custom nodes -section: topology +section: extensions +subsection: topology sortValue: 11 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyCustomNodesDemo.tsx propComponents: ['DefaultNode', 'DefaultEdge', 'DefaultGroup'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.md b/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.md index 21f8128e..0ffce6df 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.md +++ b/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.md @@ -1,6 +1,7 @@ --- id: Drag and drop -section: topology +section: extensions +subsection: topology sortValue: 24 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyDragDropDemo.tsx propComponents: ['DefaultNode', 'DefaultEdge', 'withDndDrop'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyLayouts.md b/packages/module/patternfly-docs/content/examples/TopologyLayouts.md index e8401599..7b422902 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyLayouts.md +++ b/packages/module/patternfly-docs/content/examples/TopologyLayouts.md @@ -1,6 +1,7 @@ --- id: Layouts -section: topology +section: extensions +subsection: topology sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyLayoutsDemo.tsx --- @@ -52,7 +53,7 @@ There are many algorithms available for positioning nodes, based on factors like - **Force:** Built on top of the d3-force layout provided by [d3/d3-force](https://github.com/d3/d3-force). - **Dagre:** Built on top of the dagrejs dagre layout provided by [dagrejs/dagre](https://github.com/dagrejs/dagre). -- **Cola:** Built on top of the WebCola layout provided by [tgdwyer/WebCola](://github.com/tgdwyer/WebCola). +- **Cola:** Built on top of the WebCola layout provided by [tgdwyer/WebCola](https://github.com/tgdwyer/WebCola). - This layout uses `force simulation` by default, but can be turned off by setting the options `layoutOnDrag` flag to "false". - **ColaGroups:** Uses the cola layout recursively on each group, so that the group's children locations are set before the group's location is set relative to other groups or nodes at its level. - **Grid:** Orders nodes in a grid, making the grid as `square` as possible. diff --git a/packages/module/patternfly-docs/content/examples/TopologyPanZoom.md b/packages/module/patternfly-docs/content/examples/TopologyPanZoom.md index 84ec9f99..3d28c124 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyPanZoom.md +++ b/packages/module/patternfly-docs/content/examples/TopologyPanZoom.md @@ -1,6 +1,7 @@ --- id: Pan and zoom -section: topology +section: extensions +subsection: topology sortValue: 22 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyPanZoomDemo.tsx --- diff --git a/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStarted.md b/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStarted.md index a4763e79..655ca811 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStarted.md +++ b/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStarted.md @@ -1,6 +1,7 @@ --- id: Pipelines -section: topology +section: extensions +subsection: topology sortValue: 71 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyPipelinesGettingStartedDemo.tsx propComponents: ['TaskNode', 'TaskEdge', 'WhenDecorator'] diff --git a/packages/module/patternfly-docs/content/examples/TopologySelectable.md b/packages/module/patternfly-docs/content/examples/TopologySelectable.md index 474e7d37..a9946c8b 100644 --- a/packages/module/patternfly-docs/content/examples/TopologySelectable.md +++ b/packages/module/patternfly-docs/content/examples/TopologySelectable.md @@ -1,6 +1,7 @@ --- id: Selection -section: topology +section: extensions +subsection: topology sortValue: 21 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologySelectableDemo.tsx --- diff --git a/packages/module/patternfly-docs/content/examples/TopologySidebar.md b/packages/module/patternfly-docs/content/examples/TopologySidebar.md index 42de522b..e8cc3e23 100644 --- a/packages/module/patternfly-docs/content/examples/TopologySidebar.md +++ b/packages/module/patternfly-docs/content/examples/TopologySidebar.md @@ -1,6 +1,7 @@ --- id: Sidebar -section: topology +section: extensions +subsection: topology sortValue: 33 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologySidebarDemo.tsx propComponents: ['TopologySideBar', 'TopologyView'] diff --git a/packages/module/patternfly-docs/content/examples/TopologyToolbar.md b/packages/module/patternfly-docs/content/examples/TopologyToolbar.md index f3f88890..fb5ea606 100644 --- a/packages/module/patternfly-docs/content/examples/TopologyToolbar.md +++ b/packages/module/patternfly-docs/content/examples/TopologyToolbar.md @@ -1,6 +1,7 @@ --- id: Toolbar -section: topology +section: extensions +subsection: topology sortValue: 32 sourceLink: https://github.com/patternfly/react-topology/blob/main/packages/module/patternfly-docs/content/examples/TopologyToolbarDemo.tsx propComponents: ['TopologyView'] diff --git a/packages/module/patternfly-docs/patternfly-docs.config.js b/packages/module/patternfly-docs/patternfly-docs.config.js index 6a5b590c..979c3483 100644 --- a/packages/module/patternfly-docs/patternfly-docs.config.js +++ b/packages/module/patternfly-docs/patternfly-docs.config.js @@ -1,6 +1,6 @@ // This module is shared between NodeJS and babelled ES5 module.exports = { - sideNavItems: [{ section: 'topology' }], + sideNavItems: [{ section: 'extensions' }], topNavItems: [], port: 8008 };