Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzocaputo committed Apr 1, 2024
1 parent 87e8987 commit 1ab0f14
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ lib/
dist/
.coverage
*.egg-info
docs/build/
docs/_build/
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ alabaster==0.7.16
antlr4-python3-runtime==4.9.3
asttokens==2.4.1
Babel==2.14.0
beautifulsoup4==4.12.3
certifi==2024.2.2
charset-normalizer==3.3.2
decorator==5.1.1
Expand Down Expand Up @@ -29,6 +30,7 @@ requests==2.31.0
simplejson==3.19.2
six==1.16.0
snowballstemmer==2.2.0
soupsieve==2.5
Sphinx==7.2.6
sphinx-autodoc-typehints==2.0.0
sphinx-markdown-builder==0.6.6
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ PySTIXView is based on `pyvis <https://github.com/WestHealth/pyvis/>` that allow
:caption: Contents:

installation
usage
documentation
usage
credits


Expand Down
5 changes: 5 additions & 0 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ PySTIXView can be used also in Jupyter Notebook:

.. image:: https://raw.githubusercontent.com/vincenzocaputo/PySTIXView/main/_media/jupyter_example.png

Example
=========



15 changes: 8 additions & 7 deletions pystixview/pystixview.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ class PySTIXView:
:param height: Height of the graph section in px
:param width: Width of the graph section in px
:param notebook: If True render the graph in a Jupyter Notebook
:param style: Style of node icons. It can be one of the following \
square-flat (default)
square-dark
square-lite
noback-flat
noback-dark
round-flat
:param style: Style of node icons. It can be one of the following:
* square-flat (default)
* square-dark
* square-lite
* noback-flat
* noback-dark
* round-flat
"""

__TLP_MARKINGS = {
Expand Down

0 comments on commit 1ab0f14

Please sign in to comment.