Skip to content

Commit d0fdb8e

Browse files
craigcitropgjones
authored andcommitted
[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.)
1 parent d89f1ef commit d0fdb8e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import os
2121
import sys
2222
sys.path.insert(0, os.path.abspath('../'))
23+
sys.path.insert(0, os.path.abspath('../src'))
2324

2425
from importlib.metadata import version as meta_version
2526

0 commit comments

Comments
 (0)