-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
134 changed files
with
16,278 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
((lua-mode . ((lua-indent-level . 2) | ||
(indent-tabs-mode . nil)))) | ||
(indent-tabs-mode . nil))) | ||
(css-mode . ((indent-tabs-mode . nil) | ||
(css-indent-offset . 2)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
.*.swp | ||
*.edit.po | ||
*.edit.po~ | ||
*.pot | ||
*.time_stamp | ||
/docs/.sass-cache/ | ||
/docs/_site/ | ||
/docs/_po/*.po |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "jekyll-task-i18n" | ||
gem "rake" | ||
gem "yard" | ||
gem "coderay" | ||
gem "github-pages" | ||
gem "kramdown" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,234 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activesupport (4.2.9) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.5.2) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
coderay (1.1.2) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.11.1) | ||
colorator (1.1.0) | ||
concurrent-ruby (1.0.5) | ||
ethon (0.11.0) | ||
ffi (>= 1.3.0) | ||
execjs (2.7.0) | ||
faraday (0.13.1) | ||
multipart-post (>= 1.2, < 3) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
gemoji (3.0.0) | ||
gettext (3.2.4) | ||
locale (>= 2.0.5) | ||
text (>= 1.3.0) | ||
github-pages (166) | ||
activesupport (= 4.2.9) | ||
github-pages-health-check (= 1.3.5) | ||
jekyll (= 3.6.2) | ||
jekyll-avatar (= 0.5.0) | ||
jekyll-coffeescript (= 1.0.2) | ||
jekyll-default-layout (= 0.1.4) | ||
jekyll-feed (= 0.9.2) | ||
jekyll-gist (= 1.4.1) | ||
jekyll-github-metadata (= 2.9.3) | ||
jekyll-mentions (= 1.2.0) | ||
jekyll-optional-front-matter (= 0.2.0) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-readme-index (= 0.1.0) | ||
jekyll-redirect-from (= 0.12.1) | ||
jekyll-relative-links (= 0.5.0) | ||
jekyll-sass-converter (= 1.5.0) | ||
jekyll-seo-tag (= 2.3.0) | ||
jekyll-sitemap (= 1.1.1) | ||
jekyll-swiss (= 0.4.0) | ||
jekyll-theme-architect (= 0.1.0) | ||
jekyll-theme-cayman (= 0.1.0) | ||
jekyll-theme-dinky (= 0.1.0) | ||
jekyll-theme-hacker (= 0.1.0) | ||
jekyll-theme-leap-day (= 0.1.0) | ||
jekyll-theme-merlot (= 0.1.0) | ||
jekyll-theme-midnight (= 0.1.0) | ||
jekyll-theme-minimal (= 0.1.0) | ||
jekyll-theme-modernist (= 0.1.0) | ||
jekyll-theme-primer (= 0.5.2) | ||
jekyll-theme-slate (= 0.1.0) | ||
jekyll-theme-tactile (= 0.1.0) | ||
jekyll-theme-time-machine (= 0.1.0) | ||
jekyll-titles-from-headings (= 0.4.0) | ||
jemoji (= 0.8.1) | ||
kramdown (= 1.14.0) | ||
liquid (= 4.0.0) | ||
listen (= 3.0.6) | ||
mercenary (~> 0.3) | ||
minima (= 2.1.1) | ||
rouge (= 2.2.1) | ||
terminal-table (~> 1.4) | ||
github-pages-health-check (1.3.5) | ||
addressable (~> 2.3) | ||
net-dns (~> 0.8) | ||
octokit (~> 4.0) | ||
public_suffix (~> 2.0) | ||
typhoeus (~> 0.7) | ||
html-pipeline (2.7.1) | ||
activesupport (>= 2) | ||
nokogiri (>= 1.4) | ||
i18n (0.9.0) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (3.6.2) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.14) | ||
liquid (~> 4.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (>= 1.7, < 3) | ||
safe_yaml (~> 1.0) | ||
jekyll-avatar (0.5.0) | ||
jekyll (~> 3.0) | ||
jekyll-coffeescript (1.0.2) | ||
coffee-script (~> 2.2) | ||
coffee-script-source (~> 1.11.1) | ||
jekyll-default-layout (0.1.4) | ||
jekyll (~> 3.0) | ||
jekyll-feed (0.9.2) | ||
jekyll (~> 3.3) | ||
jekyll-gist (1.4.1) | ||
octokit (~> 4.2) | ||
jekyll-github-metadata (2.9.3) | ||
jekyll (~> 3.1) | ||
octokit (~> 4.0, != 4.4.0) | ||
jekyll-mentions (1.2.0) | ||
activesupport (~> 4.0) | ||
html-pipeline (~> 2.3) | ||
jekyll (~> 3.0) | ||
jekyll-optional-front-matter (0.2.0) | ||
jekyll (~> 3.0) | ||
jekyll-paginate (1.1.0) | ||
jekyll-readme-index (0.1.0) | ||
jekyll (~> 3.0) | ||
jekyll-redirect-from (0.12.1) | ||
jekyll (~> 3.3) | ||
jekyll-relative-links (0.5.0) | ||
jekyll (~> 3.3) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-seo-tag (2.3.0) | ||
jekyll (~> 3.3) | ||
jekyll-sitemap (1.1.1) | ||
jekyll (~> 3.3) | ||
jekyll-swiss (0.4.0) | ||
jekyll-task-i18n (1.0.2) | ||
gettext (>= 3.1.1) | ||
yard | ||
jekyll-theme-architect (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-cayman (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-dinky (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-hacker (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-leap-day (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-merlot (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-midnight (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-minimal (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-modernist (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-primer (0.5.2) | ||
jekyll (~> 3.5) | ||
jekyll-github-metadata (~> 2.9) | ||
jekyll-seo-tag (~> 2.2) | ||
jekyll-theme-slate (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-tactile (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-theme-time-machine (0.1.0) | ||
jekyll (~> 3.5) | ||
jekyll-seo-tag (~> 2.0) | ||
jekyll-titles-from-headings (0.4.0) | ||
jekyll (~> 3.3) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
jemoji (0.8.1) | ||
activesupport (~> 4.0, >= 4.2.9) | ||
gemoji (~> 3.0) | ||
html-pipeline (~> 2.2) | ||
jekyll (>= 3.0) | ||
kramdown (1.14.0) | ||
liquid (4.0.0) | ||
listen (3.0.6) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9.7) | ||
locale (2.1.2) | ||
mercenary (0.3.6) | ||
minima (2.1.1) | ||
jekyll (~> 3.3) | ||
minitest (5.10.3) | ||
multipart-post (2.0.0) | ||
net-dns (0.8.0) | ||
nokogiri (1.8.1) | ||
octokit (4.7.0) | ||
sawyer (~> 0.8.0, >= 0.5.3) | ||
pathutil (0.16.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (2.0.5) | ||
rake (12.2.1) | ||
rb-fsevent (0.10.2) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
rouge (2.2.1) | ||
safe_yaml (1.0.4) | ||
sass (3.5.3) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
sawyer (0.8.1) | ||
addressable (>= 2.3.5, < 2.6) | ||
faraday (~> 0.8, < 1.0) | ||
terminal-table (1.8.0) | ||
unicode-display_width (~> 1.1, >= 1.1.1) | ||
text (1.3.1) | ||
thread_safe (0.3.6) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.4) | ||
thread_safe (~> 0.1) | ||
unicode-display_width (1.3.0) | ||
yard (0.9.9) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
coderay | ||
github-pages | ||
jekyll-task-i18n | ||
kramdown | ||
rake | ||
yard | ||
|
||
BUNDLED WITH | ||
1.15.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- ruby -*- | ||
|
||
require "bundler/setup" | ||
require "jekyll/task/i18n" | ||
|
||
Jekyll::Task::I18n.define do |task| | ||
task.locales = ["ja"] | ||
task.files = Rake::FileList["**/*.md"] | ||
task.files -= Rake::FileList["_*/**/*.md"] | ||
task.locales.each do |locale| | ||
task.files -= Rake::FileList["#{locale}/**/*.md"] | ||
end | ||
end | ||
|
||
task :default => ["jekyll:i18n:translate"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
title: XMLua | ||
markdown: kramdown | ||
highlighter: rouge | ||
version: 1.0.0 | ||
release_date: 2017-11-29 | ||
copyright_year: 2017 | ||
exclude: | ||
- "Rakefile" | ||
- "Gemfile" | ||
- "Gemfile.lock" | ||
description: | ||
en: Easy to use HTML and XML library for Lua | ||
ja: 使いやすいLua用のHTML・XML処理ライブラリー | ||
|
||
kramdown: | ||
input: GFM | ||
smart_quotes: ["apos", "apos", "quot", "quot"] | ||
|
||
sass: | ||
sass_dir: assets/stylesheets | ||
|
||
defaults: | ||
- scope: | ||
path: "ja" | ||
values: | ||
path_prefix: /ja/ | ||
layout: "base" | ||
language: ja | ||
country: JP | ||
- scope: | ||
path: "" | ||
values: | ||
path_prefix: / | ||
layout: "base" | ||
language: en | ||
country: US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<p class="contribute"> | ||
{% assign source_path = page.path %} | ||
{% assign source_url = source_path | prepend: "https://github.com/clear-code/xmlua/blob/master/docs/" %} | ||
<a href="{{ source_url }}">If you find any typo, please feel free to send pull requests!</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% case page.language %} | ||
{% when "ja" %} | ||
{% include contribute.ja.html %} | ||
{% else %} | ||
{% include contribute.en.html %} | ||
{% endcase %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<p class="contribute"> | ||
{% assign source_path = page.path | prepend: "_po/" | replace_first: ".md", ".po" %} | ||
{% assign source_url = source_path | prepend: "https://github.com/clear-code/xmlua/blob/master/docs/" %} | ||
<a href="{{ source_url }}">誤字や誤訳、未訳を見つけたらお気軽にプルリクエストを送ってください!</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<div class="navbar-header"> | ||
<button type="button" | ||
class="navbar-toggle" | ||
data-toggle="collapse" | ||
data-target=".navbar-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="/"> | ||
XMLua | ||
</a> | ||
</div> | ||
<div class="collapse navbar-collapse"> | ||
<ul class="nav navbar-nav navbar-left"> | ||
<li><a href="/news/">News</a></li> | ||
<li class="dropdown"> | ||
<a class="dropdown-toggle" | ||
data-toggle="dropdown" | ||
role="button" | ||
aria-haspopup="true" | ||
aria-expanded="false"> | ||
Documents <span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="/install/">Install</a></li> | ||
<li><a href="/tutorial/">Tutorial</a></li> | ||
<li><a href="/reference/">Reference manual</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="/ja/{{ relative_path }}">日本語</a></li> | ||
{% if page.upper_level != null %} | ||
<li><a href="{{ page.upper_level }}"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li> | ||
{% elsif relative_path != "" %} | ||
{% capture last_component %}{{ page.url | split:"/" | last }}{% endcapture %} | ||
{% if last_component == "index.html" %} | ||
{% assign upper_level = "../" %} | ||
{% else %} | ||
{% assign upper_level = "./" %} | ||
{% endif %} | ||
<li><a href="{{ upper_level }}"><i class="fa fa-arrow-circle-up"></i> Up one level</a></li> | ||
{% endif %} | ||
<li> | ||
<a href="https://github.com/clear-code/xmlua"><i class="fa fa-github"></i> GitHub</a> | ||
</li> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% case page.language %} | ||
{% when "ja" %} | ||
{% include navbar-content.ja.html %} | ||
{% else %} | ||
{% include navbar-content.en.html %} | ||
{% endcase %} |
Oops, something went wrong.