mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-25 22:35:32 +00:00
Docs: Use sby lexer
This commit is contained in:
parent
5426bee107
commit
a3844d4a30
4 changed files with 22 additions and 16 deletions
|
@ -2,6 +2,8 @@
|
|||
import sys
|
||||
import os
|
||||
|
||||
from sphinx.application import Sphinx
|
||||
|
||||
sys.path.append(os.path.abspath(f"{__file__}/../../../sbysrc"))
|
||||
|
||||
project = 'YosysHQ SBY'
|
||||
|
@ -18,3 +20,7 @@ html_static_path = ['../static']
|
|||
|
||||
extensions = ['sphinx.ext.autosectionlabel']
|
||||
extensions += ['sphinxarg.ext']
|
||||
|
||||
def setup(app: Sphinx) -> None:
|
||||
from furo_ys.lexers.SBYLexer import SBYLexer
|
||||
app.add_lexer("sby", SBYLexer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue