Dvc.org: nav: can't have 2 items with the same name, apparently

Created on 8 Jun 2020  路  5Comments  路  Source: iterative/dvc.org

I added this to top level of sidebar.json:

  {
    "slug": "get-started",
    "source": "get-started/index.md",
    "children": [
      "1",
      "2",
      "3"
    ]
  },

without removing the other Get Started inside Tutorials:

image

But the link of the added on in the top level goes to /doc/tutorials/get-started 馃槙

image

I have to change the slug to something else for it to work properly, e.g. /doc/getting-started is OK.

bug doc-engine invalid

All 5 comments

Any chance you could make a quick diagnostic @rogermparent ? 馃檪 Thanks

@jorgeorpinel can we survive with just making it unique for now? does not look like a big deal to me

The issue might actually just be this redirect because of the particular page you're making.
https://github.com/iterative/dvc.org/blob/5a58811a1dac48dfbfbb92dde91558056ad274d1/redirects-list.json#L22

Hey thanks Roger, yeah I also noticed that recently (https://github.com/iterative/dvc.org/pull/1412#issuecomment-643519893) so let me double check whether this is even a valid issue...

Yeah sorry, it was just the redirect 馃構

Was this page helpful?
0 / 5 - 0 ratings