Page MenuHomePhabricator

Store releases JSON so the site can be version-aware
ClosedPublic

Authored by jasonbcox on Fri, Sep 25, 23:13.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCWEB1d677e37e706: Store releases JSON so the site can be version-aware
Summary

By saving release JSON data to a file, we can access it during the build and
allow the site to be version-aware.

This patch provides only a proof-of-concept by introducing the current version
onto the homepage. In a future patch, I will leverage this further to build a
release page with both latest and recent versions.

Test Plan
./fetch_documentation.sh
make serve

Navigate to localhost:4000 and observe the latest version number.

Diff Detail

Repository
rABCWEB Bitcoin ABC Website
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.