Skip to content

[V2] Versioning Dropdown doesn't show "Next" version #3487

@greghesp

Description

@greghesp

🐛 Bug Report

type: 'docsVersionDropdown', position: 'left' is not showing as a dropdown with Current Version and Next

This produced by 3.x.x documents fine, and when i yarn start they show u

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

  1. Run docusaurus docs:version 3.x.x - 3.x.x folders, sidebars and versions.json created
  2. Modify /docs for in development version
  3. Run docusaurus start
  4. Check Navigation bar for dropdown

Expected behavior

Expected dropdown to be in Navbar
image

Actual Behavior

Navigation bar only shows the latest version with no dropdown.
image

URLs to the next documentation however work

/docs/next/introduction - shows documentation with the unreleased documentation warning. Shows Next in place of dropdown

/docs/introduction - shows versioned documentation with version tag. Shows version in place of dropdown

Your Environment

  • Docusaurus version used: 2.0.0-alpha.64
  • Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Chrome 85.0.4183.121, Node 10.15.1
  • Operating system and version (desktop or mobile): MacOS 10.15.7

Reproducible Demo

https://assistantrelay.com/
https://github.com/greghesp/assistant-relay/tree/doc-src

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executionclosed: duplicateThis issue or pull request already exists in another issue or pull request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions