Skip to content

Commit

Permalink
⚡ Update Sphinx extensions and add toggle button
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 8, 2023
1 parent 4628913 commit 8b795a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'sphinx_copybutton',
'myst_parser',
'sphinxext.remoteliteralinclude',
'sphinx_togglebutton',
# 'sphinx_inline_tabs',
# 'sphinx_reredirects',
# 'sphinx_design',
Expand Down
9 changes: 5 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ FindMyOrder
How To Use it
==================
the following example illustrate how to use the module

.. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/examples/example.py
:language: python
:class: dropdown
.. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/examples/example.py
:language: python


Settings
==================
Setting available via settings.toml

.. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/findmyorder/default_settings.toml
:class: dropdown
.. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/findmyorder/default_settings.toml
:language: python

FMO class
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sphinx-copybutton= "^0.5.2"
myst-parser = "^2.0.0"
sphinx-notfound-page = "^0.8.3"
sphinxext-remoteliteralinclude = "^0.4.0"

sphinx-togglebutton = "*"

[tool.pytest.ini_options]
pythonpath = "."
Expand Down

0 comments on commit 8b795a7

Please sign in to comment.