index
:
minetest.git
gpcf
lifo-fixes
release
modified minetest for gpcfs purposes
gpcf
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
old
/
minetest.vcproj
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'old/minetest.vcproj')
0 files changed, 0 insertions, 0 deletions
class="hl opt">)/markdown
/
extensions
/
codehilite.py
patch
-N -r
-
$MARKDOWN_FILE
lua_highlight.
patch
|| true
# Split lua_api.txt on top level headings
cat
..
/
lua_api.txt | csplit
-sz -f
docs
/
section
-
'/^=/-1'
'{*}'
cat
>
mkdocs.yml
<< EOF
site_name: Minetest API Documentation
theme:
name: readthedocs
highlightjs: False
extra_css:
- css/code_styles.css
- css/extra.css
markdown_extensions:
- toc:
permalink: True
- codehilite
plugins:
- search:
separator: '[\s\-\.\(]+'
nav:
- "Home": index.md
EOF
mv
docs
/
section00 docs
/
index.md
for
f
in
docs
/
section
*
do
title
=
$
(
head
-1
$f
)
fname
=
$
(
echo
$title
|
tr
'[:upper:]'
'[:lower:]'
)
fname
=
$
(
echo
$fname
|
sed
's/ /-/g'
)
fname
=
$
(
echo
$fname
|
sed
"s/'//g"
)
.md
mv
$f
docs
/
$fname
echo
"-
\"
$title
\"
:
$fname
"
>>
mkdocs.yml
done
mkdocs build
--site-dir
..
/
..
/
public