Skip to content

Commit

Permalink
Add a build.sh as shortcut for daux with the right options, plus gene…
Browse files Browse the repository at this point in the history
…ration of a zip file for the static site.
  • Loading branch information
Mark-H committed Sep 7, 2016
1 parent 6843b24 commit fe21513
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
html/
.DS_Store
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

daux generate --source=. --destination=html

# Generate a zip file containing the static site
rm html.zip
zip -r html.zip html
13 changes: 13 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "modmore documentation",
"html": {
"theme": "modmore",
"inherit_index": true,
"toggle_code": false,
"edit_on_github": "modmore/Docs/master"
},
"ignore": {
"files": ["build.sh", ".gitignore", "README.md", "html.zip"],
"folders": ["html", ".idea", "themes"]
}
}
Binary file added html.zip
Binary file not shown.
5 changes: 5 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Welcome to the official modmore documentation!

This website contains documentation for the [Premium Extras from modmore](https://www.modmore.com/extras/), as well as a number of open source projects.

Browse the tree on the left to access the documentation.

0 comments on commit fe21513

Please sign in to comment.