This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 7b9d94df1 1411 create custom error page for python docs (#1572)
7b9d94df1 is described below
commit 7b9d94df18f53c4f0d65aca42dbb76e2ffb25d3d
Author: Tim <[email protected]>
AuthorDate: Wed May 17 16:33:38 2023 +0200
1411 create custom error page for python docs (#1572)
---
streampipes-client-python/docs/overrides/404.html | 31 +++++++++++++++++++++++
streampipes-client-python/mkdocs.yml | 4 +--
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/streampipes-client-python/docs/overrides/404.html
b/streampipes-client-python/docs/overrides/404.html
new file mode 100644
index 000000000..e82ed651b
--- /dev/null
+++ b/streampipes-client-python/docs/overrides/404.html
@@ -0,0 +1,31 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+-->
+
+{% extends "main.html" %}
+
+{% block content %}
+<h1>Page not found</h1>
+<img src="https://media.giphy.com/media/PibODdY9C5xiKzmRhW/giphy.gif"
alt="Page not found">
+<p>Oops! Looks like you took a wrong turn.</p>
+<p>But don't worry, we're here to help:</p>
+<ul>
+ <li><a href="/">🔙 Return to docs main page</a></li>
+ <li><a href="https://github.com/apache/streampipes/issues/new/choose">🐛
Report an issue (e.g., broken links) with our documentation</a></li>
+</ul>
+</body>
+{% endblock %}
\ No newline at end of file
diff --git a/streampipes-client-python/mkdocs.yml
b/streampipes-client-python/mkdocs.yml
index bc9988396..d97676d1c 100644
--- a/streampipes-client-python/mkdocs.yml
+++ b/streampipes-client-python/mkdocs.yml
@@ -43,13 +43,13 @@ theme:
# Palette toggle for light mode
- scheme: default
toggle:
- icon: material/brightness-7
+ icon: material/lightbulb
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
- icon: material/brightness-4
+ icon: material/lightbulb-outline
name: Switch to light mode
extra: