mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add Developer Examples; Transaction Tutorial
* Add new Developer Examples page * Add a transaction tutorial describing in detail how to make various different transactions. * Add a new "multicode" CSS class to allow combination of consecutive code blocks into a single code block. This lets us use pygments highlighting for multiple different types of code within the same aparent block of code. * Get autocrossref to ignore code blocks so we don't need to endcrossref every time we encounter a code block. This makes the source much more readable and maintainable.
This commit is contained in:
parent
1a123bbb4a
commit
d1b4b08729
6 changed files with 1277 additions and 1 deletions
1258
_includes/example_transactions.md
Normal file
1258
_includes/example_transactions.md
Normal file
File diff suppressed because it is too large
Load diff
|
@ -181,6 +181,7 @@
|
|||
[core paymentrequest.proto]: https://github.com/bitcoin/bitcoin/blob/master/src/qt/paymentrequest.proto
|
||||
[core script.h]: https://github.com/bitcoin/bitcoin/blob/master/src/script.h
|
||||
[DER]: https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One
|
||||
[devguide]: /en/developer-guide
|
||||
[devguide wallets]: /en/developer-guide#wallets
|
||||
[devref wallets]: /en/developer-reference#wallets
|
||||
[docs issue]: https://github.com/bitcoin/bitcoin.org/issues
|
||||
|
|
|
@ -769,6 +769,21 @@ table td,table th{
|
|||
color:#646464;
|
||||
}
|
||||
|
||||
.toccontent .multicode {
|
||||
background-color:#f5f5f5;
|
||||
border:1px solid #ccc;
|
||||
overflow-y:auto;
|
||||
padding-bottom: 17px;
|
||||
}
|
||||
|
||||
.toccontent .multicode pre {
|
||||
border: 0px none;
|
||||
padding: 0px;
|
||||
overflow-y: visible;
|
||||
margin-bottom: -17px;
|
||||
}
|
||||
|
||||
|
||||
.highlight { background: #ffffff; }
|
||||
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
||||
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||
|
|
|
@ -63,6 +63,8 @@ require 'yaml'
|
|||
(?![^\[]*\]) ## No subst if key inside [brackets]
|
||||
(?![^\{]*\}) ## No subst if key inside {braces}
|
||||
(?![^\s]*<!--noref-->) ## No subst if <!--noref--> after key
|
||||
(?![\S ]*<\/span>) ## No subst on a line with a close span. This
|
||||
## prevents matching in highlight blocks
|
||||
(?![^\(]*(\.svg|\.png)) ## No subst if key inside an image name. This
|
||||
## simple regex has the side effect that we can't
|
||||
## use .svg or .png in non-image base text; if that
|
||||
|
|
|
@ -12,6 +12,7 @@ title: "Developer Documentation - Bitcoin"
|
|||
<div class="docreference">
|
||||
<a href="/en/developer-guide"><img src="/img/main_ico_guide.svg" alt="icon"><span>Developer Guide</span><span>(How Bitcoin works)</span></a>
|
||||
<a href="/en/developer-reference"><img src="/img/main_ico_guide.svg" alt="icon"><span>Developer Reference</span><span>(Specifications and APIs)</span></a>
|
||||
<a href="/en/developer-examples"><img src="/img/main_ico_guide.svg" alt="icon"><span>Developer Examples</span><span>(Examples You Can Use)</span></a>
|
||||
</div>
|
||||
|
||||
<div class="resources">
|
||||
|
|
|
@ -22,7 +22,6 @@ title: "Developer Reference - Bitcoin"
|
|||
{% include ref_block_chain.md %}
|
||||
{% include ref_transactions.md %}
|
||||
{% include ref_wallets.md %}
|
||||
{% include ref_payment_processing.md %}
|
||||
|
||||
## Bitcoin Core APIs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue