Skip to content

Commit 620786b

Browse files
committed
Add GitHub pages contents
1 parent 2a3873f commit 620786b

File tree

134 files changed

+16278
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+16278
-1
lines changed

.dir-locals.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
((lua-mode . ((lua-indent-level . 2)
2-
(indent-tabs-mode . nil))))
2+
(indent-tabs-mode . nil)))
3+
(css-mode . ((indent-tabs-mode . nil)
4+
(css-indent-offset . 2))))

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
.*.swp
2+
*.edit.po
3+
*.edit.po~
4+
*.pot
5+
*.time_stamp
6+
/docs/.sass-cache/
7+
/docs/_site/
8+
/docs/_po/*.po

docs/Gemfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll-task-i18n"
4+
gem "rake"
5+
gem "yard"
6+
gem "coderay"
7+
gem "github-pages"
8+
gem "kramdown"

docs/Gemfile.lock

+234
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (4.2.9)
5+
i18n (~> 0.7)
6+
minitest (~> 5.1)
7+
thread_safe (~> 0.3, >= 0.3.4)
8+
tzinfo (~> 1.1)
9+
addressable (2.5.2)
10+
public_suffix (>= 2.0.2, < 4.0)
11+
coderay (1.1.2)
12+
coffee-script (2.4.1)
13+
coffee-script-source
14+
execjs
15+
coffee-script-source (1.11.1)
16+
colorator (1.1.0)
17+
concurrent-ruby (1.0.5)
18+
ethon (0.11.0)
19+
ffi (>= 1.3.0)
20+
execjs (2.7.0)
21+
faraday (0.13.1)
22+
multipart-post (>= 1.2, < 3)
23+
ffi (1.9.18)
24+
forwardable-extended (2.6.0)
25+
gemoji (3.0.0)
26+
gettext (3.2.4)
27+
locale (>= 2.0.5)
28+
text (>= 1.3.0)
29+
github-pages (166)
30+
activesupport (= 4.2.9)
31+
github-pages-health-check (= 1.3.5)
32+
jekyll (= 3.6.2)
33+
jekyll-avatar (= 0.5.0)
34+
jekyll-coffeescript (= 1.0.2)
35+
jekyll-default-layout (= 0.1.4)
36+
jekyll-feed (= 0.9.2)
37+
jekyll-gist (= 1.4.1)
38+
jekyll-github-metadata (= 2.9.3)
39+
jekyll-mentions (= 1.2.0)
40+
jekyll-optional-front-matter (= 0.2.0)
41+
jekyll-paginate (= 1.1.0)
42+
jekyll-readme-index (= 0.1.0)
43+
jekyll-redirect-from (= 0.12.1)
44+
jekyll-relative-links (= 0.5.0)
45+
jekyll-sass-converter (= 1.5.0)
46+
jekyll-seo-tag (= 2.3.0)
47+
jekyll-sitemap (= 1.1.1)
48+
jekyll-swiss (= 0.4.0)
49+
jekyll-theme-architect (= 0.1.0)
50+
jekyll-theme-cayman (= 0.1.0)
51+
jekyll-theme-dinky (= 0.1.0)
52+
jekyll-theme-hacker (= 0.1.0)
53+
jekyll-theme-leap-day (= 0.1.0)
54+
jekyll-theme-merlot (= 0.1.0)
55+
jekyll-theme-midnight (= 0.1.0)
56+
jekyll-theme-minimal (= 0.1.0)
57+
jekyll-theme-modernist (= 0.1.0)
58+
jekyll-theme-primer (= 0.5.2)
59+
jekyll-theme-slate (= 0.1.0)
60+
jekyll-theme-tactile (= 0.1.0)
61+
jekyll-theme-time-machine (= 0.1.0)
62+
jekyll-titles-from-headings (= 0.4.0)
63+
jemoji (= 0.8.1)
64+
kramdown (= 1.14.0)
65+
liquid (= 4.0.0)
66+
listen (= 3.0.6)
67+
mercenary (~> 0.3)
68+
minima (= 2.1.1)
69+
rouge (= 2.2.1)
70+
terminal-table (~> 1.4)
71+
github-pages-health-check (1.3.5)
72+
addressable (~> 2.3)
73+
net-dns (~> 0.8)
74+
octokit (~> 4.0)
75+
public_suffix (~> 2.0)
76+
typhoeus (~> 0.7)
77+
html-pipeline (2.7.1)
78+
activesupport (>= 2)
79+
nokogiri (>= 1.4)
80+
i18n (0.9.0)
81+
concurrent-ruby (~> 1.0)
82+
jekyll (3.6.2)
83+
addressable (~> 2.4)
84+
colorator (~> 1.0)
85+
jekyll-sass-converter (~> 1.0)
86+
jekyll-watch (~> 1.1)
87+
kramdown (~> 1.14)
88+
liquid (~> 4.0)
89+
mercenary (~> 0.3.3)
90+
pathutil (~> 0.9)
91+
rouge (>= 1.7, < 3)
92+
safe_yaml (~> 1.0)
93+
jekyll-avatar (0.5.0)
94+
jekyll (~> 3.0)
95+
jekyll-coffeescript (1.0.2)
96+
coffee-script (~> 2.2)
97+
coffee-script-source (~> 1.11.1)
98+
jekyll-default-layout (0.1.4)
99+
jekyll (~> 3.0)
100+
jekyll-feed (0.9.2)
101+
jekyll (~> 3.3)
102+
jekyll-gist (1.4.1)
103+
octokit (~> 4.2)
104+
jekyll-github-metadata (2.9.3)
105+
jekyll (~> 3.1)
106+
octokit (~> 4.0, != 4.4.0)
107+
jekyll-mentions (1.2.0)
108+
activesupport (~> 4.0)
109+
html-pipeline (~> 2.3)
110+
jekyll (~> 3.0)
111+
jekyll-optional-front-matter (0.2.0)
112+
jekyll (~> 3.0)
113+
jekyll-paginate (1.1.0)
114+
jekyll-readme-index (0.1.0)
115+
jekyll (~> 3.0)
116+
jekyll-redirect-from (0.12.1)
117+
jekyll (~> 3.3)
118+
jekyll-relative-links (0.5.0)
119+
jekyll (~> 3.3)
120+
jekyll-sass-converter (1.5.0)
121+
sass (~> 3.4)
122+
jekyll-seo-tag (2.3.0)
123+
jekyll (~> 3.3)
124+
jekyll-sitemap (1.1.1)
125+
jekyll (~> 3.3)
126+
jekyll-swiss (0.4.0)
127+
jekyll-task-i18n (1.0.2)
128+
gettext (>= 3.1.1)
129+
yard
130+
jekyll-theme-architect (0.1.0)
131+
jekyll (~> 3.5)
132+
jekyll-seo-tag (~> 2.0)
133+
jekyll-theme-cayman (0.1.0)
134+
jekyll (~> 3.5)
135+
jekyll-seo-tag (~> 2.0)
136+
jekyll-theme-dinky (0.1.0)
137+
jekyll (~> 3.5)
138+
jekyll-seo-tag (~> 2.0)
139+
jekyll-theme-hacker (0.1.0)
140+
jekyll (~> 3.5)
141+
jekyll-seo-tag (~> 2.0)
142+
jekyll-theme-leap-day (0.1.0)
143+
jekyll (~> 3.5)
144+
jekyll-seo-tag (~> 2.0)
145+
jekyll-theme-merlot (0.1.0)
146+
jekyll (~> 3.5)
147+
jekyll-seo-tag (~> 2.0)
148+
jekyll-theme-midnight (0.1.0)
149+
jekyll (~> 3.5)
150+
jekyll-seo-tag (~> 2.0)
151+
jekyll-theme-minimal (0.1.0)
152+
jekyll (~> 3.5)
153+
jekyll-seo-tag (~> 2.0)
154+
jekyll-theme-modernist (0.1.0)
155+
jekyll (~> 3.5)
156+
jekyll-seo-tag (~> 2.0)
157+
jekyll-theme-primer (0.5.2)
158+
jekyll (~> 3.5)
159+
jekyll-github-metadata (~> 2.9)
160+
jekyll-seo-tag (~> 2.2)
161+
jekyll-theme-slate (0.1.0)
162+
jekyll (~> 3.5)
163+
jekyll-seo-tag (~> 2.0)
164+
jekyll-theme-tactile (0.1.0)
165+
jekyll (~> 3.5)
166+
jekyll-seo-tag (~> 2.0)
167+
jekyll-theme-time-machine (0.1.0)
168+
jekyll (~> 3.5)
169+
jekyll-seo-tag (~> 2.0)
170+
jekyll-titles-from-headings (0.4.0)
171+
jekyll (~> 3.3)
172+
jekyll-watch (1.5.0)
173+
listen (~> 3.0, < 3.1)
174+
jemoji (0.8.1)
175+
activesupport (~> 4.0, >= 4.2.9)
176+
gemoji (~> 3.0)
177+
html-pipeline (~> 2.2)
178+
jekyll (>= 3.0)
179+
kramdown (1.14.0)
180+
liquid (4.0.0)
181+
listen (3.0.6)
182+
rb-fsevent (>= 0.9.3)
183+
rb-inotify (>= 0.9.7)
184+
locale (2.1.2)
185+
mercenary (0.3.6)
186+
minima (2.1.1)
187+
jekyll (~> 3.3)
188+
minitest (5.10.3)
189+
multipart-post (2.0.0)
190+
net-dns (0.8.0)
191+
nokogiri (1.8.1)
192+
octokit (4.7.0)
193+
sawyer (~> 0.8.0, >= 0.5.3)
194+
pathutil (0.16.0)
195+
forwardable-extended (~> 2.6)
196+
public_suffix (2.0.5)
197+
rake (12.2.1)
198+
rb-fsevent (0.10.2)
199+
rb-inotify (0.9.10)
200+
ffi (>= 0.5.0, < 2)
201+
rouge (2.2.1)
202+
safe_yaml (1.0.4)
203+
sass (3.5.3)
204+
sass-listen (~> 4.0.0)
205+
sass-listen (4.0.0)
206+
rb-fsevent (~> 0.9, >= 0.9.4)
207+
rb-inotify (~> 0.9, >= 0.9.7)
208+
sawyer (0.8.1)
209+
addressable (>= 2.3.5, < 2.6)
210+
faraday (~> 0.8, < 1.0)
211+
terminal-table (1.8.0)
212+
unicode-display_width (~> 1.1, >= 1.1.1)
213+
text (1.3.1)
214+
thread_safe (0.3.6)
215+
typhoeus (0.8.0)
216+
ethon (>= 0.8.0)
217+
tzinfo (1.2.4)
218+
thread_safe (~> 0.1)
219+
unicode-display_width (1.3.0)
220+
yard (0.9.9)
221+
222+
PLATFORMS
223+
ruby
224+
225+
DEPENDENCIES
226+
coderay
227+
github-pages
228+
jekyll-task-i18n
229+
kramdown
230+
rake
231+
yard
232+
233+
BUNDLED WITH
234+
1.15.1

docs/Rakefile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- ruby -*-
2+
3+
require "bundler/setup"
4+
require "jekyll/task/i18n"
5+
6+
Jekyll::Task::I18n.define do |task|
7+
task.locales = ["ja"]
8+
task.files = Rake::FileList["**/*.md"]
9+
task.files -= Rake::FileList["_*/**/*.md"]
10+
task.locales.each do |locale|
11+
task.files -= Rake::FileList["#{locale}/**/*.md"]
12+
end
13+
end
14+
15+
task :default => ["jekyll:i18n:translate"]

