diff --git a/src/libprs500/manual/conf.py b/src/libprs500/manual/conf.py index 416dbc9885..7d98f25538 100644 --- a/src/libprs500/manual/conf.py +++ b/src/libprs500/manual/conf.py @@ -27,7 +27,7 @@ import custom extensions = ['sphinx.ext.autodoc', 'custom'] # Add any paths that contain templates here, relative to this directory. -templates_path = ['.templates'] +templates_path = ['templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -83,7 +83,7 @@ html_style = 'default.css' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['static'] +html_static_path = ['resources'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff --git a/src/libprs500/manual/index.rst b/src/libprs500/manual/index.rst index 03e93873d4..cec4638fd7 100644 --- a/src/libprs500/manual/index.rst +++ b/src/libprs500/manual/index.rst @@ -25,9 +25,9 @@ Sections gui news + cli/cli-index conversion metadata - cli/cli-index faq glossary diff --git a/src/libprs500/manual/resources/logo.png b/src/libprs500/manual/resources/logo.png new file mode 100644 index 0000000000..ee3f19baa6 Binary files /dev/null and b/src/libprs500/manual/resources/logo.png differ diff --git a/src/libprs500/manual/templates/layout.html b/src/libprs500/manual/templates/layout.html new file mode 100644 index 0000000000..8a1407b19b --- /dev/null +++ b/src/libprs500/manual/templates/layout.html @@ -0,0 +1,134 @@ +{%- include "macros.html" %} +{%- block doctype -%} + +{%- endblock %} +{%- macro relbar %} +{# this macro needs to stay in layout.html due to it containing blocks #} +
+{%- endmacro %} + + + + {%- if builder != 'htmlhelp' %} + {%- set titlesuffix = " — " + project + " Documentation" %} + {%- endif %} +