From a22a4d5d3f9ba6ff6c00d85550dae20c915e3126 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Mon, 14 Jun 2021 19:37:22 +0100 Subject: [PATCH] Attempt to fix doc links with a temporary patch --- doc/mkdocs.yml | 5 +++++ doc/source/css/extra.css | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/mkdocs.yml b/doc/mkdocs.yml index 90101a2d..4db40541 100644 --- a/doc/mkdocs.yml +++ b/doc/mkdocs.yml @@ -1,4 +1,9 @@ site_name: Voxel Tools documentation +# TODO This should be changed to an environment variable +# This is fine for now, but when we have to support multiple versions of the documentation, +# the URL will vary, so in the long term we should not hardcode it here. +# This would be needed: https://github.com/readthedocs/readthedocs.org/issues/8260 +site_url: https://voxel-tools.readthedocs.io/en/latest/ theme: readthedocs docs_dir: source diff --git a/doc/source/css/extra.css b/doc/source/css/extra.css index 94f9ca19..047a2d93 100644 --- a/doc/source/css/extra.css +++ b/doc/source/css/extra.css @@ -1,4 +1,4 @@ -/* Without this, top-level items are barely recognizable from second-level */ +/* Without this, top-level items in the navigation bar are barely recognizable from second-level */ .caption { color: #5599ff; }