[doc] Gathers all guiding page inside a directory

This commit is contained in:
François Grisez 2018-04-05 11:31:44 +02:00
parent 7cea4d435e
commit c2805aebdc
17 changed files with 32 additions and 31 deletions

View file

@ -39,28 +39,29 @@ if (ENABLE_SPHINX_DOC)
enum_page.mustache
index_page.mustache
)
set(STATIC_DOCUMENTATION_FILES authentication.rst
buddy_list.rst
call_control.rst
call_logs.rst
call_misc.rst
chatroom.rst
conferencing.rst
event_api.rst
set(STATIC_DOCUMENTATION_FILES
guides/authentication.rst
guides/buddy_list.rst
guides/call_control.rst
guides/call_logs.rst
guides/call_misc.rst
guides/chatroom.rst
guides/conferencing.rst
guides/event_api.rst
guides/initializing.rst
guides/ios_portability.rst
guides/linphone_address.rst
guides/media_parameters.rst
guides/misc.rst
guides/network_parameters.rst
guides/proxies.rst
index.rst
initializing.rst
ios_portability.rst
linphone_address.rst
logo.png
media_parameters.rst
misc.rst
network_parameters.rst
proxies.rst
toc.rst
)
configure_file(conf.py.in source/conf.py)
foreach(file ${STATIC_DOCUMENTATION_FILES})
configure_file(${file} source/${files} COPYONLY)
configure_file(${file} source/${file} COPYONLY)
endforeach(file)
add_custom_target(sphinx-doc ALL ${PYTHON_EXECUTABLE} '${CMAKE_CURRENT_SOURCE_DIR}/gendoc.py' '${LINPHONE_DOXYGEN_XML_DIR}' -o 'source'
COMMAND ${PYTHON_EXECUTABLE} -msphinx -M html 'source' 'build'

View file

@ -32,21 +32,21 @@ Beginners' guides
.. toctree::
:maxdepth: 1
initializing
call_control
call_misc
media_parameters
proxies
network_parameters
authentication
buddy_list
chatroom
call_logs
linphone_address
conferencing
event_api
misc
ios_portability
guides/initializing
guides/call_control
guides/call_misc
guides/media_parameters
guides/proxies
guides/network_parameters
guides/authentication
guides/buddy_list
guides/chatroom
guides/call_logs
guides/linphone_address
guides/conferencing
guides/event_api
guides/misc
guides/ios_portability
Code samples