13.06.2017 Views

Whitepaper - Ethereum Classic With Cover

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Ethereum</strong> <strong>Classic</strong> Documentation, Release 0.1<br />

• RST Primer http://sphinx-doc.org/rest.html<br />

• http://sphinx-doc.org/markup/inline.html<br />

1.10.4 Compilation and Deployment<br />

We use make with the autogenerated read-the-docs Makefile to build the doc.<br />

git clone https://github.com/ethereum/homestead-guide<br />

cd homestead-guide<br />

make html<br />

1.10.5 Processing Tips<br />

Fix section delimiter lines (always use 80-long ones to have correct length, unless the title is greater than 80 chars<br />

in length)<br />

for f in `ls source/*/*.rst`; do cat $f|perl -pe 's/\=+$/=========================================<br />

for f in `ls source/*/*.rst`; do cat $f|perl -pe 's/\*+$/*****************************************<br />

for f in `ls source/*/*.rst`; do cat $f|perl -pe 's/\-+$/-----------------------------------------<br />

for f in `ls source/*/*.rst`; do cat $f|perl -pe 's/\++$/+++++++++++++++++++++++++++++++++++++++++<br />

for f in `ls source/*/*.rst`; do cat $f|perl -pe 's/\#+$/#########################################<br />

1.10.6 Referencing Old Documentation<br />

old-docs-for-reference folder has all of the Frontier Gitbook and <strong>Ethereum</strong> Wiki doc. Feel free to copy/paste<br />

information from those documents that is still relevant.<br />

1.10.7 Migrate and Convert Old Wiki Content Using Pandoc<br />

If you still want to clone the absolute latest <strong>Ethereum</strong> Wiki and Frontier Guide docs:<br />

git clone git@github.com:ethereum/go-ethereum.wiki.git<br />

git clone git@github.com:ethereum/wiki.wiki.git<br />

mkdir main-wiki.rst<br />

mkdir go-ethereum-wiki.rst<br />

for f in `ls wiki.wiki/*.md`; do pandoc $f -o main-wiki.rst/`basename $f .md`.rst; done<br />

for f in `ls go-ethereum.wiki/*.md`; do pandoc $f -o go-ethereum-wiki.rst/`basename $f .md`.rst; d<br />

124 Chapter 1. Contents

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!