Page MenuHomePhabricator

[WEBSITE] Add a link to go back from documentation to version selection
ClosedPublic

Authored by Fabien on Sep 3 2020, 07:52.

Details

Summary

This diff adds a link on top of the left menu to go back to version
selection.

Test Plan

Build the website and navigate through the documentation.

Diff Detail

Repository
rABCWEB Bitcoin ABC Website
Branch
doc_link_back
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12604
Build 25312: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Sep 3 2020, 07:52
jasonbcox requested changes to this revision.Sep 3 2020, 17:48
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
_layouts/doc.html
8 ↗(On Diff #23226)

This can be more informative. Currently, there's no indication on the docs pages which version you're currently on. IMO the text Version {% page.version %} would work best here. The chevron already indicates a return behavior, so there's little harm in removing the "Back to..." part.

Clicking on the version number is also intuitive because if the user is wanting to change the version, the first place they're going to look is for a version number on the page.

This revision now requires changes to proceed.Sep 3 2020, 17:48

Update as per feedback.

This revision is now accepted and ready to land.Sep 4 2020, 01:34