Adds a logo in the side panel

This commit is contained in:
François Grisez 2018-03-08 13:46:42 +01:00
parent a3c41aae31
commit 2d5a239275
3 changed files with 7 additions and 1 deletions

View file

@ -42,6 +42,7 @@ if (ENABLE_SPHINX_DOC)
)
configure_file(conf.py.in source/conf.py)
configure_file(source/index.rst source/index.rst COPYONLY)
configure_file(logo.png source/logo.png COPYONLY)
add_custom_command(OUTPUT ${GENERATED_SPHINX_SOURCES}
COMMAND ${CMAKE_COMMAND} -E remove -f ${DOCUMENTATION_DIRS}
COMMAND ${PYTHON_EXECUTABLE} '${CMAKE_CURRENT_SOURCE_DIR}/gendoc.py' '${LINPHONE_DOXYGEN_XML_DIR}' -o 'source'

View file

@ -90,13 +90,18 @@ html_theme = 'classic'
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {
'collapsiblesidebar': 'true'
}
# 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']
# Path to the picture to use as logo.
html_logo = 'logo.png'
# -- Options for HTMLHelp output ------------------------------------------

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB