Page MenuHomePhabricator

[WEBSITE] Fetch the documentation content from the abc repo

Authored by Fabien on Sep 2 2020, 08:12.



The _doc directory from the website contains files generated from the
ABC repo, and archived by version.

This diff adds a script that will generate the content, and will be used
by CI to populate the documentation at website build time. It also
allows for populating it locally, intended that the node software build
dependencies are installed. A cache mechanisme prevents from rebuilding
all the versions at each call.

This script is not run by default, so the website can still be tested
locally without the need for building anything.

Test Plan

Check the _doc/<versions>/rpc and _doc/<versions>/man content is
populated. Now see to cache in action:

make doc
rake jekyll:doc

Diff Detail

rABCWEB Bitcoin ABC Website
Lint Not Applicable
Tests Not Applicable