octopress 3.0.0.rc.23 → 3.0.0.rc.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/assets/docs/docs.md +28 -0
- data/lib/octopress.rb +2 -1
- data/lib/octopress/commands/docs.rb +41 -0
- data/lib/octopress/docs.rb +256 -0
- data/lib/octopress/docs/doc.rb +91 -0
- data/lib/octopress/docs/hooks.rb +19 -0
- data/lib/octopress/docs/jekyll/convertible.rb +32 -0
- data/lib/octopress/docs/jekyll/page.rb +52 -0
- data/lib/octopress/docs/liquid_filters.rb +14 -0
- data/lib/octopress/version.rb +1 -1
- data/local/Gemfile +11 -0
- data/local/_config.yml +5 -0
- data/local/_includes/nav.html +7 -0
- data/local/_layouts/default.html +12 -0
- data/local/_layouts/docs.html +15 -0
- data/local/_layouts/docs_index.html +7 -0
- data/local/_plugins/docs.rb +5 -0
- data/local/_sass/_solarized.scss +1 -0
- data/local/index.html +13 -0
- data/local/stylesheets/site.scss +3 -0
- data/site/Gemfile +12 -0
- data/site/_config.yml +7 -0
- data/site/_includes/nav.html +7 -0
- data/site/_layouts/default.html +14 -0
- data/site/_layouts/docs.html +15 -0
- data/site/_layouts/docs_index.html +7 -0
- data/site/_plugins/docs.rb +2 -0
- data/site/index.html +13 -0
- data/site/stylesheets/site.scss +2 -0
- metadata +50 -82
- data/.clash.yml +0 -164
- data/.gitignore +0 -21
- data/.travis.yml +0 -8
- data/Gemfile +0 -4
- data/Rakefile +0 -1
- data/octopress.gemspec +0 -35
- data/scaffold/_templates/draft +0 -4
- data/scaffold/_templates/page +0 -4
- data/scaffold/_templates/post +0 -5
- data/test/Gemfile +0 -3
- data/test/_config.yml +0 -3
- data/test/_expected/blank/_config.yml +0 -1
- data/test/_expected/blank/_templates/draft +0 -4
- data/test/_expected/blank/_templates/page +0 -4
- data/test/_expected/blank/_templates/post +0 -5
- data/test/_expected/blank/index.html +0 -0
- data/test/_expected/integrate/_posts/2011-11-11-a-random-post.markdown +0 -6
- data/test/_expected/integrate/_posts/2012-11-11-another-random-post.markdown +0 -6
- data/test/_expected/integrate/_posts/2013-11-11-this-post-is-happy.markdown +0 -6
- data/test/_expected/isolate-path/_posts/2011-11-11-a-random-post.markdown +0 -6
- data/test/_expected/isolate-path/_posts/_exile/2012-11-11-another-random-post.markdown +0 -6
- data/test/_expected/isolate-path/_posts/_exile/2013-11-11-this-post-is-happy.markdown +0 -6
- data/test/_expected/isolate-search/_posts/2011-11-11-a-random-post.markdown +0 -6
- data/test/_expected/isolate-search/_posts/2012-11-11-another-random-post.markdown +0 -6
- data/test/_expected/isolate-search/_posts/_exile/2013-11-11-this-post-is-happy.markdown +0 -6
- data/test/_expected/isolate/_posts/2013-11-11-this-post-is-happy.markdown +0 -6
- data/test/_expected/isolate/_posts/_exile/2011-11-11-a-random-post.markdown +0 -6
- data/test/_expected/isolate/_posts/_exile/2012-11-11-another-random-post.markdown +0 -6
- data/test/_expected/new-draft-slug/_drafts/idea.markdown +0 -5
- data/test/_expected/new-draft/_drafts/some-cool-idea.markdown +0 -6
- data/test/_expected/new-page-date/pages/awesome-page.html +0 -6
- data/test/_expected/new-page-extension/pages/awesome-page.md +0 -5
- data/test/_expected/new-page-index/pages/index.html +0 -5
- data/test/_expected/new-page-template/pages/awesome-page.html +0 -6
- data/test/_expected/new-page/pages/awesome-page.html +0 -5
- data/test/_expected/new-post-dir/_posts/stuff/2014-02-11-some-stuff.markdown +0 -6
- data/test/_expected/new-post-slug/_posts/2014-03-13-awesome.markdown +0 -6
- data/test/_expected/new-post/_posts/2014-03-12-awesome-stuff.markdown +0 -6
- data/test/_expected/publish-draft-date/_posts/2014-03-11-some-cool-idea.markdown +0 -6
- data/test/_expected/publish-draft-dir/_posts/ideas/2014-03-10-some-cool-idea.markdown +0 -6
- data/test/_expected/publish-draft/_posts/2014-03-10-some-cool-idea.markdown +0 -6
@@ -0,0 +1,19 @@
|
|
1
|
+
module Octopress
|
2
|
+
module Docs
|
3
|
+
class DocsSiteHook < Octopress::Hooks::Site
|
4
|
+
def pre_render(site)
|
5
|
+
if Octopress::Docs.enabled?
|
6
|
+
Octopress.site = site
|
7
|
+
site.pages.concat Octopress::Docs.pages
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def merge_payload(payload, site)
|
12
|
+
if Octopress::Docs.enabled?
|
13
|
+
Octopress::Docs.pages_info
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Octopress
|
2
|
+
module Docs
|
3
|
+
module Convertible
|
4
|
+
include Jekyll::Convertible
|
5
|
+
|
6
|
+
# Read the YAML frontmatter.
|
7
|
+
#
|
8
|
+
# base - The String path to the dir containing the file.
|
9
|
+
# name - The String filename of the file.
|
10
|
+
# opts - optional parameter to File.read, default at site configs
|
11
|
+
#
|
12
|
+
# Returns nothing.
|
13
|
+
def read_yaml(base, name, opts = {})
|
14
|
+
begin
|
15
|
+
self.content = File.read(File.join(base, name),
|
16
|
+
merged_file_read_opts(opts))
|
17
|
+
if content =~ /\A(---\s*\n.*?\n?)^((---|\.\.\.)\s*$\n?)/m
|
18
|
+
self.content = $POSTMATCH
|
19
|
+
self.data = SafeYAML.load($1)
|
20
|
+
end
|
21
|
+
rescue SyntaxError => e
|
22
|
+
Jekyll.logger.warn "YAML Exception reading #{File.join(base, name)}: #{e.message}"
|
23
|
+
rescue Exception => e
|
24
|
+
Jekyll.logger.warn "Error reading file #{File.join(base, name)}: #{e.message}"
|
25
|
+
end
|
26
|
+
|
27
|
+
self.data ||= {}
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module Octopress
|
2
|
+
module Docs
|
3
|
+
class Page < Jekyll::Page
|
4
|
+
include Docs::Convertible
|
5
|
+
|
6
|
+
# Purpose: Configs can override a page's permalink
|
7
|
+
#
|
8
|
+
# url - Path relative to destination directory.
|
9
|
+
# examples:
|
10
|
+
# - '/' for the _site/index.html page
|
11
|
+
# - '/archive/' for the _site/archive/index.html page
|
12
|
+
#
|
13
|
+
def initialize(site, base, dir, name, config={})
|
14
|
+
@config = config
|
15
|
+
super(site, base, dir, name)
|
16
|
+
post_init if respond_to?(:post_init)
|
17
|
+
end
|
18
|
+
|
19
|
+
def destination(dest)
|
20
|
+
unless @dest
|
21
|
+
if @config['path']
|
22
|
+
dest = File.join(dest, @config['path'])
|
23
|
+
end
|
24
|
+
@dest = File.join(dest, self.url)
|
25
|
+
end
|
26
|
+
@dest
|
27
|
+
end
|
28
|
+
|
29
|
+
def relative_asset_path
|
30
|
+
site_source = Pathname.new Docs.site.source
|
31
|
+
page_source = Pathname.new @base
|
32
|
+
page_source.relative_path_from(site_source).to_s
|
33
|
+
end
|
34
|
+
|
35
|
+
# Allow pages to read url from plugin configuration
|
36
|
+
#
|
37
|
+
def url
|
38
|
+
unless @url
|
39
|
+
super
|
40
|
+
|
41
|
+
if @url && @url =~ /\/$/
|
42
|
+
ext = (self.ext == '.xml'? 'xml' : 'html')
|
43
|
+
@url = File.join(@url, "index.#{ext}")
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
@url
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# For plugin authors who need to generate urls pointing to ther doc pages.
|
2
|
+
module DocsFilters
|
3
|
+
def docs_source_url(input)
|
4
|
+
if input =~ /github.com/
|
5
|
+
label = "GitHub"
|
6
|
+
else
|
7
|
+
label = "source"
|
8
|
+
end
|
9
|
+
"<a href='#{input}'>#{label}</a>"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
Liquid::Template.register_filter(DocsFilters)
|
14
|
+
|
data/lib/octopress/version.rb
CHANGED
data/local/Gemfile
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gem "jekyll"
|
4
|
+
gem "octopress", path: "../../cli"
|
5
|
+
|
6
|
+
group :jekyll_plugins do
|
7
|
+
end
|
8
|
+
|
9
|
+
#gem 'octopress-escape-code', path: "../../escape-code"
|
10
|
+
#gem "octopress-ink", path: "../../ink"
|
11
|
+
#gem "octopress-codefence", path: "../../codefence"
|
data/local/_config.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
{% include nav.html %}
|
5
|
+
|
6
|
+
{{ content }}
|
7
|
+
|
8
|
+
{% assign doc_pages = page.docs %}
|
9
|
+
{% if doc_pages.size > 1 %}
|
10
|
+
<nav class='plugin-nav' role='navigation'>
|
11
|
+
{% for doc in doc_pages %}
|
12
|
+
<a href="{{ doc.url }}">{{ doc.title }}</a>
|
13
|
+
{% endfor %}
|
14
|
+
</nav>
|
15
|
+
{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
pre .gd:after,pre .gd .x:after,pre .gi:after,pre .gi .x:after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:0}.code-highlight-pre{background:#002731}.code-highlight-row.numbered:before{color:#586e75;background:#073642;border-right:1px solid #00232c;box-shadow:#083e4b -1px 0 inset;text-shadow:#021014 0 -1px}.marked-line .code-highlight-line:before{background:rgba(0,186,255,0.13)}.marked-line.numbered:before{background:rgba(0,186,255,0.13);border-right-color:rgba(0,112,153,0.13)}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{border:1px solid #05232b;background:#002b36;color:#93a1a1}pre span{color:#93a1a1}pre .c{color:#586e75;font-style:italic}pre .cm{color:#586e75;font-style:italic}pre .cp{color:#586e75;font-style:italic}pre .c1{color:#586e75;font-style:italic}pre .cs{color:#586e75;font-weight:bold;font-style:italic}pre .err{color:#dc322f;background:none}pre .k{color:#cb4b16}pre .o{color:#93a1a1;font-weight:bold}pre .p{color:#93a1a1}pre .ow{color:#2aa198;font-weight:bold}pre .gd{color:#93a1a1}pre .gd:after{background:#372c34}pre .gd .x{color:#93a1a1}pre .gd .x:after{background:#4d2d33}pre .ge{color:#93a1a1;font-style:italic}pre .gh{color:#586e75}pre .gi{color:#93a1a1}pre .gi:after{background:#1a412b}pre .gi .x{color:#93a1a1}pre .gi .x:after{background:#355720}pre .go{color:#839496}pre .gp{color:#2aa198}pre .gs{color:#93a1a1;font-weight:bold}pre .gu{color:#6c71c4}pre .gt{color:#dc322f}pre .kc{color:#859900;font-weight:bold}pre .kd{color:#268bd2}pre .kp{color:#cb4b16;font-weight:bold}pre .kr{color:#d33682;font-weight:bold}pre .kt{color:#2aa198}pre .n{color:#268bd2}pre .na{color:#268bd2}pre .nb{color:#859900}pre .nc{color:#d33682}pre .no{color:#b58900}pre .ni{color:#d33682}pre .nl{color:#859900}pre .ne{color:#268bd2;font-weight:bold}pre .nf{color:#268bd2;font-weight:bold}pre .nn{color:#b58900}pre .nt{color:#268bd2;font-weight:bold}pre .nx{color:#b58900}pre .bp{color:#93a1a1}pre .vc{color:#859900}pre .vg{color:#268bd2}pre .vi{color:#268bd2}pre .nv{color:#268bd2}pre .w{color:#657b83}pre .mf{color:#2aa198}pre .m{color:#2aa198}pre .mh{color:#2aa198}pre .mi{color:#2aa198}pre .mo{color:#2aa198}pre .s{color:#2aa198}pre .sb{color:#859900}pre .sc{color:#859900}pre .sd{color:#2aa198}pre .s2{color:#2aa198}pre .se{color:#dc322f}pre .sh{color:#859900}pre .si{color:#268bd2}pre .sx{color:#859900}pre .sr{color:#2aa198}pre .s1{color:#2aa198}pre .ss{color:#cb4b16}pre .il{color:#b58900}code,kbd,samp,tt{color:inherit;background-color:rgba(255,255,255,0.3);border:1px solid rgba(0,0,0,0.1);font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace;border-radius:3px;font-size:0.85em}code:before,code:after,kbd:before,kbd:after,samp:before,samp:after,tt:before,tt:after{content:"\00a0";letter-spacing:-0.2em}pre code{border:none;background:none;border-raidus:0;font-size:inherit}pre code:before,pre code:after{content:none}pre,pre code{font-size:13px;font-family:"Source Code Pro",Inconsolata-dz,Inconsolata,Menlo,Monaco,Consolas,"Liberation Mono",Courier,monospace}pre *,pre code *{-moz-box-sizing:border-box;box-sizing:border-box}.highlight pre,pre:not(.code-highlight-pre),.code-highlight{overflow:scroll;overflow-y:hidden;overflow-x:auto;line-height:1.45em}.highlight pre span,pre:not(.code-highlight-pre) span,.code-highlight span{font-style:normal;font-weight:normal}.code-highlight-figure{margin:1.8em 0;font-size:14px;background:none;padding:0;border:0}.code-highlight-figure *{-moz-box-sizing:border-box;box-sizing:border-box}.code-highlight-figure pre{margin-top:0;margin-bottom:0}.code-highlight-caption{position:relative;text-align:center;line-height:2em;text-shadow:rgba(255,255,255,0.8) 0 1px 0;color:#474747;font-weight:normal;margin-bottom:0;background-color:#ccc;background-image:-webkit-linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);background-image:linear-gradient(#fff, #f0f0f0 6%, #e5e5e5 90%, #e5e5e5);border-top-left-radius:5px;border-top-right-radius:5px;font-family:"Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;border:1px solid #cbcbcb}.code-highlight-caption+.code-highlight{border-top:0}.code-highlight-caption-link{position:absolute;right:.8em;color:#666;z-index:1;text-shadow:rgba(255,255,255,0.8) 0 1px 0;padding-left:3em}.highlight pre,pre:not(.code-highlight-pre){padding:1em .8rem;border-radius:.4em;margin:1.8em 0}.code-highlight-pre{width:100%;margin-bottom:0;display:table}.code-highlight-row{display:table-row;width:100%}.code-highlight-row:before,.code-highlight-row .code-highlight-line{padding-left:1.6em;padding-right:1.6em}.code-highlight-row:first-child:before,.code-highlight-row:first-child .code-highlight-line{padding-top:0.8em}.code-highlight-row:last-child:before,.code-highlight-row:last-child .code-highlight-line{padding-bottom:0.8em}.code-highlight-row.numbered:before,.code-highlight-row.numbered .code-highlight-line{padding-left:0.8em;padding-right:0.8em}.code-highlight-row.numbered:before{display:table-cell;content:attr(data-line);min-width:1.2em;text-align:right;line-height:1.45em}.code-highlight-line{display:table-cell;width:100%;position:relative;z-index:1}.marked-line{position:relative}.marked-line .code-highlight-line:before{content:"";position:absolute;left:0;top:0;bottom:0;right:0;border-right:1px solid rgba(0,186,255,0.13)}.marked-line.unnumbered .code-highlight-line:before{border-left:3px solid rgba(0,186,255,0.5)}.marked-line.numbered:before{border-left:3px solid rgba(0,186,255,0.5)}.start-marked-line:before,.start-marked-line .code-highlight-line:before{border-top:1px solid rgba(0,186,255,0.13)}.end-marked-line:before,.end-marked-line .code-highlight-line:before{border-bottom:1px solid rgba(0,186,255,0.13)}
|
data/local/index.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: docs_index
|
3
|
+
---
|
4
|
+
|
5
|
+
{% for plugin in plugin_docs %}
|
6
|
+
<ul class='plugin'>
|
7
|
+
<li>
|
8
|
+
<a href="/{{ plugin[1].url }}">{{ plugin[1].name }}</a>{% if plugin[1].description %} - {{ plugin[1].description }}{% endif %}
|
9
|
+
{% assign source = plugin[1].source_url %}
|
10
|
+
{% if source %} - {{ source | docs_source_url }}{% endif %}
|
11
|
+
</li>
|
12
|
+
</ul>
|
13
|
+
{% endfor %}
|
data/site/Gemfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gem "jekyll"
|
4
|
+
gem "pry-byebug"
|
5
|
+
|
6
|
+
group :jekyll_plugins do
|
7
|
+
gem "octopress", path: "../"
|
8
|
+
gem "octopress-ink", path: "../../ink"
|
9
|
+
gem "octopress-solarized", path: "../../solarized"
|
10
|
+
gem "octopress-asset-pipeline", path: "../../asset-pipeline"
|
11
|
+
end
|
12
|
+
|
data/site/_config.yml
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<link rel='stylesheet' href='/stylesheets/site.css'>
|
5
|
+
<title>{{ page.title }}</title>
|
6
|
+
{% css_asset_tag %}
|
7
|
+
{% js_asset_tag %}
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<div class='site'>
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
{% include nav.html %}
|
5
|
+
|
6
|
+
{{ content }}
|
7
|
+
|
8
|
+
{% assign doc_pages = page.docs %}
|
9
|
+
{% if doc_pages.size > 1 %}
|
10
|
+
<nav class='plugin-nav' role='navigation'>
|
11
|
+
{% for doc in doc_pages %}
|
12
|
+
<a href="{{ doc.url }}">{{ doc.title }}</a>
|
13
|
+
{% endfor %}
|
14
|
+
</nav>
|
15
|
+
{% endif %}
|
data/site/index.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% for plugin in plugin_docs %}
|
6
|
+
<ul class='plugin'>
|
7
|
+
<li>
|
8
|
+
<a href="/{{ plugin[1].url }}">{{ plugin[1].name }}</a>{% if plugin[1].description %} - {{ plugin[1].description }}{% endif %}
|
9
|
+
{% assign source = plugin[1].source_url %}
|
10
|
+
{% if source %} - {{ source | docs_source_url }}{% endif %}
|
11
|
+
</li>
|
12
|
+
</ul>
|
13
|
+
{% endfor %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.rc.
|
4
|
+
version: 3.0.0.rc.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mercenary
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name: octopress-
|
57
|
+
name: octopress-deploy
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
@@ -68,19 +68,33 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name: octopress-
|
71
|
+
name: octopress-hooks
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
76
|
+
version: '2.0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
83
|
+
version: '2.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: octopress-escape-code
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '2.0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '2.0'
|
84
98
|
- !ruby/object:Gem::Dependency
|
85
99
|
name: octopress-ink
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,23 +175,26 @@ executables:
|
|
161
175
|
extensions: []
|
162
176
|
extra_rdoc_files: []
|
163
177
|
files:
|
164
|
-
- ".clash.yml"
|
165
|
-
- ".gitignore"
|
166
|
-
- ".travis.yml"
|
167
178
|
- CHANGELOG.md
|
168
|
-
- Gemfile
|
169
179
|
- LICENSE
|
170
180
|
- README.md
|
171
|
-
-
|
181
|
+
- assets/docs/docs.md
|
172
182
|
- assets/docs/index.md
|
173
183
|
- bin/octopress
|
174
184
|
- lib/octopress.rb
|
175
185
|
- lib/octopress/command.rb
|
186
|
+
- lib/octopress/commands/docs.rb
|
176
187
|
- lib/octopress/commands/helpers.rb
|
177
188
|
- lib/octopress/commands/init.rb
|
178
189
|
- lib/octopress/commands/isolate.rb
|
179
190
|
- lib/octopress/commands/new.rb
|
180
191
|
- lib/octopress/commands/publish.rb
|
192
|
+
- lib/octopress/docs.rb
|
193
|
+
- lib/octopress/docs/doc.rb
|
194
|
+
- lib/octopress/docs/hooks.rb
|
195
|
+
- lib/octopress/docs/jekyll/convertible.rb
|
196
|
+
- lib/octopress/docs/jekyll/page.rb
|
197
|
+
- lib/octopress/docs/liquid_filters.rb
|
181
198
|
- lib/octopress/draft.rb
|
182
199
|
- lib/octopress/isolate.rb
|
183
200
|
- lib/octopress/page.rb
|
@@ -185,42 +202,25 @@ files:
|
|
185
202
|
- lib/octopress/scaffold.rb
|
186
203
|
- lib/octopress/utils.rb
|
187
204
|
- lib/octopress/version.rb
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
- test/_expected/isolate-search/_posts/_exile/2013-11-11-this-post-is-happy.markdown
|
208
|
-
- test/_expected/isolate/_posts/2013-11-11-this-post-is-happy.markdown
|
209
|
-
- test/_expected/isolate/_posts/_exile/2011-11-11-a-random-post.markdown
|
210
|
-
- test/_expected/isolate/_posts/_exile/2012-11-11-another-random-post.markdown
|
211
|
-
- test/_expected/new-draft-slug/_drafts/idea.markdown
|
212
|
-
- test/_expected/new-draft/_drafts/some-cool-idea.markdown
|
213
|
-
- test/_expected/new-page-date/pages/awesome-page.html
|
214
|
-
- test/_expected/new-page-extension/pages/awesome-page.md
|
215
|
-
- test/_expected/new-page-index/pages/index.html
|
216
|
-
- test/_expected/new-page-template/pages/awesome-page.html
|
217
|
-
- test/_expected/new-page/pages/awesome-page.html
|
218
|
-
- test/_expected/new-post-dir/_posts/stuff/2014-02-11-some-stuff.markdown
|
219
|
-
- test/_expected/new-post-slug/_posts/2014-03-13-awesome.markdown
|
220
|
-
- test/_expected/new-post/_posts/2014-03-12-awesome-stuff.markdown
|
221
|
-
- test/_expected/publish-draft-date/_posts/2014-03-11-some-cool-idea.markdown
|
222
|
-
- test/_expected/publish-draft-dir/_posts/ideas/2014-03-10-some-cool-idea.markdown
|
223
|
-
- test/_expected/publish-draft/_posts/2014-03-10-some-cool-idea.markdown
|
205
|
+
- local/Gemfile
|
206
|
+
- local/_config.yml
|
207
|
+
- local/_includes/nav.html
|
208
|
+
- local/_layouts/default.html
|
209
|
+
- local/_layouts/docs.html
|
210
|
+
- local/_layouts/docs_index.html
|
211
|
+
- local/_plugins/docs.rb
|
212
|
+
- local/_sass/_solarized.scss
|
213
|
+
- local/index.html
|
214
|
+
- local/stylesheets/site.scss
|
215
|
+
- site/Gemfile
|
216
|
+
- site/_config.yml
|
217
|
+
- site/_includes/nav.html
|
218
|
+
- site/_layouts/default.html
|
219
|
+
- site/_layouts/docs.html
|
220
|
+
- site/_layouts/docs_index.html
|
221
|
+
- site/_plugins/docs.rb
|
222
|
+
- site/index.html
|
223
|
+
- site/stylesheets/site.scss
|
224
224
|
homepage: http://octopress.org
|
225
225
|
licenses:
|
226
226
|
- MIT
|
@@ -246,36 +246,4 @@ signing_key:
|
|
246
246
|
specification_version: 4
|
247
247
|
summary: Octopress is an obsessively designed framework for Jekyll blogging. It’s
|
248
248
|
easy to configure and easy to deploy. Sweet huh?
|
249
|
-
test_files:
|
250
|
-
- test/Gemfile
|
251
|
-
- test/_config.yml
|
252
|
-
- test/_expected/blank/_config.yml
|
253
|
-
- test/_expected/blank/_templates/draft
|
254
|
-
- test/_expected/blank/_templates/page
|
255
|
-
- test/_expected/blank/_templates/post
|
256
|
-
- test/_expected/blank/index.html
|
257
|
-
- test/_expected/integrate/_posts/2011-11-11-a-random-post.markdown
|
258
|
-
- test/_expected/integrate/_posts/2012-11-11-another-random-post.markdown
|
259
|
-
- test/_expected/integrate/_posts/2013-11-11-this-post-is-happy.markdown
|
260
|
-
- test/_expected/isolate-path/_posts/2011-11-11-a-random-post.markdown
|
261
|
-
- test/_expected/isolate-path/_posts/_exile/2012-11-11-another-random-post.markdown
|
262
|
-
- test/_expected/isolate-path/_posts/_exile/2013-11-11-this-post-is-happy.markdown
|
263
|
-
- test/_expected/isolate-search/_posts/2011-11-11-a-random-post.markdown
|
264
|
-
- test/_expected/isolate-search/_posts/2012-11-11-another-random-post.markdown
|
265
|
-
- test/_expected/isolate-search/_posts/_exile/2013-11-11-this-post-is-happy.markdown
|
266
|
-
- test/_expected/isolate/_posts/2013-11-11-this-post-is-happy.markdown
|
267
|
-
- test/_expected/isolate/_posts/_exile/2011-11-11-a-random-post.markdown
|
268
|
-
- test/_expected/isolate/_posts/_exile/2012-11-11-another-random-post.markdown
|
269
|
-
- test/_expected/new-draft-slug/_drafts/idea.markdown
|
270
|
-
- test/_expected/new-draft/_drafts/some-cool-idea.markdown
|
271
|
-
- test/_expected/new-page-date/pages/awesome-page.html
|
272
|
-
- test/_expected/new-page-extension/pages/awesome-page.md
|
273
|
-
- test/_expected/new-page-index/pages/index.html
|
274
|
-
- test/_expected/new-page-template/pages/awesome-page.html
|
275
|
-
- test/_expected/new-page/pages/awesome-page.html
|
276
|
-
- test/_expected/new-post-dir/_posts/stuff/2014-02-11-some-stuff.markdown
|
277
|
-
- test/_expected/new-post-slug/_posts/2014-03-13-awesome.markdown
|
278
|
-
- test/_expected/new-post/_posts/2014-03-12-awesome-stuff.markdown
|
279
|
-
- test/_expected/publish-draft-date/_posts/2014-03-11-some-cool-idea.markdown
|
280
|
-
- test/_expected/publish-draft-dir/_posts/ideas/2014-03-10-some-cool-idea.markdown
|
281
|
-
- test/_expected/publish-draft/_posts/2014-03-10-some-cool-idea.markdown
|
249
|
+
test_files: []
|