Skip to content

Commit

Permalink
Fix documentation build.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Aug 28, 2023
1 parent 1b03f4c commit 77112ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"""

import re
import sys
from pathlib import Path

import colour_checker_detection as package
sys.path.append(str(Path(__file__).parent.parent))

import colour_checker_detection as package # noqa: E402

basename = re.sub(
"_(\\w)", lambda x: x.group(1).upper(), package.__name__.title()
Expand Down

0 comments on commit 77112ff

Please sign in to comment.