docs/_config.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
title: XMLua
2+
markdown: kramdown
3+
highlighter: rouge
4+
version: 1.0.0
5+
release_date: 2017-11-29
6+
copyright_year: 2017
7+
exclude:
8+
- "Rakefile"
9+
- "Gemfile"
10+
- "Gemfile.lock"
11+
description:
12+
en: Easy to use HTML and XML library for Lua
13+
ja: 使いやすいLua用のHTML・XML処理ライブラリー
14+
15+
kramdown:
16+
input: GFM
17+
smart_quotes: ["apos", "apos", "quot", "quot"]
18+
19+
sass:
20+
sass_dir: assets/stylesheets
21+
22+
defaults:
23+
- scope:
24+
path: "ja"
25+
values:
26+
path_prefix: /ja/
27+
layout: "base"
28+
language: ja
29+
country: JP
30+
- scope:
31+
path: ""
32+
values:
33+
path_prefix: /
34+
layout: "base"
35+
language: en
36+
country: US

docs/_includes/contribute.en.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<p class="contribute">
2+
{% assign source_path = page.path %}
3+
{% assign source_url = source_path | prepend: "https://github.com/clear-code/xmlua/blob/master/docs/" %}
4+
<a href="{{ source_url }}">If you find any typo, please feel free to send pull requests!</a>
5+
</p>

docs/_includes/contribute.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% case page.language %}
2+
{% when "ja" %}
3+
{% include contribute.ja.html %}
4+
{% else %}
5+
{% include contribute.en.html %}
6+
{% endcase %}

docs/_includes/contribute.ja.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<p class="contribute">
2+
{% assign source_path = page.path | prepend: "_po/" | replace_first: ".md", ".po" %}
3+
{% assign source_url = source_path | prepend: "https://github.com/clear-code/xmlua/blob/master/docs/" %}
4+
<a href="{{ source_url }}">誤字や誤訳、未訳を見つけたらお気軽にプルリクエストを送ってください!</a>
5+
</p>

docs/_includes/navbar-content.en.html

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<div class="navbar-header">
2+
<button type="button"
3+
class="navbar-toggle"
4+
data-toggle="collapse"
5+
data-target=".navbar-collapse">
6+
<span class="sr-only">Toggle navigation</span>
7+
<span class="icon-bar"></span>
8+
<span class="icon-bar"></span>
9+
<span class="icon-bar"></span>
10+
</button>
11+
<a class="navbar-brand" href="/">
12+
XMLua
13+
</a>
14+
</div>
15+
<div class="collapse navbar-collapse">
16+
<ul class="nav navbar-nav navbar-left">
17+
<li><a href="/news/">News</a></li>
18+
<li class="dropdown">
19+
<a class="dropdown-toggle"
20+
data-toggle="dropdown"
21+
role="button"
22+
aria-haspopup="true"
23+
aria-expanded="false">
24+
Documents <span class="caret"></span>
25+
</a>
26+
<ul class="dropdown-menu">
27+
<li><a href="/install/">Install</a></li>
28+
<li><a href="/tutorial/">Tutorial</a></li>
29+
<li><a href="/reference/">Reference manual</a></li>
30+
</ul>
31+
</li>
32+
</ul>
33+
<ul class="nav navbar-nav navbar-right">
34+
<li><a href="/ja/{{ relative_path }}">日本語</a></li>
35+
{% if page.upper_level != null %}
36+
<li><a href="{{ page.upper_level }}"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li>
37+
{% elsif relative_path != "" %}
38+
{% capture last_component %}{{ page.url | split:"/" | last }}{% endcapture %}
39+
{% if last_component == "index.html" %}
40+
{% assign upper_level = "../" %}
41+
{% else %}
42+
{% assign upper_level = "./" %}
43+
{% endif %}
44+
<li><a href="{{ upper_level }}"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li>
45+
{% endif %}
46+
<li>
47+
<a href="https://github.com/clear-code/xmlua"><i class="fa fa-github"></i> GitHub</a>
48+
</li>
49+
</ul>
50+
</div>

docs/_includes/navbar-content.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% case page.language %}
2+
{% when "ja" %}
3+
{% include navbar-content.ja.html %}
4+
{% else %}
5+
{% include navbar-content.en.html %}
6+
{% endcase %}

0 commit comments

Comments
 (0)