Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
464e1f06
Commit
464e1f06
authored
2 years ago
by
Frans Skarman
Committed by
Oscar Gustafsson
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix docs build readme and add more _repr_*_
parent
5484238a
No related branches found
Branches containing commit
No related tags found
1 merge request
!178
Fix docs build readme and add more _repr_*_
Pipeline
#89547
passed
2 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-2
4 additions, 2 deletions
README.md
b_asic/signal_flow_graph.py
+13
-0
13 additions, 0 deletions
b_asic/signal_flow_graph.py
with
17 additions
and
2 deletions
README.md
+
4
−
2
View file @
464e1f06
...
@@ -171,8 +171,10 @@ pytest --mpl
...
@@ -171,8 +171,10 @@ pytest --mpl
### Generating documentation
### Generating documentation
In
`B-ASIC/docs_sphinx`
:
```
sphinx-build -b html docs_sphinx docs_sphinx/_build
```
or in
`B-ASIC/docs_sphinx`
:
```
```
make html
make html
```
```
...
...
This diff is collapsed.
Click to expand it.
b_asic/signal_flow_graph.py
+
13
−
0
View file @
464e1f06
...
@@ -1425,6 +1425,19 @@ class SFG(AbstractOperation):
...
@@ -1425,6 +1425,19 @@ class SFG(AbstractOperation):
def
_repr_mimebundle_
(
self
,
include
=
None
,
exclude
=
None
):
def
_repr_mimebundle_
(
self
,
include
=
None
,
exclude
=
None
):
return
self
.
sfg
().
_repr_mimebundle_
(
include
=
include
,
exclude
=
exclude
)
return
self
.
sfg
().
_repr_mimebundle_
(
include
=
include
,
exclude
=
exclude
)
def
_repr_jpeg_
(
self
):
return
self
.
sfg
().
_repr_mimebundle_
(
include
=
[
"
image/jpeg
"
])[
"
image/jpeg
"
]
def
_repr_png_
(
self
):
return
self
.
sfg
().
_repr_mimebundle_
(
include
=
[
"
image/png
"
])[
"
image/png
"
]
def
_repr_html_
(
self
):
return
self
.
sfg
().
_repr_mimebundle_
(
include
=
[
"
image/svg+xml
"
])[
"
image/svg+xlm
"
]
def
show_sfg
(
self
,
format
=
None
,
show_id
=
False
,
engine
=
None
)
->
None
:
def
show_sfg
(
self
,
format
=
None
,
show_id
=
False
,
engine
=
None
)
->
None
:
"""
"""
Shows a visual representation of the SFG using the default system viewer.
Shows a visual representation of the SFG using the default system viewer.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment