+ {% block content %}
+ {{ page.content }}
+ {% endblock %}
+
+ diff --git a/mkdocs.yml b/mkdocs.yml index c054598d..652ec2e1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1 +1,17 @@ site_name: PySimpleGUI +nav: + ## add your custom pages hierarchy here + +theme: + name: null + custom_dir: 'rtd_dropdown' + include_search_page: true + search_index_only: false + static_templates: + - 404.html + +plugins: ['search'] + +# add theme version number here +extra: + version: 0.3.x diff --git a/rtd_dropdown/404.html b/rtd_dropdown/404.html new file mode 100644 index 00000000..a13ad467 --- /dev/null +++ b/rtd_dropdown/404.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +
Page not found
+ +{% endblock %} diff --git a/rtd_dropdown/__init__.py b/rtd_dropdown/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/rtd_dropdown/base.html b/rtd_dropdown/base.html new file mode 100644 index 00000000..d084f167 --- /dev/null +++ b/rtd_dropdown/base.html @@ -0,0 +1,144 @@ + + + + + {%- block site_meta %} + + + + {% if page and page.is_homepage %}{% endif %} + {% if config.site_author %}{% endif %} + {% if config.site_favicon %} + {% else %}{% endif %} + {%- endblock %} + + {%- block htmltitle %} +