From a2abf42e3d77a25ce90700774d057bcb4e3f74e6 Mon Sep 17 00:00:00 2001 From: Tim Stadtmann <tim.stadtmann@rwth-aachen.de> Date: Tue, 6 Dec 2016 15:49:46 +0100 Subject: [PATCH] Update sphinx-config files for new theme --- docs/__init__.py | 1 + docs/conf.py | 7 +++++-- docs/index.rst | 4 ++-- docs/source.rst | 12 +++--------- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/__init__.py b/docs/__init__.py index e69de29..013e4b7 100644 --- a/docs/__init__.py +++ b/docs/__init__.py @@ -0,0 +1 @@ +#!/usr/bin/python diff --git a/docs/conf.py b/docs/conf.py index c2a49b1..7da4720 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,6 +16,8 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # +import sphinx_bootstrap_theme + import os import sys sys.path.insert(0, os.path.abspath('.')) @@ -149,7 +151,7 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'classic' +html_theme = 'bootstrap' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -158,7 +160,8 @@ html_theme = 'classic' # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -# html_theme_path = [] +#html_theme_path = [] +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() # The name for this set of Sphinx documents. # "<project> v<release> documentation" by default. diff --git a/docs/index.rst b/docs/index.rst index 6d136d5..32339b8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,8 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -EV3-Toolbox for controlling Lego Mindstorms EV3 with MATLAB -=========================================================== +Toolbox for controlling Lego Mindstorms EV3 with MATLAB +======================================================= Contents: diff --git a/docs/source.rst b/docs/source.rst index caba8be..589e1dd 100644 --- a/docs/source.rst +++ b/docs/source.rst @@ -1,5 +1,8 @@ .. automodule:: source +.. |br| raw:: html + + <br /> EV3 === @@ -14,18 +17,9 @@ Motor :members: start, stop, syncedStart, syncedStop, waitFor, internalReset, resetTachoCount, setBrake, setProperties -Enumerations ------------- - -.. autoclass:: BrakeMode - :members: - - Sensor ====== .. autoclass:: Sensor :members: reset, setProperties - - -- GitLab