Browse Source

Improved the doc images

pull/15/head
Eugenio Parodi 5 years ago
parent
commit
eacae54f59
  1. 5
      Makefile
  2. 2
      TermTk/TTkCore/signal.py
  3. 8
      TermTk/TTkLayouts/__init__.py
  4. 1
      docs/source/_static/Layout.HLD.001.svg
  5. 1
      docs/source/_static/Signal.Slots.001.svg

5
Makefile

@ -14,11 +14,12 @@ doc: .venv
# rm -rf docs/html ; \ # rm -rf docs/html ; \
# pdoc --html TermTk -o docs/html ; \ # pdoc --html TermTk -o docs/html ; \
. .venv/bin/activate ; \ . .venv/bin/activate ; \
rm -rf docs/html ; \ rm -rf docs/build ; \
rm -rf docs/source/autogen.* ; \ rm -rf docs/source/autogen.* ; \
# sphinx-apidoc -o docs/source/TermTk/ -e TermTk/ ; \ # sphinx-apidoc -o docs/source/TermTk/ -e TermTk/ ; \
make -C docs/ clean ; \ make -C docs/ clean ; \
make -C docs/ html ; make -C docs/ html ; \
cp -a docs/images docs/build/html/_images ;
runGittk: .venv runGittk: .venv
. .venv/bin/activate ; \ . .venv/bin/activate ; \

2
TermTk/TTkCore/signal.py

@ -49,7 +49,7 @@ Signal and Slots
| A slot is a function that is called in response to a particular signal. | A slot is a function that is called in response to a particular signal.
| `TermTk <https://github.com/ceccopierangiolieugenio/pyTermTk>`_'s :mod:`~TermTk.TTkWidgets` have many predefined signals/slots, but it is possible to subclass any :mod:`~TermTk.TTkWidgets` and add our own signals/slots to them. | `TermTk <https://github.com/ceccopierangiolieugenio/pyTermTk>`_'s :mod:`~TermTk.TTkWidgets` have many predefined signals/slots, but it is possible to subclass any :mod:`~TermTk.TTkWidgets` and add our own signals/slots to them.
.. image:: /_static/Signal.Slots.001.svg .. image:: /../_images/Signal.Slots.001.svg
Methods Methods
======= =======

8
TermTk/TTkLayouts/__init__.py

@ -1,3 +1,9 @@
'''
Layouts
=======
.. image:: /../_images/Layout.HLD.001.svg
'''
from .layout import * from .layout import *
from .gridlayout import * from .gridlayout import *
from .boxlayout import * from .boxlayout import *

1
docs/source/_static/Layout.HLD.001.svg

@ -1 +0,0 @@
../../images/Layout.HLD.001.svg

1
docs/source/_static/Signal.Slots.001.svg

@ -1 +0,0 @@
../../images/Signal.Slots.001.svg
Loading…
Cancel
Save