From 24662e78b351215c4c008f83c3ff0798f0ffc0b9 Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Tue, 15 Oct 2019 16:37:59 +0200 Subject: [PATCH] Add Symbolator for generating symbols of verilog models Signed-off-by: Robert Winkler --- environment.yml | 3 +++ requirements.txt | 1 + source/conf.py | 7 ++++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index cdd780b..f7ff1d6 100644 --- a/environment.yml +++ b/environment.yml @@ -6,6 +6,9 @@ channels: dependencies: - doxygen - cmake + - pygobject + - cairo + - pango - pip - pip: - -r file:requirements.txt diff --git a/requirements.txt b/requirements.txt index e1fbea1..8c97da1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ Sphinx==2.0.0 git+http://github.com/SymbiFlow/sphinx_materialdesign_theme.git@master#egg=sphinx_symbiflow_theme sphinx-markdown-tables breathe==4.13.1 +symbolator==1.0.2 diff --git a/source/conf.py b/source/conf.py index dcc469d..2dc51bb 100644 --- a/source/conf.py +++ b/source/conf.py @@ -25,7 +25,8 @@ needs_sphinx = '1.6' extensions = [ 'sphinx.ext.todo', 'sphinx.ext.imgmath', # breathe - 'breathe' + 'breathe', + 'symbolator_sphinx', ] numfig = True @@ -318,4 +319,8 @@ breathe_projects = { "prjxray" : "../build/doxygen/prjxray/xml", } +### SYMBOLATOR ### + +symbolator_cmd_args = ['--transparent'] +symbolator_output_format = 'svg'