diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss
index 05377a86..b25ff777 100644
--- a/docs/_sass/custom/custom.scss
+++ b/docs/_sass/custom/custom.scss
@@ -21,6 +21,10 @@ $svg-citation-color: "495057";
padding: 4px 0px 0px 0px !important;
}
+.main {
+ max-width: 1200px;
+}
+
.premonition {
display: grid;
grid-template-columns: 43px auto;
diff --git a/docs/changelog.md b/docs/changelog.md
index b2808468..e05459e4 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -13,10 +13,10 @@ This release is a complete rewrite of frontend UI and many internals, main chang
- Switch UI framework from [element](https://element.eleme.io/) to [vuetify](https://vuetifyjs.com/)
- Distribute package directly from site instead of using npm registry
-- Improve docker setup (run as user)
+- Improve docker setup (run as user, fix some data export)
- New logging system (based on [winston](https://github.com/winstonjs/winston))
- Slugify event URL (keeping old one valid)
-- Import events from ics and external website using h-event (microformat)
+- Import events from ics and external website using h-event (microformat) improving [`h-event`](https://microformats.org/wiki/h-event) export
- Hide unconfirmed tags and places
- Clean unused places and tags
- Fix tons of issues
diff --git a/docs/index.md b/docs/index.md
index 5cd6f817..fcdab97e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -11,14 +11,9 @@ permalink: /
A shared agenda for local communities.
{: .fs-6 }
-[Get started now](install){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } [Demo](https://demo.gancio.org){: .btn .btn-green .fs-5 .mb-4 .mb-md-0 }
+[Install]({% link install/install.md %}){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } [Demo](https://demo.gancio.org){: .btn .btn-green .fs-5 .mb-4 .mb-md-0 }
[Source](https://framagit.org/les/gancio){: .btn .fs-5 }
-[](assets/home1.png){: data-fancybox="group" data-caption="Home of the first gancio instance"}
-[](assets/mobile1.png){: data-fancybox="group" data-caption="Home mobile"}
-[](assets/mobile2.png){: data-fancybox="group" data-caption="Home mobile"}
-[](assets/admin_users.png){: data-fancybox="group" data-caption="Admin interface"}
-
## Some relevant key features:
@@ -29,7 +24,7 @@ nowhere on gancio appears the identity of who published the event, not even unde
- **Anonymous events**: optionally a visitor can create events without being registered (an administrator has to confirm them)
-- **We are not interested in making hits** so we export events in many ways, via RSS feeds, via global or individual ics, incorporating lists of events or single event via iframe on other websites and via [AP](/federation)
+- **We are not interested in making hits** so we export events in many ways, via RSS feeds, via global or individual ics, incorporating lists of events or single event via iframe on other websites and via [AP]({% link federation.md %})
- Very easy UI
- Multidays events support (festival, conferences...)
diff --git a/docs/install/configuration.md b/docs/install/configuration.md
index c5cac6fa..fd242480 100644
--- a/docs/install/configuration.md
+++ b/docs/install/configuration.md
@@ -7,8 +7,8 @@ parent: Install
## Configuration
{: .no_toc }
-Main `gancio` configuration is done with a configuration file.
-This shoud be a `.json` or a `.js` file and could be specified using the `--config` flag.
+`gancio` configuration is done during installation process but you can change it editing the configuration file. Note that you can always re-run gancio with `--setup` flag to use the interactive setup.
+The configuration file shoud be a `.json` or a `.js` file and could be specified using the `--config` flag.
- eg. `gancio start --config ./config.json`
- eg. `pm2 start gancio start -- --config ~/config.json`
@@ -77,11 +77,6 @@ Email of administrator. Note that email from gancio comes from this email and th
the SMTP configuration above should allow to use this address as from.
-- ### Favicon
-You could specify another favicon. This is also used as logo (top-left
-corner):
-`"favicon": "./favicon.ico"`
-
- ### User locale
Probably you want to modify some text for your specific community, that's
why we thought the `user_locale` configuration: you can specify your version of
@@ -105,8 +100,6 @@ list of strings you can override.
:warning: Note that a restart is needed when you change
user_locale's content.
-- ### Secret
-
## Default settings
```json
@@ -115,15 +108,14 @@ user_locale's content.
"description": "A shared agenda for local communities",
"baseurl": "http://localhost:13120",
"server": {
- "host": "0.0.0.0",
+ "host": "127.0.0.1",
"port": 13120
},
"db": {
"dialect": "sqlite",
- "storage": "/tmp/db.sqlite"
+ "storage": "./db.sqlite"
},
"upload_path": "./",
- "favicon": "../dist/favicon.ico",
"smtp": {
"auth": {
"user": "",
@@ -133,6 +125,5 @@ user_locale's content.
"host": ""
},
"admin_email": "",
- "secret": "notsosecret"
}
```
diff --git a/docs/install/debian.md b/docs/install/debian.md
index 01ed88f8..0079f240 100644
--- a/docs/install/debian.md
+++ b/docs/install/debian.md
@@ -49,7 +49,7 @@ gancio start --config config.json
```
1. Point your web browser to [http://localhost:13120](http://localhost:13120) or where you selected during setup.
-1. [Setup nginx as a proxy](/install/nginx)
+1. [Setup nginx as a proxy]({% link install/nginx.md %})
1. To deploy gancio in production you should use something like **[pm2](http://pm2.keymetrics.io/)**:
diff --git a/docs/install/docker.md b/docs/install/docker.md
index dad28673..7e405818 100644
--- a/docs/install/docker.md
+++ b/docs/install/docker.md
@@ -67,7 +67,7 @@ docker-compose up -d
tail -f data/logs/gancio.log
```
-1. [Setup nginx as a proxy](/install/nginx)
+1. [Setup nginx as a proxy]({% link install/nginx.md %}
1. Point your web browser to [http://localhost:13120](http://localhost:13120) or where you specified during setup and enjoy :tada:
diff --git a/docs/install/install.md b/docs/install/install.md
index 01d5f971..1d5ec5a8 100644
--- a/docs/install/install.md
+++ b/docs/install/install.md
@@ -3,11 +3,13 @@ layout: default
title: Install
permalink: /install
has_children: true
-nav_order: 2
+nav_order: 3
has_toc: false
---
## Install
+You can install gancio on a cheap VPS (500mb of ram will be enough)
+
- [Install on Debian]({% link install/debian.md %})
- [Install using docker]({% link install/docker.md %})
@@ -17,4 +19,4 @@ has_toc: false
- [Backup]({% link install/backup.md %})
-If you wanna hack or run the current development release take a look at [Hacking & contribute](../dev)
+If you wanna hack or run the current development release take a look at [Hacking & contribute]({% link dev/dev.md %})
diff --git a/docs/instances.md b/docs/instances.md
index 0e5c7886..0de24ac8 100644
--- a/docs/instances.md
+++ b/docs/instances.md
@@ -11,4 +11,4 @@ nav_order: 7
- [chesefa.org](https://chesefa.org) (Naples, Italy)
-Do you want your instance to appear here? [Write us](/contacts).
\ No newline at end of file
+Do you want your instance to appear here? [Write us]({% link contact.md %}).
\ No newline at end of file
diff --git a/docs/screenshot.md b/docs/screenshot.md
new file mode 100644
index 00000000..b5ffc5ba
--- /dev/null
+++ b/docs/screenshot.md
@@ -0,0 +1,16 @@
+---
+title: Screenshots
+nav_order: 2
+permalink: /screenshot
+---
+
+## Screenshots
+
+[](assets/home_desktop.png){: data-fancybox="group" data-caption="Home"}
+[](assets/event.png){: data-fancybox="group" data-caption="Event"}
+[](assets/mobile.png){: data-fancybox="group" data-caption="Mobile"}
+[](assets/add.png){: data-fancybox="group" data-caption="Add event"}
+[](assets/share.png){: data-fancybox="group" data-caption="Share"}
+[](assets/options.png){: data-fancybox="group" data-caption="Admin options"}
+[](assets/federation.png){: data-fancybox="group" data-caption="Admin federation"}
+[](assets/follow.png){: data-fancybox="group" data-caption="Follow"}