diff --git a/doc/source/_static/theme_overrides.css b/doc/source/_static/theme_overrides.css new file mode 100644 index 0000000000..94e8191f32 --- /dev/null +++ b/doc/source/_static/theme_overrides.css @@ -0,0 +1,8 @@ + +.md-nav__link { + margin-left: 10px; +} + +.md-nav span.caption { + margin-left: 0px !important; +} diff --git a/doc/source/conf.py b/doc/source/conf.py index 613c267ef4..5a6f8746a1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -216,7 +216,12 @@ # 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 = ["_static"] + +# override default theme width +html_context = { + "css_files": ["_static/theme_overrides.css",], # override wide tables in RTD theme +} html_extra_path = ["_extra"] diff --git a/doc/source/index.rst b/doc/source/index.rst index 7f343a7013..3c11c3db10 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -34,6 +34,9 @@ Seldon Core Seldon Client Server Examples +.. image:: ./images/core-logo-small.png + :alt: Seldon logo + :align: center An open source platform to deploy your machine learning models on Kubernetes at massive scale.