frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Navigation is broken on duplicated articles

Open TheTripleV opened this issue 4 years ago • 3 comments

From discord:

If you go to frc-docs and navigate to Glass / Plots, your sidebar will actually go to Robot Simulation / Plots

But, the Previous and Next buttons will happen in the scope of the glass location, not the robot simulation location

If you click next on that page, it will jump from robot simulation up to labview

Relevant Sphinx issue: https://github.com/sphinx-doc/sphinx/issues/9076

TheTripleV avatar Apr 10 '21 04:04 TheTripleV

Solutions: a. Don't use duplicate entries (no) or b. Write an extension that overrides TOC and "copies" a duplicated article

  • This sounds quite painful and difficult to maintain

c. Wait for upstream

  • Likely the answer here.

Daltz333 avatar Apr 10 '21 04:04 Daltz333

Wasn't this working before? Did something change? Yeah seems like something that upstream should fix?

jasondaming avatar Apr 10 '21 13:04 jasondaming

No, this was never working. None of us looked at the sidebar 😄

Daltz333 avatar Apr 10 '21 14:04 Daltz333