雑多な変更
parent
3e6111ddad
commit
f6acb83b1a
|
@ -0,0 +1,6 @@
|
|||
_site
|
||||
.sass-cache
|
||||
.jekyll-metadata
|
||||
.bundle
|
||||
vendor
|
||||
Gemfile.lock
|
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'github-pages', group: :jekyll_plugins
|
67
_config.yml
67
_config.yml
|
@ -1,3 +1,5 @@
|
|||
### サイト設定 ###
|
||||
|
||||
title: "Minetest JP Wiki"
|
||||
description: ""
|
||||
google_site_verification: "SzmyhmFa1r6eafWLqLct1hOKj-Awxn0JH8r0U4PUCyc"
|
||||
|
@ -6,43 +8,49 @@ logo: "images/icon.png"
|
|||
author: "Minetest-JP Team"
|
||||
publisher: "Minetest-JP Team"
|
||||
|
||||
### Minetest関連 ###
|
||||
|
||||
# Wiki内で使用
|
||||
minetest:
|
||||
# Minetestの最新バージョン
|
||||
# Windowsのダウンロードリンクもこれに依存します
|
||||
latest_version: "0.4.17"
|
||||
|
||||
### Wiki設定 ###
|
||||
|
||||
minetest:
|
||||
# Minetestの最新バージョン
|
||||
# Windowsのダウンロードリンクもこれに依存します
|
||||
latest_version: "0.4.17.1"
|
||||
|
||||
wiki:
|
||||
# Wikiのタイトル
|
||||
# TODO: site.titleを使用する
|
||||
title: "Minetest JP Wiki"
|
||||
# 画像フォルダのパス
|
||||
images_dir: "images"
|
||||
# テーマカラー
|
||||
# モバイル版Chromeのタブ色に使用される
|
||||
theme_color: "#f2f2f2"
|
||||
|
||||
### レイアウト関連 ###
|
||||
|
||||
# デスクトップ判定
|
||||
media-desktop: "all and (min-width: 768px)"
|
||||
|
||||
# モバイル端末判定
|
||||
media-mobile: "not all and (min-width: 768px)"
|
||||
|
||||
### Jekyll設定 ###
|
||||
|
||||
# ページ用Markdownのパス
|
||||
source: "wiki"
|
||||
### Jekyllの設定 ###
|
||||
|
||||
# Jekyllから除外するファイル
|
||||
exclude: ["README.md", "CONTRIBUTING.md", "images/LICENSE.txt", "vendor"]
|
||||
|
||||
# Markdownパーサ
|
||||
markdown: "kramdown"
|
||||
# Jekyllから除外するファイル
|
||||
exclude: ["README.md", "CONTRIBUTING.md", "images/LICENSE.txt"]
|
||||
|
||||
### ページのデフォルト設定 ###
|
||||
kramdown:
|
||||
# Markdownの書式はGithubスタイル
|
||||
input: "GFM"
|
||||
# HTMLコードをそのまま出力
|
||||
html_to_native: true
|
||||
# "#"を<h2>相当にする
|
||||
header_offset: 1
|
||||
|
||||
sass:
|
||||
style: "compressed"
|
||||
|
||||
compress_html:
|
||||
comments: all
|
||||
|
||||
defaults:
|
||||
-
|
||||
|
@ -64,27 +72,6 @@ defaults:
|
|||
width: 600
|
||||
height: 603
|
||||
|
||||
### SASS(SCSS)設定 ###
|
||||
|
||||
sass:
|
||||
# CSS生成スタイル
|
||||
# 圧縮する
|
||||
style: "compressed"
|
||||
|
||||
### Kramdownの設定 ###
|
||||
|
||||
kramdown:
|
||||
# Markdownの書式
|
||||
# Githubスタイルの書式を設定
|
||||
input: "GFM"
|
||||
# HTMLコードをそのまま出力
|
||||
html_to_native: true
|
||||
# "#"を<h2>相当にする
|
||||
header_offset: 1
|
||||
|
||||
### プラグイン ###
|
||||
|
||||
plugins:
|
||||
- "jekyll-seo-tag"
|
||||
# サイトマップ生成
|
||||
- "jekyll-sitemap"
|
||||
- "jekyll-sitemap" # サイトマップ生成
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
name: "Minetestmapper"
|
||||
author: "Celeron55"
|
||||
description: "Pythonが必要。色指定ファイルと併せて使う。"
|
||||
links:
|
||||
-
|
||||
text: "スクリプト"
|
||||
url: "https://raw.githubusercontent.com/minetest/minetest/master/util/minetestmapper.py"
|
||||
-
|
||||
text: "色指定ファイル"
|
||||
url: "https://github.com/rubenwardy/NodeBoxEditor/releases"
|
|
@ -1,10 +1,10 @@
|
|||
name: "Minetest Mapper C++"
|
||||
author: "Minetest開発チーム"
|
||||
description: "MinetestmapperをC++に移植したバージョン。コンパイルが必要。"
|
||||
description: "C++で実装されたワールドのマップ画像生成ツールです。コマンドライン上で利用します。<br><code class=\"highlighter-rouge\">minetestmapper(Windowsの場合はminetestmapper.exe) -i ワールドのパス -o 画像ファイル名</code>と実行することで指定したワールドのマップ画像を作成できます。<br><code class=\"highlighter-rouge\">minetestmapper --help</code>と実行するか、<a href=\"https://github.com/minetest/minetestmapper#parameters\">https://github.com/minetest/minetestmapper#parameters</a>からその他のオプションを見ることができます。"
|
||||
links:
|
||||
-
|
||||
text: "フォーラム"
|
||||
url: "https://forum.minetest.net/viewtopic.php?t=2896"
|
||||
-
|
||||
text: "Github"
|
||||
url: "https://github.com/minetest/minetestmapper"
|
||||
-
|
||||
text: "ダウンロード"
|
||||
url: "https://github.com/minetest/minetestmapper/releases"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: "Minetest Mapper GUI"
|
||||
author: "addi"
|
||||
screenshot: "/tools-mapper/minetestmapper_gui.png"
|
||||
description: "Minetest Mapper C++のGUIフロントエンド。"
|
||||
description: "Minetest Mapper C++のGUIバージョンです。"
|
||||
platform: "Windows"
|
||||
links:
|
||||
-
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
name: "numpy-izing minetestmapper"
|
||||
author: "spillz"
|
||||
description: "Minetestmapperの改良版。PythonとNumPyが必要。色指定ファイルと併せて使う。"
|
||||
links:
|
||||
-
|
||||
text: "フォーラム"
|
||||
url: "https://forum.minetest.net/viewtopic.php?t=8730"
|
||||
-
|
||||
text: "スクリプト"
|
||||
url: "https://raw.githubusercontent.com/spillz/minetest/master/util/minetestmapper-numpy.py"
|
||||
-
|
||||
text: "色指定ファイル"
|
||||
url: "https://raw.githubusercontent.com/minetest/minetest/master/util/colors.txt"
|
|
@ -1,31 +1,26 @@
|
|||
{% comment %}
|
||||
引数: なし (assignされたdata変数を参照)
|
||||
{% endcomment %}
|
||||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
|
||||
{% comment %}
|
||||
空のリストを作成
|
||||
{% endcomment %}
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
||||
{% comment %}
|
||||
製作者
|
||||
{% endcomment %}
|
||||
<!-- 製作者 -->
|
||||
{% if data.author %}
|
||||
{% assign author = "" | split: "|" %}
|
||||
{% assign author = author | push: "製作者" %}
|
||||
{% assign author = author | push: data.author %}
|
||||
{% assign details = details | push: author %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
説明
|
||||
{% endcomment %}
|
||||
<!-- 説明 -->
|
||||
{% if data.description %}
|
||||
{% assign description = "" | split: "|" %}
|
||||
{% assign description = description | push: "説明" %}
|
||||
{% assign description = description | push: data.description %}
|
||||
{% assign details = details | push: description %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
リンク
|
||||
{% endcomment %}
|
||||
<!-- リンク -->
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
{% for link_data in data.links %}
|
||||
|
@ -40,10 +35,5 @@
|
|||
{% assign details = details | push: links %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
テンプレートをインクルード
|
||||
{% endcomment %}
|
||||
{% include details.md
|
||||
screenshot = data.screenshot
|
||||
details = details
|
||||
%}
|
||||
<!-- テンプレートをインクルード -->
|
||||
{% include details.md screenshot=data.screenshot details=details %}
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
{% comment %}
|
||||
引数: なし (assignされたdata変数を参照)
|
||||
{% endcomment %}
|
||||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
|
||||
{% comment %}
|
||||
空のリストを作成
|
||||
{% endcomment %}
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
||||
{% comment %}
|
||||
依存Mod
|
||||
{% endcomment %}
|
||||
<!-- 依存Mod -->
|
||||
{% if data.depends %}
|
||||
{% capture depend_list %}
|
||||
{% for depend in data.depends %}
|
||||
|
@ -27,9 +22,7 @@
|
|||
{% assign details = details | push: depends %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
対応・連携可能Mod
|
||||
{% endcomment %}
|
||||
<!-- 対応・連携可能Mod -->
|
||||
{% if data.depends-optional %}
|
||||
{% capture optionally_depend_list %}
|
||||
{% for depend in data.depends-optional %}
|
||||
|
@ -47,25 +40,23 @@
|
|||
{% assign details = details | push: depends_optional %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
開発者
|
||||
{% endcomment %}
|
||||
<!-- 開発者 -->
|
||||
{% if data.author %}
|
||||
{% assign author = "" | split: "|" %}
|
||||
{% assign author = author | push: "開発者" %}
|
||||
{% assign author = author | push: data.author %}
|
||||
{% assign details = details | push: author %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
説明
|
||||
{% endcomment %}
|
||||
<!-- 説明 -->
|
||||
{% if data.description %}
|
||||
{% assign description = "" | split: "|" %}
|
||||
{% assign description = description | push: "説明" %}
|
||||
{% assign description = description | push: data.description %}
|
||||
{% assign details = details | push: description %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
リンク
|
||||
{% endcomment %}
|
||||
<!-- リンク -->
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
{% for link_data in data.links %}
|
||||
|
@ -80,10 +71,5 @@
|
|||
{% assign details = details | push: links %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
テンプレートをインクルード
|
||||
{% endcomment %}
|
||||
{% include details.md
|
||||
screenshot = data.screenshot
|
||||
details = details
|
||||
%}
|
||||
<!-- テンプレートをインクルード -->
|
||||
{% include details.md screenshot=data.screenshot details=details %}
|
||||
|
|
|
@ -1,31 +1,26 @@
|
|||
{% comment %}
|
||||
引数: なし (assignされたdata変数を参照)
|
||||
{% endcomment %}
|
||||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
|
||||
{% comment %}
|
||||
空のリストを作成
|
||||
{% endcomment %}
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
||||
{% comment %}
|
||||
開発者
|
||||
{% endcomment %}
|
||||
<!-- 開発者 -->
|
||||
{% if data.author %}
|
||||
{% assign author = "" | split: "|" %}
|
||||
{% assign author = author | push: "開発者" %}
|
||||
{% assign author = author | push: data.author %}
|
||||
{% assign details = details | push: author %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
説明
|
||||
{% endcomment %}
|
||||
<!-- 説明 -->
|
||||
{% if data.description %}
|
||||
{% assign description = "" | split: "|" %}
|
||||
{% assign description = description | push: "説明" %}
|
||||
{% assign description = description | push: data.description %}
|
||||
{% assign details = details | push: description %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
リンク
|
||||
{% endcomment %}
|
||||
<!-- リンク -->
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
{% for link_data in data.links %}
|
||||
|
@ -40,10 +35,5 @@
|
|||
{% assign details = details | push: links %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
テンプレートをインクルード
|
||||
{% endcomment %}
|
||||
{% include details.md
|
||||
screenshot = data.screenshot
|
||||
details = details
|
||||
%}
|
||||
<!-- テンプレートをインクルード -->
|
||||
{% include details.md screenshot=data.screenshot details=details %}
|
||||
|
|
|
@ -1,31 +1,26 @@
|
|||
{% comment %}
|
||||
引数: なし (assignされたdata変数を参照)
|
||||
{% endcomment %}
|
||||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
|
||||
{% comment %}
|
||||
空のリストを作成
|
||||
{% endcomment %}
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
||||
{% comment %}
|
||||
製作者
|
||||
{% endcomment %}
|
||||
<!-- 製作者 -->
|
||||
{% if data.author %}
|
||||
{% assign author = "" | split: "|" %}
|
||||
{% assign author = author | push: "製作者" %}
|
||||
{% assign author = author | push: data.author %}
|
||||
{% assign details = details | push: author %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
説明
|
||||
{% endcomment %}
|
||||
<!-- 説明 -->
|
||||
{% if data.description %}
|
||||
{% assign description = "" | split: "|" %}
|
||||
{% assign description = description | push: "説明" %}
|
||||
{% assign description = description | push: data.description %}
|
||||
{% assign details = details | push: description %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
リンク
|
||||
{% endcomment %}
|
||||
<!-- リンク -->
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
{% for link_data in data.links %}
|
||||
|
@ -40,10 +35,5 @@
|
|||
{% assign details = details | push: links %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
テンプレートをインクルード
|
||||
{% endcomment %}
|
||||
{% include details.md
|
||||
screenshot = data.screenshot
|
||||
details = details
|
||||
%}
|
||||
<!-- テンプレートをインクルード -->
|
||||
{% include details.md screenshot=data.screenshot details=details %}
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
{% comment %}
|
||||
引数: なし (assignされたdata変数を参照)
|
||||
{% endcomment %}
|
||||
<!-- 渡されてきたデータ -->
|
||||
{% assign data = include.list[include.key] %}
|
||||
|
||||
{% comment %}
|
||||
空のリストを作成
|
||||
{% endcomment %}
|
||||
<!-- 空のリストを作成 -->
|
||||
{% assign details = "" | split: "|" %}
|
||||
|
||||
{% comment %}
|
||||
プラットフォーム
|
||||
{% endcomment %}
|
||||
<!-- プラットフォーム -->
|
||||
{% if data.platform %}
|
||||
{% assign platform = "" | split: "|" %}
|
||||
{% assign platform = platform | push: "プラットフォーム" %}
|
||||
|
@ -17,25 +12,23 @@
|
|||
{% assign details = details | push: platform %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
開発者
|
||||
{% endcomment %}
|
||||
<!-- 開発者 -->
|
||||
{% if data.author %}
|
||||
{% assign author = "" | split: "|" %}
|
||||
{% assign author = author | push: "開発者" %}
|
||||
{% assign author = author | push: data.author %}
|
||||
{% assign details = details | push: author %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
説明
|
||||
{% endcomment %}
|
||||
<!-- 説明 -->
|
||||
{% if data.description %}
|
||||
{% assign description = "" | split: "|" %}
|
||||
{% assign description = description | push: "説明" %}
|
||||
{% assign description = description | push: data.description %}
|
||||
{% assign details = details | push: description %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
リンク
|
||||
{% endcomment %}
|
||||
<!-- リンク -->
|
||||
{% if data.links %}
|
||||
{% capture link_list %}
|
||||
{% for link_data in data.links %}
|
||||
|
@ -50,10 +43,5 @@
|
|||
{% assign details = details | push: links %}
|
||||
{% endif %}
|
||||
|
||||
{% comment %}
|
||||
テンプレートをインクルード
|
||||
{% endcomment %}
|
||||
{% include details.md
|
||||
screenshot = data.screenshot
|
||||
details = details
|
||||
%}
|
||||
<!-- テンプレートをインクルード -->
|
||||
{% include details.md screenshot=data.screenshot details=details %}
|
||||
|
|
|
@ -7,47 +7,20 @@
|
|||
name: データ名
|
||||
{% endcomment %}
|
||||
|
||||
{% comment %}
|
||||
アンカー名でソートする
|
||||
{% endcomment %}
|
||||
|
||||
{% comment %}
|
||||
全てのアンカー名を一つの文字列にする
|
||||
{% endcomment %}
|
||||
{% capture keys %}
|
||||
{% for data in include.list %}
|
||||
{{ data[0] }}
|
||||
{% endfor %}
|
||||
<!-- 全アンカー名をスペース区切りで結合 -->
|
||||
{% capture anchors %}
|
||||
{% for data in include.list %} {{ data[0] }} {% endfor %}
|
||||
{% endcapture %}
|
||||
|
||||
{% comment %}
|
||||
アンカー名を空白で区切ってソートする
|
||||
{% endcomment %}
|
||||
{% assign sorted_keys = (keys | split: " " | sort) %}
|
||||
<!-- anchorsを空白で区切ってソート -->
|
||||
{% assign sorted-anchors = anchors | split: " " | sort %}
|
||||
|
||||
{% comment %}
|
||||
使用するテンプレートファイル名
|
||||
{% endcomment %}
|
||||
{% capture template %}details-{{ include.type }}.md{% endcapture %}
|
||||
<!-- detailsタイプからテンプレートファイル名を作成 -->
|
||||
{% capture template-name %}details-{{ include.type }}.md{% endcapture %}
|
||||
|
||||
{% comment %}
|
||||
ソートしたアンカーリストでFor実行
|
||||
{% endcomment %}
|
||||
{% for key in sorted_keys %}
|
||||
{% comment %}
|
||||
assignした変数はinclude先でも参照できる
|
||||
アンカー名で参照
|
||||
{% endcomment %}
|
||||
{% assign data = include.list[key] %}
|
||||
|
||||
{% comment %}
|
||||
Markdownはインデント不可
|
||||
{% endcomment %}
|
||||
# {{ data.name }} {#{{ key }}}
|
||||
|
||||
{% comment %}
|
||||
テンプレートを表示
|
||||
同じくインデント不可
|
||||
{% endcomment %}
|
||||
{% include {{ template }} %}
|
||||
<!-- ソートしたアンカー順でリスト展開 -->
|
||||
<!-- NOTE: Markdownはインデントできないのでforの中身はインデントなし -->
|
||||
{% for anchor in sorted-anchors %}
|
||||
# {{ include.list[anchor].name }} {#{{ anchor }}}
|
||||
{% include {{ template-name }} list=include.list key=anchor %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -69,6 +69,4 @@
|
|||
|
||||
# 更新履歴
|
||||
|
||||
{% include update-history.md
|
||||
limit = 10
|
||||
%}
|
||||
{% include update-history.md limit=10 %}
|
||||
|
|
|
@ -18,7 +18,7 @@ $background: url({{ site.github.url }}/images/background.png);
|
|||
$font-color: #333;
|
||||
$font-family: "Hiragino Kaku Gothic ProN", "Helvetica Neue", "meiryo", "arial", "sans-serif";
|
||||
$font-size: 18px;
|
||||
$font-size-mobile: 16px;
|
||||
$font-size-mobile: 14px;
|
||||
$letter-spacing: 0.005em;
|
||||
$line-height: 1.5;
|
||||
$selection-background: #659b4b;
|
||||
|
@ -26,9 +26,9 @@ $selection-font-color: #fff;
|
|||
|
||||
// コンテナ
|
||||
$container-box-shadow: 0 0 10px 0 #ddd;
|
||||
$container-columns: 25% 75%;
|
||||
$container-columns: 80% 20%;
|
||||
$container-padding-top-mobile: 1em;
|
||||
$container-max-width: 1024px;
|
||||
$container-max-width: 1280px;
|
||||
|
||||
// ヘッダ
|
||||
$header-background: #f2f2f2;
|
||||
|
@ -37,8 +37,10 @@ $header-link-color: #694;
|
|||
$header-mobile-box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
|
||||
$header-img-vertical-adjustment: -.4em;
|
||||
|
||||
// 本文 (左メニュー含む)
|
||||
// 本文 (右メニュー含む)
|
||||
$article-background: #fff;
|
||||
$article-padding: 0 1em 1em 1em;
|
||||
$article-padding-mobile: 0 0.5em 1em 0.5em;
|
||||
$article-link-color: #588f3d;
|
||||
$article-link-color-visited: #456336;
|
||||
|
||||
|
@ -71,10 +73,6 @@ $toc-border-radius: 10px;
|
|||
$footer-background: #333;
|
||||
$footer-text-color: #fff;
|
||||
|
||||
// モバイルメニュー
|
||||
$mobile-menu-background: #555;
|
||||
$mobile-menu-text-color: #fff;
|
||||
|
||||
// Modなどのスクリーンショット
|
||||
$screenshot-max-height: 250px;
|
||||
$screenshot-max-width: 500px;
|
||||
|
@ -87,7 +85,6 @@ $screenshot-max-width: 500px;
|
|||
@import "header";
|
||||
@import "article";
|
||||
@import "footer";
|
||||
@import "mobile";
|
||||
|
||||
@import "toc";
|
||||
@import "screenshot";
|
||||
|
|
|
@ -4,14 +4,14 @@ layout: compress
|
|||
|
||||
{% comment %}サイドメニューのMarkdownを読み込み、HTMLに変換{% endcomment %}
|
||||
{% capture menu_markdown %}{% include menu.md %}{% endcapture %}
|
||||
{% assign menu = (menu_markdown | markdownify) %}
|
||||
{% assign menu = menu_markdown | markdownify %}
|
||||
|
||||
{% comment %}SCSSを読み込み、CSSに変換{% endcomment %}
|
||||
{% capture style_scss %}{% include style.scss %}{{ page.custom-style }}{% endcapture %}
|
||||
{% assign style = (style_scss | scssify) %}
|
||||
{% assign style = style_scss | scssify %}
|
||||
|
||||
{% comment %}アイコンのURL{% endcomment %}
|
||||
{% assign icon_url = (site.github.url | append: "/images/icon.png") %}
|
||||
{% assign icon_url = site.github.url | append: "/images/icon.png" %}
|
||||
|
||||
{% capture amp-boilerplate %}
|
||||
body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}
|
||||
|
@ -32,8 +32,6 @@ body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:non
|
|||
<link rel="apple-touch-icon" href="{{ icon_url }}">
|
||||
|
||||
<script async src="https://cdn.ampproject.org/v0.js"></script>
|
||||
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
|
||||
|
||||
<style amp-custom>{{ style }}</style>
|
||||
<style amp-boilerplate>{{ amp-boilerplate }}</style>
|
||||
<noscript>
|
||||
|
@ -48,34 +46,30 @@ body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:non
|
|||
{% comment %}コンテナ{% endcomment %}
|
||||
<div id="container">
|
||||
{% comment %}ヘッダ{% endcomment %}
|
||||
<header>
|
||||
<header class="header">
|
||||
{% comment %}Wikiタイトル{% endcomment %}
|
||||
<a href="{{ site.github.url }}">
|
||||
<a class="header-title" href="{{ site.github.url }}">
|
||||
<amp-img
|
||||
class = "header-icon"
|
||||
height = "2em"
|
||||
width = "2em"
|
||||
alt = ""
|
||||
src = "{{ site.github.url }}/images/icon.svg">
|
||||
</amp-img>
|
||||
{{ site.wiki.title }}
|
||||
{{ site.title }}
|
||||
</a>
|
||||
{% comment %}モバイルメニュー表示ボタン{% endcomment %}
|
||||
<button on="tap:sidebar.open">
|
||||
<a class="header-menu" href="#footer-menu">
|
||||
<amp-img
|
||||
class = "header-icon"
|
||||
height = "2em"
|
||||
width = "2em"
|
||||
alt = "メニュー"
|
||||
src = "{{ site.github.url }}/images/menu.svg">
|
||||
</amp-img>
|
||||
</button>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
{% comment %}左メニュー{% endcomment %}
|
||||
<nav id="menu" class="article">
|
||||
<h1 class="title">メニュー</h1>
|
||||
<div class="body">{{ menu }}</div>
|
||||
</nav>
|
||||
|
||||
{% comment %}本文{% endcomment %}
|
||||
<article id="content" class="article">
|
||||
<h1 class="title">
|
||||
|
@ -94,23 +88,17 @@ body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:non
|
|||
<div class="body">{{ content }}</div>
|
||||
</article>
|
||||
|
||||
{% comment %}右メニュー{% endcomment %}
|
||||
<nav id="menu" class="article">
|
||||
<h1 class="title">メニュー</h1>
|
||||
<div class="body">{{ menu }}</div>
|
||||
</nav>
|
||||
|
||||
{% comment %}フッタ{% endcomment %}
|
||||
<footer>
|
||||
<div id="footer-menu" class="menu">{{ menu }}</div>
|
||||
© {{ site.time | date: "%Y" }} <a href="https://minetest-jp.github.io">Minetest-JP Team</a>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{% comment %}モバイルメニュー{% endcomment %}
|
||||
<amp-sidebar id="sidebar" side="left" layout="nodisplay">
|
||||
<button on="tap:sidebar.close">
|
||||
<amp-img
|
||||
height = "2em"
|
||||
width = "2em"
|
||||
alt = "閉じる"
|
||||
src="{{ site.github.url }}/images/menu_close.svg">
|
||||
</amp-img>
|
||||
</button>
|
||||
{{ menu }}
|
||||
</amp-sidebar>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
// 本文
|
||||
.article {
|
||||
background: $article-background;
|
||||
padding: 0 1em 1em 1em;
|
||||
padding: $article-padding;
|
||||
word-break: break-word;
|
||||
|
||||
@include media-mobile {
|
||||
padding: $article-padding-mobile;
|
||||
|
||||
$top-padding: calc(#{$header-height} - #{$font-size-mobile});
|
||||
$top-padding-minus: calc(#{$top-padding} * -1);
|
||||
|
||||
|
@ -115,8 +118,9 @@
|
|||
color: $article-code-color;
|
||||
font-family: $article-code-font-family;
|
||||
|
||||
line-height: initial;
|
||||
line-height: 2;
|
||||
overflow: auto;
|
||||
padding: 0 0.5em;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
|
|
@ -1,62 +1,64 @@
|
|||
// コンテナ
|
||||
#container {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
display: -ms-grid;
|
||||
-ms-grid-rows: auto 1fr auto;
|
||||
|
||||
header {
|
||||
grid-row: 1 / 2;
|
||||
-ms-grid-row: 1;
|
||||
}
|
||||
|
||||
#content {
|
||||
grid-row: 2 / 3;
|
||||
-ms-grid-row: 2;
|
||||
}
|
||||
|
||||
#menu {
|
||||
grid-row: 2 / 3;
|
||||
-ms-grid-row: 2;
|
||||
}
|
||||
|
||||
footer {
|
||||
grid-row: 3 / 4;
|
||||
-ms-grid-row: 3;
|
||||
}
|
||||
|
||||
@include media-desktop {
|
||||
border-left: $border-default;
|
||||
border-right: $border-default;
|
||||
box-shadow: $container-box-shadow;
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: $container-columns;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
// IE11 ~
|
||||
display: -ms-grid;
|
||||
-ms-grid-columns: $container-columns;
|
||||
-ms-grid-rows: auto 1fr auto;
|
||||
// ~ IE11
|
||||
max-width: $container-max-width;
|
||||
|
||||
margin: 0 auto;
|
||||
min-height: 100vh;
|
||||
max-width: $container-max-width;
|
||||
|
||||
header {
|
||||
border-bottom: $border-default;
|
||||
grid-column: 1 / 3;
|
||||
grid-row: 1 / 2;
|
||||
// IE11 ~
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
-ms-grid-row: 1;
|
||||
// ~ IE11
|
||||
}
|
||||
|
||||
#menu {
|
||||
border-right: $border-default;
|
||||
grid-column: 1 / 2;
|
||||
grid-row: 2 / 3;
|
||||
// IE11 ~
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-row: 2;
|
||||
// ~ IE11
|
||||
}
|
||||
|
||||
#content {
|
||||
grid-column: 1 / 2;
|
||||
-ms-grid-column: 1;
|
||||
}
|
||||
|
||||
#menu {
|
||||
border-left: $border-default;
|
||||
grid-column: 2 / 3;
|
||||
grid-row: 2 / 3;
|
||||
// IE11 ~
|
||||
-ms-grid-column: 2;
|
||||
-ms-grid-row: 2;
|
||||
// ~ IE11
|
||||
}
|
||||
|
||||
footer {
|
||||
grid-column: 1 / 3;
|
||||
grid-row: 3 / 4;
|
||||
// IE11 ~
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
-ms-grid-row: 3;
|
||||
// ~ IE11
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -64,12 +66,12 @@
|
|||
margin: 0;
|
||||
width: 100vw;
|
||||
|
||||
header {
|
||||
border-bottom: $border-default;
|
||||
}
|
||||
|
||||
#menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding-top: calc(#{$header-height} - #{$font-size-mobile} + #{$container-padding-top-mobile});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,4 +16,13 @@ footer {
|
|||
color: $footer-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
> div.menu {
|
||||
display: none;
|
||||
|
||||
@include media-mobile {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// ヘッダ
|
||||
header {
|
||||
.header {
|
||||
background: $header-background;
|
||||
box-sizing: border-box;
|
||||
font-weight: bold;
|
||||
|
@ -11,14 +11,16 @@ header {
|
|||
}
|
||||
|
||||
@include media-mobile {
|
||||
box-shadow: $header-mobile-box-shadow;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
z-index: 9999;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
.header-icon {
|
||||
margin-top: $header-img-vertical-adjustment;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
text-decoration: none;
|
||||
|
||||
&:link,
|
||||
|
@ -28,14 +30,9 @@ header {
|
|||
&:active {
|
||||
color: $header-link-color;
|
||||
}
|
||||
|
||||
> amp-img {
|
||||
margin-top: $header-img-vertical-adjustment;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
.header-menu {
|
||||
background: transparent;
|
||||
border: none;
|
||||
display: block;
|
||||
|
@ -51,4 +48,3 @@ header {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
// モバイルメニュー
|
||||
amp-sidebar {
|
||||
background: $mobile-menu-background;
|
||||
color: $mobile-menu-text-color;
|
||||
padding: 1em;
|
||||
|
||||
a {
|
||||
&:link,
|
||||
&:visited,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: $mobile-menu-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: $mobile-menu-text-color;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: ブロック
|
||||
date:
|
||||
---
|
||||
|
||||
- toc
|
||||
{:toc}
|
||||
|
||||
# <amp-img class = "edit" height = "0.75em" width = "0.75em" alt = "編集" src = "{{ site.github.url }}/images/edit.svg" media = "{{ site.media-desktop }}"> </amp-img> TEST
|
||||
|
||||
TEST
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: アップデート情報
|
||||
date: 2018-6-9
|
||||
date: 2018-8-12
|
||||
---
|
||||
|
||||
アップデート内容を大まかにまとめたものです。
|
||||
|
@ -9,15 +9,26 @@ date: 2018-6-9
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
# 0.4.16 -> 0.4.17
|
||||
|
||||
## Minetest
|
||||
# 0.4.17 -> 0.4.17.1
|
||||
|
||||
バグ修正リリースです。
|
||||
|
||||
<dl>
|
||||
<dt><a href="commands#shutdown">shutdownコマンド</a>のパラメータ読み込みを修正</dt>
|
||||
<dd>パラメータが2つ以上の場合に、シャットダウンの遅延時間が反映されない不具合が修正されました。</dd>
|
||||
## Minetest
|
||||
|
||||
<dt>フォントに無効なパスを指定した場合に起動不能になるバグを修正</dt>
|
||||
</dl>
|
||||
- ポーズメニューで上下キーを押したときにクラッシュする問題を修正
|
||||
|
||||
- `void log_deprecated(lua_State*, const string&): A fatal error occured: lua_getstack() failed`のエラーを修正
|
||||
|
||||
## API
|
||||
|
||||
- chat_send_playerとchat_send_allで送信されるテキストの文字エンコードを修正
|
||||
|
||||
# 0.4.16 -> 0.4.17
|
||||
|
||||
バグ修正リリースです。
|
||||
|
||||
## Minetest
|
||||
|
||||
- <a href="commands#shutdown">shutdownコマンド</a>のパラメータが2つ以上の場合にシャットダウンの遅延時間が反映されない問題を修正
|
||||
|
||||
- フォントに無効なパスを指定した場合に起動不能になる問題を修正
|
||||
|
|
|
@ -21,7 +21,6 @@ custom-head: >-
|
|||
# このサイトについて
|
||||
|
||||
このサイトは[Minetest](http://www.minetest.net)の**非公式**Wikiです。
|
||||
旧Wikiはこちらからアクセスできます: [minetest.wiki.fc2.com](http://minetest.wiki.fc2.com/)
|
||||
|
||||
# Minetestとは?
|
||||
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 装飾
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-decor
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-decor %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 農業
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-farming
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-farming %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 食べ物
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-food
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-food %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 工業
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-industry
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-industry %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - マップ生成
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-mapgen
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-mapgen %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - Mob
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-mob
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-mob %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - その他
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-other
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-other %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 道具
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-tool
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-tool %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: Modリスト - 乗り物
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "mod"
|
||||
list = site.data.mods-vehicle
|
||||
%}
|
||||
{% include list-details.md type="mod" list=site.data.mods-vehicle %}
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
---
|
||||
title: ツール - マッパー
|
||||
date: 2018-8-13
|
||||
---
|
||||
|
||||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "tool"
|
||||
list = site.data.tools-mapper
|
||||
%}
|
||||
{% include list-details.md type="tool" list=site.data.tools-mapper %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: ツール - Mod開発補助
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "tool"
|
||||
list = site.data.tools-mod-development
|
||||
%}
|
||||
{% include list-details.md type="tool" list=site.data.tools-mod-development %}
|
||||
|
|
|
@ -5,7 +5,4 @@ title: ツール - Mod導入補助
|
|||
- toc
|
||||
{:toc}
|
||||
|
||||
{% include list-details.md
|
||||
type = "tool"
|
||||
list = site.data.tools-mod-installer
|
||||
%}
|
||||
{% include list-details.md type="tool" list=site.data.tools-mod-installer %}
|
||||
|
|
Loading…
Reference in New Issue