Page MenuHomePhabricator

Add top-level documentation index for serving docs by version
ClosedPublic

Authored by jasonbcox on Aug 4 2020, 20:06.

Details

Summary

This patch adds a top-level index for /doc and reduces
a click for navigating to any particular doc version.

Currently, the only versioned docs are the RPC docs, so the links
point to those directly.

The heading font sizes needed to be adjusted because they do not display well as-is.

Depends on D7130

Test Plan
make serve

Navigate to http://localhost:4000/doc/

Also navigate around the site and make sure the css changes do not cause
any issues.

Diff Detail

Repository
rABCWEB Bitcoin ABC Website
Branch
doc-index
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12309
Build 24815: arc lint + arc unit

Event Timeline

css/main.css
515 ↗(On Diff #22741)

This part either doesn't do what it claims or is unused. I tested on multiple screen sizes and the headings are not impacted.

Ideally, we'd set font size based on screen size and/or ratio. That can come in a future diff.

Use the new generator to create the index

This revision is now accepted and ready to land.Aug 8 2020, 12:24