3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-12-05 13:06:54 +00:00

docs: Re-enable yoscrypt lexer

We are already using `furo-ys` for `SBYLexer`, we just needed `YoscryptLexer` as well.
This commit is contained in:
Krystine Sherwin 2025-11-25 13:15:41 +13:00
parent cc84339b37
commit 7233fe6e87
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -24,3 +24,6 @@ extensions += ['sphinxarg.ext']
def setup(app: Sphinx) -> None:
from furo_ys.lexers.SBYLexer import SBYLexer
app.add_lexer("sby", SBYLexer)
from furo_ys.lexers.YoscryptLexer import YoscryptLexer
app.add_lexer("yoscrypt", YoscryptLexer)

View file

@ -151,6 +151,7 @@ by a SystemVerilog file ``formal_bind.sv``.
.. _vhd_example: https://github.com/YosysHQ/sby/tree/master/docs/examples/vhd
.. literalinclude:: ../examples/vhd/formal_bind.sby
:language: yoscrypt
:start-after: [script]
:end-before: [files]
:caption: ``formal_bind.sby`` script section