From 59d7cb8a67fc6a78e9c166092fe3b3aa50aee275 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 18:39:01 +0200 Subject: [PATCH] docs: 404 page and misc things --- resources/.gitignore | 1 + .../docs/docs/getting-started/introduction.md | 9 ++---- resources/docs/download.md | 5 ++- resources/overrides/404.html | 31 +++++++++++++++++++ resources/site/.htaccess | 1 + 5 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 resources/overrides/404.html create mode 100644 resources/site/.htaccess diff --git a/resources/.gitignore b/resources/.gitignore index 913aeb2b..b86de750 100644 --- a/resources/.gitignore +++ b/resources/.gitignore @@ -1 +1,2 @@ site/* +!site/.htaccess diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 620600e2..6c9dc442 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -1,11 +1,8 @@ -!!! question "Looking for v0 documentation ?" - Head over v0.openstagecontrol.ammd.net - -!!! warning "Incomplete documentation" - The documentation is currently being updated. - Welcome to Open Stage Control documentation. Along these pages you'll learn how to setup OSC on your system and everything you need to start building your own control interface. +!!! info "Still using v0 ?" + The documentation for this version is available [here](https://v0.openstagecontrol.ammd.net). + ## Overview Open Stage Control consists in 3 modules: the server, the launcher and the client. diff --git a/resources/docs/download.md b/resources/docs/download.md index db9c40b3..d7060f15 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,5 +1,8 @@ # Download latest release +!!! info "Open Stage Control v1 is currently in alpha" + [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/latest) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! + Open Stage Control
Loading assets...
@@ -59,7 +62,7 @@ html { .md-sidebar--secondary { display: none; } -@media screen and (min-width: 76.1875em) { +@media screen and (min-width: 76.25em) { .md-sidebar--primary { display: none; } diff --git a/resources/overrides/404.html b/resources/overrides/404.html new file mode 100644 index 00000000..158df66d --- /dev/null +++ b/resources/overrides/404.html @@ -0,0 +1,31 @@ +{% extends "main.html" %} + +{% block content %} + +

Woops, nothing here !

+ +

(404 error)

+ + + + +{% endblock %} diff --git a/resources/site/.htaccess b/resources/site/.htaccess new file mode 100644 index 00000000..de377bfe --- /dev/null +++ b/resources/site/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /404.html