Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

install page selector logic broken #13430

Closed
aaronmarkham opened this issue Nov 28, 2018 · 3 comments
Closed

install page selector logic broken #13430

aaronmarkham opened this issue Nov 28, 2018 · 3 comments

Comments

@aaronmarkham
Copy link
Contributor

Description

Based on how the selector appears to be designed, you add multiple classes to a div and they will share the same content. It doesn't work when you get to the version level.
The following code should work to share common content:

<div class="clojure">
<div class="gpu">
<div class="master v1-3-0">
Install instructions for both master and v1.3.0...
...
</div></div></div>
<div class="1-2-1 1-1-0 1-0-0">
Then older versions see something else
</div>

It doesn't work. All of the versions get the top code block.
Then if you break it out and use:

<div class="1-2-1">
This older version sees one thing
</div>
<div class="1-1-0">
This older version sees a second thing
</div>
<div class="1-0-0">
This older version sees a third thing
</div>

You get the same output for every version all at once:

This older version sees one thing
This older version sees a second thing
This older version sees a third thing
@vrakesh
Copy link
Contributor

vrakesh commented Nov 28, 2018

@mxnet-label-bot add [Doc]

@marcoabreu marcoabreu added the Doc label Nov 28, 2018
@aaronmarkham
Copy link
Contributor Author

aaronmarkham commented Nov 29, 2018

@mxnet-label-bot remove [doc]

@aaronmarkham
Copy link
Contributor Author

New website launch makes this a moot issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants