From 648dbc3e780b999a76386e3cbedb4bf7631f1eea Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Mon, 12 Aug 2024 09:44:48 -0700 Subject: [PATCH] [docs] Fix building the API reference. Why? docs are great I noticed the docs have an empty API reference page; a quick check locally seems to confirm the problem is that the usual sphinx `sys.path` adjustments predate moving the source into `src/hypercorn`; this PR fixes the path accordingly. (Happy to _remove_ the `../` entry too, but wasn't sure if something else has quietly grown a dep on that in the docs.) --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index 45b063e1..cd54c16f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ import os import sys sys.path.insert(0, os.path.abspath('../')) +sys.path.insert(0, os.path.abspath('../src')) from importlib.metadata import version as meta_version