master
rubenwardy 2014-12-11 19:38:46 +00:00
parent bff416771c
commit 7e9c206baf
4 changed files with 31 additions and 13 deletions

View File

@ -1,11 +1,33 @@
Minetest Doc
============
Minetest Tutorials
This online book will teach you how to create mods in easy chapters.\\
The chapters will explain a concept, give examples, and set tasks for you to complete.
Edit site in _config.yml to point to root url.
If using jekyll serve, then http://localhost:4000
This documentation was created by the Minetest community in order to\\
help new modders gain a foothold.
You can contribute to this project on GitHub.\\
It uses Jekyll to turn Markdown into a website.
Book written by rubenwardy and contributers.\\
License: CC-BY-NC-SA 3.0
Running
-------
```
$ jekyll serve
$ jekyll serve -b /minetest_doc
```
Commits
-------
If you are editing or creating a particular chapter, then use commit messages like this:
```
Getting Started - corrected typos
Entities - created chapter
```
Just use a normal style commit message otherwise.

View File

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>{% if page.title != "Minetest Tutorial" %}{{ page.title }} - {% endif %}Minetest Tutorials and Documentation</title>
<title>{% if page.title != "Minetest Tutorials and Documentation" %}{{ page.title }} - {% endif %}Minetest Tutorials and Documentation</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{{ site.url }}/static/style.css">
<link rel="stylesheet" href="{{ site.url }}/static/syntax.css">
@ -12,3 +12,4 @@
<li><a href="{{ site.url }}/started">1 - Getting Started</a></li>
</ul>
<div id="page">
<h1>{{ page.title }}</h1>

View File

@ -1,11 +1,9 @@
---
title: Chapter One - Getting Started
title: Chapter 1 - Getting Started
layout: default
permalink: started/index.html
---
Chapter One Getting Started
=============================
Introduction
------------

View File

@ -1,12 +1,9 @@
---
title: Minetest Tutorial
title: Minetest Tutorials and Documentation
permalink: index.html
layout: default
---
Minetest Tutorials and Documentation
====================================
What is this?
-------------