Skip to content

Commit

Permalink
Make config discoverable by build_requirements
Browse files Browse the repository at this point in the history
It expects the config to be in the same directory
Reverse spelling to en_US
  • Loading branch information
jibel committed Jul 4, 2024
1 parent d7f2ce0 commit e6bf546
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/.sphinx/build_requirements.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys

sys.path.append('./docs/')
sys.path.append('./')
from custom_conf import *

# The file contains helper functions and the mechanism to build the
Expand Down Expand Up @@ -113,7 +113,7 @@ def DeduplicateExtensions(extensionNames: [str]):
requirements = list(dict.fromkeys(requirements))
requirements.sort()

with open("docs/.sphinx/requirements.txt", 'w') as requirements_file:
with open(".sphinx/requirements.txt", 'w') as requirements_file:
requirements_file.write(
"# DO NOT MODIFY THIS FILE DIRECTLY!\n"
"#\n"
Expand Down
1 change: 1 addition & 0 deletions docs/.sphinx/conf.py
1 change: 1 addition & 0 deletions docs/.sphinx/custom_conf.py
2 changes: 1 addition & 1 deletion docs/.sphinx/spellingcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ matrix:
- name: rST files
aspell:
lang: en
d: en_GB
d: en_US
dictionary:
wordlists:
- .wordlist.txt
Expand Down

0 comments on commit e6bf546

Please sign in to comment.