aboutsummaryrefslogtreecommitdiff
path: root/gocryptfs-readthedocs/main.html
diff options
context:
space:
mode:
Diffstat (limited to 'gocryptfs-readthedocs/main.html')
-rw-r--r--gocryptfs-readthedocs/main.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/gocryptfs-readthedocs/main.html b/gocryptfs-readthedocs/main.html
new file mode 100644
index 0000000..7de28d2
--- /dev/null
+++ b/gocryptfs-readthedocs/main.html
@@ -0,0 +1,36 @@
+{% extends "base.html" %}
+
+{# Override the styles and libs blocks so we can remove the custom fonts and disable syntax highlighting. #}
+
+ {%- block styles %}
+ <link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" />
+ <link rel="stylesheet" href="{{ base_url }}/css/theme_extra.css" type="text/css" />
+ <!--<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">-->
+ {%- for path in extra_css %}
+ <link href="{{ path }}" rel="stylesheet">
+ {%- endfor %}
+ {%- endblock %}
+
+ {%- block libs %}
+ {% if page %}
+ <script>
+ // Current page data
+ var mkdocs_page_name = {{ page.title|tojson|safe }};
+ var mkdocs_page_input_path = {{ page.input_path|tojson|safe }};
+ var mkdocs_page_url = {{ page.abs_url|tojson|safe }};
+ </script>
+ {% endif %}
+ <script src="{{ base_url }}/js/jquery-2.1.1.min.js"></script>
+ <script src="{{ base_url }}/js/modernizr-2.8.3.min.js"></script>
+ <!--<script type="text/javascript" src="{{ base_url }}/js/highlight.pack.js"></script>-->
+ {%- endblock %}
+
+
+{#
+The entry point for the ReadTheDocs Theme.
+
+Any theme customisations should override this file to redefine blocks defined in
+the various templates. The custom theme should only need to define a main.html
+which `{% extends "base.html" %}` and defines various blocks which will replace
+the blocks defined in base.html and its included child templates.
+#}