Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 263b00e

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 9911cc8 commit 263b00e

5 files changed

Lines changed: 26 additions & 6 deletions

File tree

‎Gemfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ source 'http://rubygems.org'
22
ruby '2.2.3'
33

44
gem 'nanoc', '~> 4.0'
5+
gem 'nanoc-conref-fs', '~> 0.5'
56
gem 'nokogiri', '~> 1.6.0'
67

78
# rendering

‎Gemfile.lock‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ GEM
7777
multipart-post (2.0.0)
7878
nanoc (4.0.2)
7979
cri (~> 2.3)
80+
nanoc-conref-fs (0.5.0)
81+
activesupport (~> 4.2)
82+
liquid (~> 3.0)
83+
nanoc (~> 4.0)
8084
nanoc-html-pipeline (0.3.3)
8185
html-pipeline (~> 2.0)
8286
nanoc (>= 3.1, < 5.0)
@@ -138,6 +142,7 @@ DEPENDENCIES
138142
html-proofer (~> 2.5)
139143
jekyll-auth (~> 2.0)
140144
nanoc (~> 4.0)
145+
nanoc-conref-fs (~> 0.5)
141146
nanoc-html-pipeline (= 0.3.3)
142147
nokogiri (~> 1.6.0)
143148
page-toc-filter (~> 0.0.1)

‎lib/default.rb‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# All files in the 'lib' directory will be loaded
22
# before nanoc starts compiling.
33

4+
require 'nanoc-conref-fs'
5+
46
require 'nanoc-html-pipeline'
57
require 'extended-markdown-filter'
68
require 'page-toc-filter'

‎nanoc.yaml‎

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ pipeline_config:
1212
emf_use_blocks: true
1313
asset_root: https://a248.e.akamai.net/assets.github.com/images/icons
1414

15+
versions:
16+
- &latest_version_number 2.4
17+
- 2.3
18+
- 2.2
19+
- 2.1
20+
- 2.0
21+
22+
page_variables:
23+
-
24+
scope:
25+
path: ''
26+
values:
27+
version: 'dotcom'
28+
1529
# For the atom feed.
1630
base_url: http://developer.github.com
1731

@@ -76,10 +90,8 @@ prune:
7690
# “layout/��� directories in the site directory.
7791
data_sources:
7892
-
79-
type: filesystem
93+
type: conref-fs
94+
items_root: /
95+
layouts_root: /
8096
encoding: utf-8
81-
-
82-
type: filesystem
83-
items_root: /static
84-
content_dir: static
85-
layouts_dir: nil
97+
identifier_type: full
16 KB
Binary file not shown.

0 commit comments

Comments
 (0)