[BREAKGLASS] Append-only mirror of github.com/coldcard/Bitcoin.org
|
|
||
|---|---|---|
| _contrib | ||
| _includes | ||
| _layouts | ||
| _less | ||
| _plugins | ||
| _posts | ||
| img | ||
| lib | ||
| _config.yml | ||
| .gitignore | ||
| about.html | ||
| bitcoin.pdf | ||
| clients.html | ||
| CNAME | ||
| critfix.html | ||
| favicon.ico | ||
| feb20.html | ||
| gavinandresen.asc | ||
| gmaxwell.asc | ||
| index.html | ||
| jgarzik-exmulti.asc | ||
| laanwj.asc | ||
| news.html | ||
| pieterwuille.asc | ||
| README.md | ||
| schneider.asc | ||
Requirements
Installing dependencies
sudo apt-get install rubygems
sudo gem install jekyll aquarium json less therubyracer
Usage
- update DOWNLOAD_VERSION in index.html
- run jekyll
- output will be in _site/
Advanced Usage
Alerts
You can easily put alerts on the homepage by changing the ALERT and ALERT_CLASS variables in index.html.
Example:
ALERT_CLASS: error
ALERT: <strong>Security alert:</strong> Please upgrade to 0.3.25 as soon as possible!
will produce a red alert box. 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/>
...
SHORTTITLEis used to construct the URL. Something likev0.3.24will be finelayout: postimportant for Jekylltitle: ...will be used as the titlesrc: ...(optional) link to full annoucementcategorry: ...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
- json
- aquarium
- less