3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-10-01 07:19:29 +00:00

docs: Make sphinx-argparse work independently of sphinx's cwd

This commit is contained in:
Jannis Harder 2023-06-19 11:39:37 +02:00
parent 27e20fd5c3
commit c52acf2a1f
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,7 @@
#!/usr/bin/env python3
import sys
import os
project = 'YosysHQ SBY'
author = 'YosysHQ GmbH'
copyright = '2023 YosysHQ GmbH'
@ -40,3 +43,5 @@ html_theme_options = {
extensions = ['sphinx.ext.autosectionlabel']
extensions += ['sphinxarg.ext']
sys.path.append(os.path.abspath(f"{__file__}/../../../sbysrc"))