docs: 404 page and misc things

This commit is contained in:
bordun 2020-04-08 18:39:01 +02:00
parent c20c782087
commit 3d4a999afb
5 changed files with 40 additions and 7 deletions

View file

@ -1 +1,2 @@
site/*
!site/.htaccess

View file

@ -1,11 +1,8 @@
!!! question "Looking for v0 documentation ?"
Head over <a href="https://v0.openstagecontrol.ammd.net">v0.openstagecontrol.ammd.net</a>
!!! 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.

View file

@ -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) !
<a href="https://github.com/jean-emmanuel/open-stage-control/releases/latest"> Open Stage Control <span id="osc-version"span></a>
<div id="osc-assets">Loading assets...</div>
@ -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;
}

View file

@ -0,0 +1,31 @@
{% extends "main.html" %}
{% block content %}
<h1>Woops, nothing here !</h1>
<p>(404 error)</p>
<style>
html {
overflow-y: scroll
}
.md-sidebar--secondary {
display: none;
}
@media screen and (min-width: 76.25em) {
.md-sidebar--primary {
display: none;
}
}
.md-content {
margin: 0;
}
.md-content__inner {
margin-left: .8rem;
margin-right: .6rem;
}
</style>
{% endblock %}

1
resources/site/.htaccess Normal file
View file

@ -0,0 +1 @@
ErrorDocument 404 /404.html