diff --git a/statefun-docs/docs/_static/css/customize-theme.css b/statefun-docs/docs/_static/css/customize-theme.css index d5ca922b4..e295514c5 100644 --- a/statefun-docs/docs/_static/css/customize-theme.css +++ b/statefun-docs/docs/_static/css/customize-theme.css @@ -51,4 +51,17 @@ .scv-banner > a { color: white ! important; -} \ No newline at end of file +} + +.sphinx-tabs .sphinx-menu a.item { + color: #446D6F !important; +} + +.sphinx-tabs .sphinx-menu a.active.item { + border-color: #446D6F !important; +} + +.sphinx-tab { + border-color: #446D6F !important; +} + diff --git a/statefun-docs/docs/_templates/layout.html b/statefun-docs/docs/_templates/layout.html index 89acd5a74..05c177b6f 100644 --- a/statefun-docs/docs/_templates/layout.html +++ b/statefun-docs/docs/_templates/layout.html @@ -3,6 +3,7 @@ {%- set favicon = 'favicon.png' %} {%- set logo = 'logo.png' %} {%- set theme_logo_only = True %} +{%- set extra_css_files = ['_static/css/customize-theme.css'] %} {% block sidebartitle %} diff --git a/statefun-docs/docs/_templates/searchbox.html b/statefun-docs/docs/_templates/searchbox.html deleted file mode 100644 index e69de29bb..000000000 diff --git a/statefun-docs/docs/conf.py b/statefun-docs/docs/conf.py index d8555e9f9..7817989b6 100644 --- a/statefun-docs/docs/conf.py +++ b/statefun-docs/docs/conf.py @@ -1,3 +1,4 @@ + # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. @@ -32,7 +33,8 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['sphinx.ext.ifconfig'] +# https://github.com/djungelorm/sphinx-tabs +extensions = ['sphinx.ext.ifconfig', 'sphinx_tabs.tabs'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -106,8 +108,6 @@ # html_theme = 'sphinx_rtd_theme' -theme_prev_next_buttons_location = 'Top' - # 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 # documentation. @@ -139,22 +139,11 @@ ] } -# Custom CSS. -html_css_files = [ - 'css/customize-theme.css', -] - -html_context = { - 'css_files': ['_static/css/customize-theme.css'] -} - - # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = 'StatefulFunctionsdoc' - # -- Options for LaTeX output --------------------------------------------- latex_elements = { @@ -180,7 +169,7 @@ # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'StatefulFunctions.tex', u'Stateful Functions Documentation', - u'Ververica GmbH', 'manual'), + u'Apache Flink', 'manual'), ] @@ -205,7 +194,6 @@ 'Miscellaneous'), ] - # -- Settings for sphinxcontrib-versioning -------------------------------- scv_greatest_tag = True scv_show_banner = True diff --git a/statefun-docs/docs/index_grid.html b/statefun-docs/docs/index_grid.html index 4f8b2bbc6..e190a3dff 100644 --- a/statefun-docs/docs/index_grid.html +++ b/statefun-docs/docs/index_grid.html @@ -49,11 +49,10 @@