summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/build/index.html2
-rw-r--r--docs/build/mkdocs/search_index.json4
-rw-r--r--docs/build/sitemap.xml44
-rw-r--r--docs/mkdocs.yml27
-rw-r--r--docs/src/CLI/General-Usage.md1
-rw-r--r--docs/src/Quickstart/Overview.md2
-rw-r--r--docs/src/index.md2
7 files changed, 55 insertions, 27 deletions
diff --git a/docs/build/index.html b/docs/build/index.html
index ca66f10..57be212 100644
--- a/docs/build/index.html
+++ b/docs/build/index.html
@@ -862,7 +862,7 @@ content editors, and a fast HTTP API on which to build modern applications.</p>
<li>File an <a href="https://github.com/ponzu-cms/ponzu/issues">issue</a></li>
</ul>
<hr />
-<p>current version: <code>v0.9.3</code> @ ponzu:master</p>
+<p>current version: <code>v0.9.4</code> @ ponzu:master</p>
diff --git a/docs/build/mkdocs/search_index.json b/docs/build/mkdocs/search_index.json
index 66eec53..bf2f349 100644
--- a/docs/build/mkdocs/search_index.json
+++ b/docs/build/mkdocs/search_index.json
@@ -2,7 +2,7 @@
"docs": [
{
"location": "/",
- "text": "Ponzu CMS + Server Framework Docs\n\n\n\n\nWhat is Ponzu?\n\n\n\n\nWatch the \nvideo introduction\n\n\n\n\nPonzu is a powerful and efficient open-source HTTP server framework and CMS. It \nprovides automatic, free, and secure HTTP/2 over TLS (certificates obtained via \n\nLet's Encrypt\n), a useful CMS and scaffolding to generate \ncontent editors, and a fast HTTP API on which to build modern applications.\n\n\nWant to jump in right away? Try the \nQuickstart\n\n\nTable of Contents\n\n\n\n\nCLI\n\n\nContent\n\n\nForm Fields\n\n\nHTTP API - Content\n\n\nHTTP API - File Metadata\n\n\nHTTP API - Search\n\n\nInterfaces - API\n\n\nInterfaces - Editor\n\n\nInterfaces - Item\n\n\nInterfaces - Search\n\n\nCreating Ponzu Addons\n\n\nUsing Ponzu Addons\n\n\nQuickstart\n\n\nBackups\n\n\nSystem Configuration\n\n\n\n\nNeed help? Get in touch\n\n\n\n\nChat: \n#ponzu on Slack\n\n\nReach out on Twitter: \n@ponzu_cms\n\n\nFile an \nissue\n\n\n\n\n\n\ncurrent version: \nv0.9.3\n @ ponzu:master",
+ "text": "Ponzu CMS + Server Framework Docs\n\n\n\n\nWhat is Ponzu?\n\n\n\n\nWatch the \nvideo introduction\n\n\n\n\nPonzu is a powerful and efficient open-source HTTP server framework and CMS. It \nprovides automatic, free, and secure HTTP/2 over TLS (certificates obtained via \n\nLet's Encrypt\n), a useful CMS and scaffolding to generate \ncontent editors, and a fast HTTP API on which to build modern applications.\n\n\nWant to jump in right away? Try the \nQuickstart\n\n\nTable of Contents\n\n\n\n\nCLI\n\n\nContent\n\n\nForm Fields\n\n\nHTTP API - Content\n\n\nHTTP API - File Metadata\n\n\nHTTP API - Search\n\n\nInterfaces - API\n\n\nInterfaces - Editor\n\n\nInterfaces - Item\n\n\nInterfaces - Search\n\n\nCreating Ponzu Addons\n\n\nUsing Ponzu Addons\n\n\nQuickstart\n\n\nBackups\n\n\nSystem Configuration\n\n\n\n\nNeed help? Get in touch\n\n\n\n\nChat: \n#ponzu on Slack\n\n\nReach out on Twitter: \n@ponzu_cms\n\n\nFile an \nissue\n\n\n\n\n\n\ncurrent version: \nv0.9.4\n @ ponzu:master",
"title": "Home"
},
{
@@ -22,7 +22,7 @@
},
{
"location": "/#need-help-get-in-touch",
- "text": "Chat: #ponzu on Slack Reach out on Twitter: @ponzu_cms File an issue current version: v0.9.3 @ ponzu:master",
+ "text": "Chat: #ponzu on Slack Reach out on Twitter: @ponzu_cms File an issue current version: v0.9.4 @ ponzu:master",
"title": "Need help? Get in touch"
},
{
diff --git a/docs/build/sitemap.xml b/docs/build/sitemap.xml
index fe5a0a7..0002953 100644
--- a/docs/build/sitemap.xml
+++ b/docs/build/sitemap.xml
@@ -4,7 +4,7 @@
<url>
<loc>/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -13,13 +13,13 @@
<url>
<loc>/CLI/General-Usage/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/CLI/Generating-References/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -29,13 +29,13 @@
<url>
<loc>/Content/An-Overview/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Content/Extending-Content/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -45,7 +45,7 @@
<url>
<loc>/Form-Fields/HTML-Inputs/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -55,19 +55,19 @@
<url>
<loc>/HTTP-APIs/Content/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/HTTP-APIs/File-Metadata/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/HTTP-APIs/Search/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -77,31 +77,31 @@
<url>
<loc>/Interfaces/API/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Interfaces/Editor/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Interfaces/Format/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Interfaces/Item/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Interfaces/Search/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -111,13 +111,13 @@
<url>
<loc>/Ponzu-Addons/Creating-Addons/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/Ponzu-Addons/Using-Addons/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -127,7 +127,7 @@
<url>
<loc>/Quickstart/Overview/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -137,7 +137,7 @@
<url>
<loc>/References/Overview/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -147,7 +147,7 @@
<url>
<loc>/Running-Backups/Backups/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -157,7 +157,7 @@
<url>
<loc>/System-Configuration/Settings/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
@@ -167,13 +167,13 @@
<url>
<loc>/System-Deployment/Docker/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>/System-Deployment/SysV-Style/</loc>
- <lastmod>2017-09-01</lastmod>
+ <lastmod>2018-01-21</lastmod>
<changefreq>daily</changefreq>
</url>
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
new file mode 100644
index 0000000..71f0cb5
--- /dev/null
+++ b/docs/mkdocs.yml
@@ -0,0 +1,27 @@
+theme: material
+site_name: Ponzu
+docs_dir: src
+site_dir: build
+repo_name: ponzu-cms/ponzu
+repo_url: https://github.com/ponzu-cms/ponzu
+
+markdown_extensions:
+ - codehilite(linenums=false)
+ - meta
+ - admonition
+ - toc(permalink=true)
+
+google_analytics:
+ - 'UA-98609560-1'
+ - auto
+
+extra:
+ palette:
+ primary: grey
+ accent: light-blue
+ social:
+ - type: github
+ link: https://github.com/ponzu-cms
+ - type: twitter
+ link: https://twitter.com/ponzu_cms
+ logo: images/logo.png
diff --git a/docs/src/CLI/General-Usage.md b/docs/src/CLI/General-Usage.md
index 2928a53..993ff18 100644
--- a/docs/src/CLI/General-Usage.md
+++ b/docs/src/CLI/General-Usage.md
@@ -46,6 +46,7 @@ type Review struct {
Title string `json:"title"`
Body string `json:"body"`
Rating int `json:"rating"`
+ Tags []string `json:"tags"`
}
```
diff --git a/docs/src/Quickstart/Overview.md b/docs/src/Quickstart/Overview.md
index 329a0f7..6c4bec5 100644
--- a/docs/src/Quickstart/Overview.md
+++ b/docs/src/Quickstart/Overview.md
@@ -18,7 +18,7 @@ $ cd $GOPATH/src/github.com/nilslice/reviews
5) Generate content type file and boilerplate code (creates `content/review.go`):
```bash
-$ ponzu generate content review title:"string" author:"string" rating:"float64" body:"string":richtext website_url:"string" items:"[]string" photo:string:file
+$ ponzu generate content review title:"string" author:"string" rating:"float64" body:"string":richtext website_url:"string" items:"[]string" photo:string:file`
```
6) Build your project:
diff --git a/docs/src/index.md b/docs/src/index.md
index f9c7ccc..bdf2ddf 100644
--- a/docs/src/index.md
+++ b/docs/src/index.md
@@ -38,4 +38,4 @@ Want to jump in right away? Try the [Quickstart](/Quickstart/Overview)
- File an [issue](https://github.com/ponzu-cms/ponzu/issues)
---
-current version: `v0.9.3` @ ponzu:master
+current version: `v0.9.4` @ ponzu:master