Include the C++ API README in the C++ reference docs

This commit is contained in:
Simon Hausmann 2020-08-24 17:39:53 +02:00
parent e9685c5851
commit 3f64defaac
2 changed files with 3 additions and 1 deletions

View file

@ -89,6 +89,7 @@ if (DOXYGEN_FOUND)
if (PipEnv)
configure_file(../docs/conf.py.in docs/conf.py)
file(CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/../docs/index.rst ${CMAKE_CURRENT_BINARY_DIR}/docs/index.rst SYMBOLIC)
file(CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/../README.md ${CMAKE_CURRENT_BINARY_DIR}/docs/README.md SYMBOLIC)
get_filename_component(markdown_docs_source ../../../docs ABSOLUTE)
file(CREATE_LINK ${markdown_docs_source} ${CMAKE_CURRENT_BINARY_DIR}/docs/markdown SYMBOLIC)
execute_process(COMMAND ${CMAKE_COMMAND} -E env PIPENV_PIPFILE=${CMAKE_CURRENT_SOURCE_DIR}/../docs/Pipfile ${PipEnv} install)

View file

@ -20,10 +20,11 @@ Welcome to SixtyFPS C++'s documentation!
:maxdepth: 2
:caption: Contents:
markdown/langref.md
Introduction <README.md>
api/library_root
markdown/langref.md
Indices and tables
==================