Skip to content

Commit

Permalink
Add sbysrc to path during docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Jun 19, 2023
1 parent 27e20fd commit 1a4c2a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
import os
import sys

sys.path += [os.path.join(os.path.dirname(__file__),
"..", "..", "sbysrc")]

project = 'YosysHQ SBY'
author = 'YosysHQ GmbH'
copyright = '2023 YosysHQ GmbH'
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ one of the available CAD suites, it can be called as follows. Note that this in
available via `sby --help`. For more information on installation, see :ref:`install-doc`.

.. argparse::
:filename: ../sbysrc/sby_cmdline.py
:module: sby_cmdline
:func: parser_func
:prog: sby

0 comments on commit 1a4c2a5

Please sign in to comment.