Skip to content

Commit

Permalink
Move to doc/
Browse files Browse the repository at this point in the history
  • Loading branch information
p-ouellette committed Feb 17, 2019
1 parent 8d7794a commit 4018dc9
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Expand Up @@ -65,8 +65,8 @@ doc/doxygen_*

## MkDocs files
public/
mkdocs/docs/*.md
mkdocs/mkdocs.yml
doc/mkdocs/docs/*.md
doc/mkdocs/mkdocs.yml

## Build files
CMakeFiles
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -331,7 +331,7 @@ pages:
- pip install git+https://github.com/mkdocs/mkdocs.git
- pip install pygments
script:
- cd mkdocs && ./build.sh
- cd doc/mkdocs && ./build.sh
artifacts:
paths:
- public
Expand Down
4 changes: 2 additions & 2 deletions mkdocs/build.sh → doc/mkdocs/build.sh
Expand Up @@ -7,7 +7,7 @@ patch -N -r - $PYGMENTS_FILE code_tag.patch || true
patch -N -r - $MARKDOWN_FILE lua_highlight.patch || true

# Split lua_api.txt on top level headings
cat ../doc/lua_api.txt | csplit -sz -f docs/section - '/^=/-1' '{*}'
cat ../lua_api.txt | csplit -sz -f docs/section - '/^=/-1' '{*}'

cat > mkdocs.yml << EOF
site_name: Minetest API Documentation
Expand Down Expand Up @@ -40,4 +40,4 @@ do
echo "- \"$title\": $fname" >> mkdocs.yml
done

mkdocs build --site-dir ../public
mkdocs build --site-dir ../../public
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions doc/mkdocs/docs/img/favicon.ico
File renamed without changes.
1 change: 0 additions & 1 deletion mkdocs/docs/img/favicon.ico

This file was deleted.

0 comments on commit 4018dc9

Please sign in to comment.