Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When selecting v0.4.2 in the caliper docs the dropdown switches to 0.2 (but the 0.4.2 docs are displayed) #1381

Closed
davidkel opened this issue Jun 21, 2022 · 0 comments
Labels
bug Something isn't working documentation Related to the documentation good first issue Good for newcomers

Comments

@davidkel
Copy link
Contributor

davidkel commented Jun 21, 2022

missing selected on the 0.4.2 line in the v0.4.2.html file in includes

<div class="item">
  <p style="color: #2a7ae2;">Version</p>
  <select id="versionSelect" onchange="location = this.options[this.selectedIndex].value;"
    style="width:5rem; height: 1.5rem;">
    <option value="/caliper/v0.2/getting-started/"> v0.2</option>
    <option value="/caliper/v0.3.2/getting-started/">v0.3.2</option>
    <option value="/caliper/v0.4.2/getting-started/">v0.4.2</option>
    <option value="/caliper/v0.5.0/getting-started/">v0.5.0</option>
    <option value="/caliper/vNext/getting-started/">vNext</option>
  </select>

should be

<div class="item">
  <p style="color: #2a7ae2;">Version</p>
  <select id="versionSelect" onchange="location = this.options[this.selectedIndex].value;"
    style="width:5rem; height: 1.5rem;">
    <option value="/caliper/v0.2/getting-started/"> v0.2</option>
    <option value="/caliper/v0.3.2/getting-started/">v0.3.2</option>
    <option value="/caliper/v0.4.2/getting-started/" selected>v0.4.2</option>
    <option value="/caliper/v0.5.0/getting-started/">v0.5.0</option>
    <option value="/caliper/vNext/getting-started/">vNext</option>
  </select>
@davidkel davidkel added bug Something isn't working documentation Related to the documentation good first issue Good for newcomers labels Jun 21, 2022
sgkul2000 added a commit to sgkul2000/caliper that referenced this issue Jun 21, 2022
…to 0.2

fixes hyperledger#1381

Signed-off-by: Shreesh Kulkarni <sgkul2000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Related to the documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant