3
0
Fork 0
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:
Krystine Sherwin 2024-06-10 18:41:15 +12:00
parent 5426bee107
commit a3844d4a30
No known key found for this signature in database
4 changed files with 22 additions and 16 deletions

View file

@ -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)