From 53802fafeeea124c7c996a6ba687e7864768217a Mon Sep 17 00:00:00 2001 From: nsubiron Date: Wed, 8 May 2019 15:40:09 +0200 Subject: [PATCH] Fix readthedocs navigation and page order --- .readthedocs.yml | 14 ++++++++++++++ Docs/index.md | 1 - Docs/requirements.txt | 1 + mkdocs.yml | 1 - 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .readthedocs.yml create mode 100644 Docs/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000..a9958cf3c --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,14 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +mkdocs: + configuration: mkdocs.yml + +formats: all + +python: + version: 3.7 + install: + - requirements: Docs/requirements.txt diff --git a/Docs/index.md b/Docs/index.md index 6778c3810..0d6d6bd47 100644 --- a/Docs/index.md +++ b/Docs/index.md @@ -10,7 +10,6 @@ * [Getting started](getting_started.md) * [Python API tutorial](python_api_tutorial.md) * [Configuring the simulation](configuring_the_simulation.md) - * [Cameras and sensors](cameras_and_sensors.md) * [F.A.Q.](faq.md) diff --git a/Docs/requirements.txt b/Docs/requirements.txt new file mode 100644 index 000000000..13fbca10d --- /dev/null +++ b/Docs/requirements.txt @@ -0,0 +1 @@ +mkdocs >= 1.0 diff --git a/mkdocs.yml b/mkdocs.yml index 4bc069d58..c1b432212 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -9,7 +9,6 @@ nav: - 'Getting started': 'getting_started.md' - 'Python API tutorial': 'python_api_tutorial.md' - 'Configuring the simulation': 'configuring_the_simulation.md' - # - 'Measurements': 'measurements.md' - 'Cameras and sensors': 'cameras_and_sensors.md' - 'F.A.Q.': 'faq.md' - Building from source: