Commit graph

99 commits

Author SHA1 Message Date
David A. Harding
d383940ecb
Bitcoin.pdf: Create Page Linking To Translations
- Adds a new page linking to all translations of Nakamoto's Bitcoin
  paper, and also provides instructions for adding new translations

- Changes all links on the site that used to point directly to the
  English bitcoin.pdf to point to the new page.

- Add Spanish Translation by Breathingdog, as well as Spanish strings
  for the now page also by Breathingdog
2015-04-24 15:05:55 -04:00
David A. Harding
a2a5f454cb
Revert "Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box""
This reverts commit 961d6c988f.
2015-04-14 08:55:53 -04:00
David A. Harding
3eee4811fd
Site Docs & Previews: Update Site Building/Previewing Docs
* New plugin: remove-html-extension falls back to /foo.html when /foo
  isn't found in `jekyll serve` mode.

* New Makefile target: `make preview` runs bundle exec jekyll serve

* Updated site docs to describe installing all required dependencies.
  Fully tested using a new install of Ubuntu Server 14.04.1
2015-04-12 15:20:35 -04:00
David A. Harding
ca7b97134d
Backend: Upgrade To Jekyll 1.3.0 & Remove Workarounds
* Require in Makefile that everyone use bundle to remove inconsistencies

* Require in Gemfile that everyone use Jekyll 1.3.*

* Require in Gemfile that everyone use Ruby 2.0.0 (already used by
  Travis and most developers)

* Remove workaround _plugin/svg.rb which showed SVG files in `jekyll
  serve` (fixed in Jekyll 1.0.0)

* Remove inconsistent file path workarounds in _plugins/autocrossref.rb
  and _plugins/inline-template.rb
2015-04-12 14:24:15 -04:00
David A. Harding
961d6c988f
Revert "Merge pull #793: Dev Docs: New Glossary & JS Search Box"
This reverts commit e3dcf0ce1f, reversing
changes made to c71e9fdf2d.

Once again we had a broken new plugin that Travis CI and local building
didn't catch.
2015-04-10 19:33:39 -04:00
Saivann
a790f353d0
Glossary: Various small fixes and improvements
Add link to the glossary from each definition
Fix missing BIP37 link
Fix searchbox width on mobiles
Apply more consistent margin and padding for the searchbox
Use H3 titles in the glossary_entry layout for better readability
Always use HTML classes for CSS stylesheets
Fix one typo in glossary.rb
2015-04-09 15:20:39 -04:00
David A. Harding
037cd4553a
Add New Glossary Page And Developer Search Feature
This commit adds the code necessary to generate a new
en/developre-glossary page with entry pages in the en/glossary/
directory, e.g. en/glossary/51-percent-attack.

The glossary page and the individual term pages feature a JavaScript
search engine (no CGI) for just glossary terms.  This search box has
also been added to the following pages:

    * Developer Documentation (the index page)
    * Developer Guide
    * Developer Reference
    * Developer Examples

The search box requires the following MIT-licensed libraries:

    * JQuery
    * JQuery UI
    * JQuery UI CSS stylesheet

These allow our JS code to be almost trivially simple in js/devsearch.js

This commit adds only code.  Actual glossary entry data will be added in
a subsequent commit.
2015-03-19 15:31:28 -04:00
David A. Harding
cbebe461ff Releases: Variablize Release Notes
Add additional variables to the release note files to allow setting the
version number and date.  The version number is required, and can be
used to automatically set the release notes title.  The date is optional
and can be set hours/days after the release.

Additionally, a Makefile test is added that checks whether the download
files exist on the Bitcoin.org server.  This can help prevent creating a
broken Download page.

* Set variables for all previous releases

* Document variables in README.md

* Update code and templates to use variables

* Add the Download page links to the "dl" CSS class. Also add newlines
  to make the HTML a bit easier to parse using sed

* Add a new Liquid plugin to print warnings. This is used to print a
  non-error warning if any release is created without the optional date
2015-02-27 08:15:50 -05:00
David A. Harding
84f5b6f160
Dev Docs: Attempt To Fix Site Build Error On ntpd1.template
Reported in IRC
2015-02-25 08:05:15 -05:00
David A. Harding
79fd671e90
Add New Inline-Template Plugin
Also add inline template for RPC and REST tables
2015-02-20 15:38:53 -05:00
Saivann
9ac6bdd463
Downloads: Updates for v0.10.0
* Set filenames once in the download page

* Edit download page for new or updated files

* Add link to the source code, GitHub and torrent download

* Replace long sync instructions by short instructions to run a full node on the download page

Commit originated by Saïvann Carignan and updated by Dave Harding.
2015-02-16 03:03:20 -05:00
Saivann
f80aa4be3a Add Coinfest as an international event 2015-01-29 14:52:49 -05:00
Saivann
f80d57b7d7 Order release history and set latest version using versions number instead of releases date 2015-01-19 15:42:49 -05:00
David A. Harding
b8abfb2dcd
Dev Docs: Add 114 Pages Of New/Rewritten RPC Docs
* All previously-documented RPCs have had their text completely
  rewritten.

* All new RPCs and changed RPCs in Bitcoin Core 0.10.0 have been
  documented, except for hidden RPCs.

* A new RPC "Quick Reference" section has been added to make finding the
  right RPC easier.

* A "See Also" subsection has been added to the end of every RPC
  pointing to other relevant information.

* All previous examples in the RPC section have been re-run and updated
  as necessary.

* Syntax highlighting has been added wherever possible.

* Hash byte order has been specified as RPC byte order everywhere it's
  used in RPCs.
2014-12-24 18:46:03 -05:00
David A. Harding
f368d38e04
Dev Docs: Add "Edit|History|Report Issue|Discuss" Links To Subheads 2014-12-13 17:35:21 -05:00
Saivann
64a6f780be Merge branch 'license' 2014-11-28 10:54:28 -05:00
Saivann
78431fc891 Avoid printing "language disabled" twice in sitemap.rb and template.rb 2014-11-21 22:12:58 -05:00
Saivann
2a139a51a1 Set license files and headers for bitcoin.org's content 2014-11-21 19:09:12 -05:00
David A. Harding
cc13a10623
Merge branch 'data-messages' (pull #642) 2014-11-16 13:20:54 -05:00
Saivann
1db1455703 Manage events in a single file 2014-11-15 18:45:43 -05:00
David A. Harding
1634212dd5
Dev Docs: Add P2P Messages That Request Or Reply With Data
Adds to the devel reference page detailed documentation on the following
messages: block, getblocks, getdata, getheaders, headers, inv, mempool,
merkleblock, notfound, and tx.

Adds to the devel examples page an example of requesting and parsing a
merkleblock message.

Adds to the devel docs overview pages links to the above two new
P2P sections.

Tweaks the autocrossref plugin ignore pattern to not crossref in the
middle of a GIF image name; this allows the inclusion of animated GIFs.
2014-11-12 12:39:36 -05:00
Saivann
45cdb02ab9 Allow disabling plugins for faster preview 2014-11-08 13:56:41 -05:00
saivann
5417f48821 Merge pull request #621 from bitcoin/status
Display a status icon on the Network status menu entry
2014-10-30 13:05:52 -04:00
Saivann
50203f5cc4 Display a status icon on the Network status menu entry 2014-10-28 00:20:58 -04:00
David A. Harding
4553439eda
Dev Docs: Describe Initial Peer Discovery & DNS Seeds
* Revise P2P Networking section to provide a more detailed description
  of initial peer discovery and DNS seeds.

* Tweak autocrossref.rb to allow term blacklisting. Use this new feature
  to prevent cross referencing "address" in "IP address" to the
  definition of Bitcoin P2PKH/P2SH addresses.  This avoids a bunch of
  manual "norefs".
2014-10-25 16:14:32 -04:00
Saivann
48d47dd035 Fix deprecated use of gravatar_id with the GitHub API 2014-09-23 10:47:56 -04:00
Saivann
d27cf78449 Only list Bitcoin-related events from meetup (fixes #558) 2014-09-19 11:18:06 -04:00
Saivann
c2a255c781 Keep url workaround for alerts enabled 2014-08-30 14:48:01 -04:00
Saivann
6aa184ca18 Fix broken translated links
Only fallback to English when no language code is supplied in translate.rb
Drop link to events page in ar, far translations
2014-06-18 12:50:05 -04:00
saivann
8f56414ed3 Merge pull request #459 from bitcoin/contributors
Add list of bitcoin.org contributors
2014-06-17 13:52:06 -04:00
Saivann
8a65502a4a Add list of bitcoin.org contributors 2014-06-16 14:14:47 -04:00
Saivann
78b04ea0ee Make translate.rb plugin fallback to English by default
Display English content in outdated translated templates when this doesn't cause too much issues
2014-06-14 17:21:42 -04:00
saivann
5f2d32d134 Merge pull request #453 from bitcoin/develdocstesting
Create a "Testing Applications" subsection in devel-examples
2014-06-14 16:51:08 -04:00
Saivann
53cc7e3798 Drop useless escaping of now latin-only urls 2014-06-14 00:18:33 -04:00
Saivann
ffed3c2529 Create a "Testing Applications" subsection in devel-examples
Move existing "regtest / testnet" texts to the new subsection and link to it
Move Bitcoin Core setup instructions in devel-examples
Add a consistent introduction for devel-(guide/ref/examples)
Fix autocrossref.rb to not add links inside {% highlight %} code blocks
2014-06-12 21:42:42 -04:00
David A. Harding
ba1a33e712
Merge remote-tracking branch 'bitcoin.org/master' into generatingtxes
Conflicts:
	_includes/references.md
2014-06-09 14:04:23 -04:00
David A. Harding
61f0931b75
Updates Based On Feedback From Mailing List
* Remove the QR Code error corrections subsection.

* Remove the non-example Payment Protocol text from developer examples.

* Update reference links and autocrossrefs to reflect above deletions

* Fix CSS padding problems reported by @saivann

* Remove all HTML comments from autocrossref text to allow easy checking
  for broken link definitions: find _site -name '*.html' | xargs grep '\]\['

* Add PNG versions of guide and example SVG icons.  (optipng run)
2014-06-06 18:46:32 -04:00
Saivann
187ed2562a Improve contributors.rb plugin
Validate returned data from GitHub API
htmlescape data on the HTML page
Drop unnecessary yaml dependency
Add more comments in the code
Add more aliases in _config.yml
Fix vertical-align style
2014-06-06 15:33:16 -04:00
David A. Harding
78b4c5452e
Merge remote-tracking branch 'bitcoin.org/master' into generatingtxes
Conflicts:
	_includes/guide_payment_processing.md
	_less/screen.less
2014-06-02 11:40:38 -04:00
David A. Harding
d1b4b08729
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.
2014-05-29 23:19:57 -04:00
saivann
2f17ee4dae Merge pull request #393 from bitcoin/devel-docs
Add Developer Guide To Bitcoin.org
2014-05-24 11:01:45 -04:00
Saivann
cbeb956b9a Ignore 404.html and README.md in sitemap.rb 2014-05-10 12:20:01 -04:00
Saivann
d258ee7c0b Process .md files with sitemap.rb 2014-05-10 12:18:48 -04:00
David Harding
ffde087f02 Contributions by @harding to devel docs
Thanks also (in alphabetical order) to @cbeams, @mikehearn, and
@tgeller, among others.

The last pre-squash commit was: c2b8d562aa107c7b68c60946cea14cdccc5159ad
2014-05-09 22:13:59 -04:00
Saivann
63dac6894a Support GitHub API pagination
(GitHub now returns only limited data per API Call)
2014-04-21 17:38:27 -04:00
Saivann
974f4f9bc8 Add temporary workaround for broken /heartbleed/ link 2014-04-11 12:28:52 -04:00
Saivann
fab5e8d038 Fix conditions for using address_2 and state fields from meetups 2014-04-02 12:10:24 -04:00
Saivann
6e2960d1ba Define events' date in YAML and continue displaying events 5 days after their start date (fixes #361) 2014-04-02 12:09:20 -04:00
Saivann
fde77a23d0 Rename "Bitcoin-Qt" to "Bitcoin Core" 2014-03-19 15:43:55 -04:00
Saivann
314ce7346a Minify CSS 2014-03-18 15:31:58 -04:00