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:
parent
cc84339b37
commit
7233fe6e87
2 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue