No description
Find a file
2013-03-22 08:48:12 -07:00
_contrib new bitcoin.org 2013-03-18 14:29:59 -04:00
_layouts many minor fixes 2013-03-20 10:18:58 -04:00
_less add more web wallets 2013-03-21 01:45:41 -04:00
_plugins fix FTBFS, replace Dir.exist by File.directory for old ruby versions 2013-03-21 13:56:49 -04:00
_posts Missed a 0.8.0 2013-03-18 11:28:03 -04:00
en Fix some typos. Add "OS" to BlackBerry because we mean the platform rather the company. 2013-03-22 16:42:22 +01:00
font new bitcoin.org 2013-03-18 14:29:59 -04:00
fr Fix some typos. Add "OS" to BlackBerry because we mean the platform rather the company. 2013-03-22 16:42:22 +01:00
img Make Android icon more distinguishable. Save 300 bytes at the same time. 2013-03-22 10:30:23 +01:00
js set warning bubble before showing online wallets 2013-03-18 22:03:57 -04:00
.gitignore initial commit 2011-08-31 21:30:26 +02:00
_config.yml new bitcoin.org 2013-03-18 14:29:59 -04:00
about.html new bitcoin.org 2013-03-18 14:29:59 -04:00
andreas_schildbach.asc Add gpg key for Andreas Schildbach (8B877A60). 2013-03-03 00:53:41 +01:00
bitcoin.pdf initial commit 2011-08-31 21:30:26 +02:00
chainfork.html new bitcoin.org 2013-03-18 14:29:59 -04:00
clients.html new bitcoin.org 2013-03-18 14:29:59 -04:00
CNAME re-add CNAME with bitcoin.org 2011-09-03 17:41:56 +02:00
critfix.html new bitcoin.org 2013-03-18 14:29:59 -04:00
dos.html new bitcoin.org 2013-03-18 14:29:59 -04:00
favicon.ico new bitcoin.org 2013-03-18 14:29:59 -04:00
favicon.png temporary link to bitcoin-qt instead of multibit and a few minor fixes 2013-03-21 21:08:28 -04:00
feb20.html new bitcoin.org 2013-03-18 14:29:59 -04:00
gavinandresen.asc Updated keys (BE38D3A8 and 1FC730C1) for Gavin-- new 4096-bit RSA key, and both keys signed by several people. 2011-12-15 17:35:45 -05:00
gmaxwell.asc Adding myself to the index. Also a minor update to the feb20.html 2012-02-19 13:58:24 -05:00
index.html add english page fallback for users with javascript disabled 2013-03-21 15:51:42 -04:00
jgarzik-exmulti.asc initial commit 2011-08-31 21:30:26 +02:00
laanwj.asc add Wladimir to list of developers 2011-10-19 15:59:15 +02:00
may15.html new bitcoin.org 2013-03-18 14:29:59 -04:00
news.html new bitcoin.org 2013-03-18 14:29:59 -04:00
pieterwuille.asc Updated my gpg key 2012-03-16 17:42:06 +01:00
README.md new bitcoin.org 2013-03-18 14:29:59 -04:00
robots.txt new bitcoin.org 2013-03-18 14:29:59 -04:00
schneider.asc add press-list, renamed all PGP keys to .asc 2011-09-03 14:18:53 +02:00
sitemap.xml new bitcoin.org 2013-03-18 14:29:59 -04:00

Requirements

Installing dependencies

sudo apt-get install rubygems ruby1.9.1-dev build-essential
sudo gem install jekyll aquarium json less therubyracer

Usage

  • update DOWNLOAD_VERSION in _config.yml
  • run ./_contrib/updatesitemap if you changed a page
  • run jekyll
  • output will be in _site/

Translation

  • Find the two letter ISO 639-1 code for your language (fr, en, jp)
  • Run ./_contrib/translate (language code) (language name)
  • Make sure that languages are listed in alphabetical order in _config.yml
  • Rename html files in (lang)/ according to your language. And update links in _layouts/base-(lang).html and (lang)/*.html to reflect your changes.
  • Translate all .html and images files in (lang)/ and _layouts/base-(lang).html
  • A tips for translators, you can preview your work in a simple Google chrome browser with no HTTP server. Just go to the existing english page, open the javascript console with CTRL + SHIFT + J and use the following command to make the page editable : document.body.contentEditable=true

Advanced Usage

Alerts

You can easily put a global alert on the website by changing the ALERT and ALERT_CLASS variables in _config.yml. And you can also set an alert specific to a language by appending the language code to the ALERT.

Example:

ALERT_CLASS: error
ALERT: <strong>Security alert:</strong> Please upgrade to 0.3.25 as soon as possible!
ALERT_fr: <strong>Alerte de sécurité:</strong> Mettez Bitcoin à jour vers la version 0.3.25 sans délais!

will produce an english red alert box for all languages, and a translated red alert box for french language. Possible classes are: error (red), info (blue), success (green) and warning (yellow)

Release Notes

Release notes should be placed in _posts/releases/YEAR-MONTH-DAY-SHORTTITLE.md and adhere to this format:

---
layout: post
title: Bitcoin version 0.3.24 released
src: http://sourceforge.net/mailarchive/message.php?msg_id=27771039
category: releases
---

Bitcoin v0.3.24 is now available for download at
<https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.24/>

...
  • SHORTTITLE is used to construct the URL. Something like v0.3.24 will be fine
  • layout: post important for Jekyll
  • title: ... will be used as the title
  • src: ... (optional) link to full annoucement
  • category: ... category of post ** releases ** events

Aliases for contributors

Aliases for contributors are defined in _config.yml.

aliases:
  s_nakamoto: Satoshi Nakamoto
  --author=Satoshi Nakamoto: Satoshi Nakamoto
  gavinandresen: Gavin Andresen

Requirements

These ruby gems are required to build the website:

  • jekyll
  • aquarium
  • json
  • less
  • therubyracer