From 3c7f395475ff9d1aae4134600b44f5d94e882a47 Mon Sep 17 00:00:00 2001 From: Fernando Raya Date: Wed, 17 Jan 2024 08:06:40 +0100 Subject: [PATCH 1/2] Integrate with Furo document theme Remove error shown by Furo theme if combined with `contents:` directive. --- documentation/source/index.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/documentation/source/index.rst b/documentation/source/index.rst index c3604a9..7a40101 100644 --- a/documentation/source/index.rst +++ b/documentation/source/index.rst @@ -12,14 +12,10 @@ The :program:`dylan` command-line tool * publishes packages to the Dylan package catalog. .. toctree:: - :hidden: + :maxdepth: 2 The pacman Package Manager -.. contents:: - :depth: 2 - :local: - Terminology =========== From 34b537e9b50cbd9f0e752a1469cb82206b98878b Mon Sep 17 00:00:00 2001 From: Fernando Raya Date: Wed, 17 Jan 2024 08:09:34 +0100 Subject: [PATCH 2/2] Integrate documentation with dylan-tool Integrate documentation with `dylan-tool` that downloads `sphinx-extensions` to `_packages` --- documentation/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/source/conf.py b/documentation/source/conf.py index 9d0a2e8..6d4d8df 100644 --- a/documentation/source/conf.py +++ b/documentation/source/conf.py @@ -12,7 +12,7 @@ # import os import sys -sys.path.insert(0, os.path.abspath('../../ext/sphinx-extensions/sphinxcontrib')) +sys.path.insert(0, os.path.abspath('../../_packages/sphinx-extensions/current/src/sphinxcontrib')) import dylan.themes as dylan_themes