Commit graph

225 commits

Author SHA1 Message Date
Cøbra
74965f422f
Add halvening
Mention halvening
2016-07-08 23:13:55 +01:00
David A. Harding
f02a8108f4
Bitcoin Core: add banner redirecting some pages to BitcoinCore.org 2016-01-16 19:20:39 -05:00
David A. Harding
7d98f798ab
Upgrade to Jekyll 3.0
Gemfile:

  - Upgrade to Jekyll 3.x (3.0.1 tested).  This brings several new
    features I want to use, most notably *collections* which allows us
    to add blog-like collections. I've converted the `_releases` and
    `_alerts` pages into collections, although their plugins are
    maintained to handle the Download and Active Alert features.

  - Upgrade to latest Kramdown.

  - Lock Less at 2.4.0.  This prevents breaking our Less plugin.  Jekyll
    3.x provides native support for SCSS, so we may want to switch to
    that in time.

  - Lock HTML Proofer at 2.1.0.  The most recent version was taking
    forever to check our pages (I never actually got it to complete).
    I'll look into it when I get more time.

Makefile:

  - New `make clean` command.  Jekyll 3.x by default attempts to do
    incremental rebuilds.  The new `jekyll clean` command cleans up the
    metadata necessary for than so that a full build is performed, and
    this new `make clean` command is a wrapper around it so that we
    automatically do full rebuilds in the relevant cases.  Note: our
    plugins aren't fully compatible with the incremental rebuilds, but
    I'd like to fix that in the future.

  - Remove WEBrick hack to enable previewing with default URL paths (/
    instead of /index.html).

  - Filter out compliants from Rouge

README.md:

  - Now that Alerts (_alerts) are part of a collection, the file names
    are no longer parsed for dates, so instructions on adding the date
    to the YAML metadata have been added.

_alerts/*:

  - Now that alerts are part of a collection, the file names are no
    longer parsed to provide dates, so a `date:` field has been added to
    the YAML metadata.

_config.yml:

  - Some variables renamed per upgrade instructions.

  - Switched from old default syntax highlighter Pygments to new default
    Rouge.  I tried to use Rouge options to keep new output as similar
    to old output as possible to making diffing easy, but Rouge adds
    extra CSS class info.

  - Move `_alerts` and `_releases` into Jekyll 3.x "collections", which
    provide the organizational features we were using plugins to
    manange.  I haven't removed the old plugins because we still use
    some of their features (alerts.rb provides active issue and banner
    features; releases.rb provides info to Download page)

  - _layouts/* can no longer provide default global metadata; that is now
    provided in the new `defaults:` section in _config.yml.

_layouts/*:

  - Default metadata can no longer be provided in the layout files for
    collections, so I've removed it and left a message to see
    _config.yml.

_plugins/*:

  - Remove filter_for.rb. It's completely broken on Jekyll 3.x because
    of changes to Liquid which prevent adding new arguments to the
    inherited Liquid::For class. Existing uses of filter_for have been
    migrated to built-in for loops prefaced by sorts.

  - Remove remove-html-extension.rb: at it said in the comments, this
    was a temporary hack to get us to Jekyll 3.0.

_releases/*:

  - Rename all the files: prefix a v to the file name so the output html
    (e.g. v10.0.0.html) is the same as the source filename (e.g.
    v10.0.0.md).  This is necessary to migrate them to a Jekyll collection.

  - Remove %v from titles: we have to explicitly set the title, like we
    used to.  Again required for migration to collections.

_templates/events.html & en/rss/events.rss:

  - Sort events by date and then loop with regular for loop rather than
    filter_for

en/alerts.html & en/rss/alerts.rss:

  - Sort alerts by date and then loop with regular for loop rather than
    filter_for

en/bitcoin-core/index.md & en/version-history.html & en/rss/releases.rss:

  - Sort alerts by date and then loop with regular for loop rather than
    filter_for
2016-01-06 23:09:56 -05:00
David A. Harding
9f94bce8c4 Core: mention separation of concerns from Bitcoin.org 2015-12-29 01:24:50 -05:00
David A. Harding
706c791e92
New Bitcoin Core subsite
This commit contains a large number of contributions from Saïvann
Carignan.
2015-09-14 06:02:58 -04:00
David A. Harding
0aad50c5f3
Add end_of_page hook for extra Javascript 2015-08-22 18:28:36 -04:00
Saivann
4b950cf928 Move jquery libraries into a subfolder 2015-08-21 02:20:14 -04:00
David A. Harding
7d7494155f
Layout: Add Breadcrumbs To Dev Docs 2015-07-25 11:15:52 -04:00
David A. Harding
df3b8dcf28
Layout: Add Whitespace To Layouts 2015-07-25 11:15:50 -04:00
David A. Harding
6bfb8849dd
Layout: Split Base Layout 2015-07-25 11:12:36 -04:00
Saivann
5707cea630
Rework menus for mobile compatibility
Start supporting touch events for non-buggy iOS support and faster menus
Display and hide wallets on click instead of on mouseout to prevent accidental clicks or mouseout events
Add a wrapper function to detect ghost and accidental clicks
Reorganize wallet javascript functions for better readability
Fix bug in which a wallet would display on mouse over after user clicked inside it's bubble
Fix accidental use of global variables
2015-07-07 15:21:21 -04:00
Saivann
6dfe019256
Merge branch 'alertclass' 2015-07-06 11:05:38 -04:00
Saivann
4e9697bf0d
Avoid CSS declarations in HTML 2015-07-05 21:53:33 -04:00
Saivann
2d36e36464 Allow to set styles for alert banner 2015-07-05 21:11:23 -04:00
Saivann
0216bf3f64
Merge branch 'alertclickable' 2015-07-05 10:45:51 -04:00
Saivann
7af80fcabd
Drop unnecessary duplicate links 2015-07-04 14:05:48 -04:00
Saivann
7748504b94
Use blog layout for alerts with clear RSS feeds 2015-07-04 13:48:02 -04:00
Saivann
a1b7f4f533
Add RSS icon to individual alert pages 2015-07-04 12:34:26 -04:00
Saivann
227dc24d68
Make full alert banners clickable 2015-07-04 12:00:48 -04:00
Saivann
fa4d5fd34f Add warning icon to alert pages 2015-07-04 04:29:58 -04:00
Saivann
b27bcaf626 Simplify javascript code for expanding lists and blocks
Move styles to CSS stylesheets by using a class
Use a single function for all expanding boxes and lists
Separate CSS code for IE8 compatibility
2015-06-25 23:26:50 -04:00
David A. Harding
b347044eb2
Repository Move: Update Repository URLs
git ls-tree --full-tree -r HEAD \
  | sed 's/^.\{53\}//'          \
  | xargs sed -i 's^https://github.com/bitcoin/bitcoin.org^https://github.com/bitcoin-dot-org/bitcoin.org^g'
2015-06-23 09:08:40 -04:00
Saivann
f0d111e2c4 Drop public stats 2015-05-05 09:55:55 -04:00
David A. Harding
8e573b38f3
Merge #837, #838, and #842
* #837: Add A Blog To Bitcoin.org
* #838: Full Node Guide: Add Windows 8.x Instructions
* #842: QA: Fix 16,591 HTML Validation Errors
2015-04-28 11:06:59 -04:00
David A. Harding
feea5bb21f Layout: Add anchor link affordance to all pages 2015-04-25 19:19:24 -04:00
David A. Harding
7872468383
Blog: Add RSS Discovery Link & Icon
Suggested by Saïvann (thanks!)
2015-04-23 19:23:57 -04:00
David A. Harding
ffa9a249f3
Blog: Add Blog To Bitcoin.org
* Adds new page /en/blog

* Adds new feed for blog posts to /en/rss/blog.xml

* Adds "Blog" link to site footer

* Adds three back-dated blog posts to give the blog some initial
  content.
2015-04-22 17:49:30 -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
Saivann
b32efb7e66 Update sv translations 2015-04-12 11:55:53 -04:00
Saivann
de9afa06b3 Expend the "Participate" menu entry 2015-04-09 17:38:11 -04:00
Jacob Burenstam
fca84569e3 Fixes the position of the nav icon when resizeing the window on Chrome
Closes #808
2015-04-07 22:08:01 +02:00
David A. Harding
d954708ef1
QA: Use HTML Proofer To Check Internal Links
Uses Ruby html-proofer to check the links.  This commit also fixes the
various problems it found, as well as dealing with some of its
non-problem complaints (it doesn't like anchor (a) tags without either
an href, name, or id).

Running HTML proofer takes about 12 minutes on my system (with up to two
threads), during which it prints no text. Travis CI times out after 10
minutes of nothing being written to stdout, so this commit also adds a
background process the Makefile to print a line every minute while make
runs.
2015-03-14 15:17:24 -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
Saivann
20d456204e Reduce future changes to the javascript code of the download page
Drop unnecessary code used in other pages
Load download links from links already on the page
2015-02-19 09:42:53 -05:00
Saivann
109db2629c Update da translations 2015-01-29 15:42:11 -05:00
Saivann
0db3a01cbe Update de translations 2015-01-29 14:51:01 -05:00
Saivann
f2a576bf91 Update hu translations 2015-01-19 17:20:25 -05:00
Saivann
d51a80d063 Update date in the footer 2015-01-09 09:53:37 -05:00
Saivann
df15d7f857 Update tr translations 2014-12-25 21:10:40 -05:00
Saivann
f700835c3c Update ro translations 2014-12-22 01:33:23 -05:00
Saivann
3ccb3fc1aa Update sv translations 2014-12-20 11:37:03 -05:00
Saivann
0b433d4d06 Update ko translations 2014-12-18 10:01:13 -05:00
Saivann
46f897f2e3 Update id translations 2014-12-17 12:50:37 -05:00
Saivann
ab415e8b68 Update pl translation 2014-12-17 11:16:43 -05:00
Saivann
05c3917584 Update fr translations 2014-12-15 22:14:33 -05:00
Saivann
429b4ede69 Update nl translations 2014-12-15 15:03:52 -05:00
Saivann
2f57126729 Update uk translations 2014-12-14 20:58:57 -05:00
Saivann
41c4dd3ac8 Update pt_BR translations 2014-12-14 20:01:54 -05:00
Saivann
42b49469f4 Update hi translations 2014-12-14 19:57:01 -05:00
Saivann
84ac3d2589 Update zh_CN, zh_TW translations 2014-12-13 22:18:11 -05:00