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:
parent
27e20fd5c3
commit
c52acf2a1f
2 changed files with 6 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue