Commit c182b372 authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

doc: support official website theme



Jira: ZEP-1512
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 937aa00f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -121,6 +121,10 @@ else:
    html_theme = "sphinx_rtd_theme"
    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

if tags.has('daily') or tags.has('release'):
    html_theme = 'zephyr-docs-theme'
    html_theme_path = ['./themes']

if tags.has('release'):
    docs_title = 'Docs / %s' %(version)
else:
@@ -187,7 +191,7 @@ html_split_index = True
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = True
html_show_copyright = tags.has('development')

# If true, license is shown in the HTML footer. Default is True.
html_show_license = True
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Zephyr Project Documentation
   Documentation for the development branch of Zephyr can be found at
   https://www.zephyrproject.org/doc/

.. only:: development
.. only:: (development or daily)

   Welcome to the Zephyr Project's documentation. This is the documentation of the
   master tree under development.