From d20cae579d2f6b31e847e765c4248d5680356b1c Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Perez Date: Tue, 13 Sep 2022 22:42:36 -0400 Subject: [PATCH 1/2] start: cleanup nav in prep for #3678 --- content/docs/sidebar.json | 22 +++---------------- .../{access.md => data-and-model-access.md} | 0 .../{pipelines.md => data-pipelines.md} | 0 content/docs/start/index.md | 4 ++-- redirects-list.json | 18 +++++++-------- 5 files changed, 14 insertions(+), 30 deletions(-) rename content/docs/start/data-management/{access.md => data-and-model-access.md} (100%) rename content/docs/start/data-management/{pipelines.md => data-pipelines.md} (100%) diff --git a/content/docs/sidebar.json b/content/docs/sidebar.json index 54930295c3..83f8798652 100644 --- a/content/docs/sidebar.json +++ b/content/docs/sidebar.json @@ -37,21 +37,12 @@ { "slug": "start", "label": "Get Started", - "source": "start/index.md", "children": [ { "slug": "data-management", - "label": "Data Management", - "source": "data-management/index.md", "children": [ - { - "label": "Data and Model Access", - "slug": "access" - }, - { - "label": "Data Pipelines", - "slug": "pipelines" - }, + "data-and-model-access", + "data-pipelines", { "label": "Metrics, Parameters, and Plots", "slug": "metrics-parameters-plots" @@ -60,14 +51,7 @@ }, { "slug": "experiments", - "label": "Experiments", - "source": "experiments/index.md", - "children": [ - { - "label": "Visualization", - "slug": "visualization" - } - ] + "children": ["visualization"] } ] }, diff --git a/content/docs/start/data-management/access.md b/content/docs/start/data-management/data-and-model-access.md similarity index 100% rename from content/docs/start/data-management/access.md rename to content/docs/start/data-management/data-and-model-access.md diff --git a/content/docs/start/data-management/pipelines.md b/content/docs/start/data-management/data-pipelines.md similarity index 100% rename from content/docs/start/data-management/pipelines.md rename to content/docs/start/data-management/data-pipelines.md diff --git a/content/docs/start/index.md b/content/docs/start/index.md index dff94f5919..4657d657e0 100644 --- a/content/docs/start/index.md +++ b/content/docs/start/index.md @@ -48,7 +48,7 @@ Now you're ready to DVC! DVC's features can be grouped into functional components. You can explore them in two independent trails: -### Data Management Trail +### Data Management - [**Data and model versioning**](/doc/start/data-and-model-versioning) (try this next) is the base layer of DVC for large files, datasets, and machine @@ -69,7 +69,7 @@ in two independent trails: be attached to pipelines. These let you capture, navigate, and evaluate ML projects without leaving Git. Think "Git for machine learning". -### Experiments Trail +### Experimentation - [**Experiments**](/doc/start/experiments) enable exploration, iteration, and comparison across many ML experiments. Track your experiments with automatic diff --git a/redirects-list.json b/redirects-list.json index 82dedcb087..93aca71916 100644 --- a/redirects-list.json +++ b/redirects-list.json @@ -38,19 +38,19 @@ "^/doc/install/plugins(/.*)?$ /doc/install/ide-plugins$1", "^/doc/get-started(/.*)?$ /doc/start", - "^/doc/start/data-versioning$ /doc/start/data-and-model-versioning", - "^/doc/start/data-access$ /doc/start/data-and-model-access", - "^/doc/start/data-and-model-versioning(/.*)?$ /doc/start/data-management$1 302", - "^/doc/start/data-and-model-access(/.*)?$ /doc/start/data-management/access$1 302", - "^/doc/start/data-pipelines(/.*)?$ /doc/start/data-management/pipelines$1 302", - "^/doc/start/metrics-parameters-plots(/.*)?$ /doc/start/data-management/metrics-parameters-plots$1 302", - "^/doc/start/sharing-data-and-model-files$ /doc/start/data-and-model-versioning#storing-and-sharing 302", + "^/doc/start/data-versioning$ /doc/start/data-management", + "^/doc/start/data-and-model-versioning(/.*)?$ /doc/start/data-management 302", + "^/doc/start/sharing-data-and-model-files$ /doc/start/data-management#storing-and-sharing 302", + "^/doc/start/data-access$ /doc/start/data-management/data-and-model-access", + "^/doc/start/data-and-model-access(/.*)?$ /doc/start/data-management/data-and-model-access 302", + "^/doc/start/data-pipelines(/.*)?$ /doc/start/data-management/data-pipelines 302", + "^/doc/start/metrics-parameters-plots(/.*)?$ /doc/start/data-management/metrics-parameters-plots 302", "^/doc/tutorial(/.*)?$ /doc/start", + "^/doc/tutorials(/.*)? /doc/start", "^/doc/tutorials/get-started(/.*)?$ /doc/start", + "^/doc/tutorials/versioning(/.*)?$ /doc/use-cases/versioning-data-and-models/tutorial", "^/doc/use-cases/versioning-data-and-model-files/tutorial$ /doc/use-cases/versioning-data-and-models/tutorial", - "^/doc/tutorials(/.*)? /doc/start", - "^/doc/use-cases/data-and-model-files-versioning/?$ /doc/use-cases/versioning-data-and-models", "^/doc/use-cases/versioning-data-and-model-files/?$ /doc/use-cases/versioning-data-and-models", "^/doc/use-cases/shared-development-server$ /doc/use-cases/fast-data-storage-layer#example-shared-development-server", From 869e5977d91cea6a46cf273e367db3fb08c65790 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Perez Date: Tue, 13 Sep 2022 23:31:49 -0400 Subject: [PATCH 2/2] reinstate sidebar.json sources per https://github.com/iterative/dvc.org/pull/3941#discussion_r970260915 --- content/docs/sidebar.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/docs/sidebar.json b/content/docs/sidebar.json index 83f8798652..2a208c2d9d 100644 --- a/content/docs/sidebar.json +++ b/content/docs/sidebar.json @@ -37,9 +37,11 @@ { "slug": "start", "label": "Get Started", + "source": "start/index.md", "children": [ { "slug": "data-management", + "source": "data-management/index.md", "children": [ "data-and-model-access", "data-pipelines", @@ -51,6 +53,7 @@ }, { "slug": "experiments", + "source": "experiments/index.md", "children": ["visualization"] } ]