Code Monkey home page Code Monkey logo

developer.bitcoin.org's Introduction

Bitcoin Developer Documentation

This repo hosts the sources for the Bitcoin developer documentation.

It is an experimental port of the documentation hosted at bitcoin.org (sources), converted from Markdown to reStructuredText (RST) and rendered with Sphinx.

Render the documentation locally

To render the documentation locally you first need to install Sphinx and the required theme modules, e.g. by running

pip install -r requirements.txt

from the root of this repo. Then you can execute Sphinx by calling

make html

This will generate HTML from the RST sources in the directory _build/html. It's all static HTML so you can just open the index.html file in your browser locally to view the rendered documentation.

Import from bitcoin.org

The RST is generated from the original Markdown sources from bitcoin.org using a helper script, which resides in the helpers directory. Run the script by calling

helpers/import-docs <bitcoin-dot-org/bitcoin.org checkout>

with the path to a local checkout of bitcoin-dot-org/bitcoin.org as argument. This will regenerate the RST files based on the content from the bitcoin.org repository.

This is a temporary mechanism to port the documentation to RST. Once the import is in a good shape and the original information is captured correctly in the converted files, the RST files will become the original source, and the import is not needed anymore. There is a milestone to track the necessary work to be done before detaching from the Markdown sources.

Generation of RPC docs

The documentation of the RPC commands is automatically generated from the help of a bitcoin client with another helper tool. This is the content in the reference/rpc directory. Changes in these files need to be done through the helper tool or at least backported to the helper tool after doing them in this repo.

License

The content of this repo is licensed under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.