A bit more on the docs.

This commit is contained in:
Simon Forman 2019-05-07 10:23:43 -07:00
parent 028ecc0287
commit 13515b071b
9 changed files with 55 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.core
:members:

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.display
:members:

View File

@ -6,31 +6,42 @@
Welcome to Joy VUI's documentation!
===================================
A simple Graphical User Interface for the Joy programming language,
written using Pygame to bypass X11 et. al., modeled on the Oberon OS, and
intended to be just functional enough to support bootstrapping further Joy
development.
Screenshot
-----------------------------
.. image:: _static/Joy-VUI-screenshot.PNG
If you have PyGame and Dulwich installed you should be able to start the
VUI with the following command:
::
python -m joy.vui
This will create a `~/.thun` directory in your home dir to store your
data.
Modules
-----------------------------
.. image:: _static/packages_Vui.png
.. toctree::
:maxdepth: 2
:caption: Contents:
.. automodule:: joy.vui.core
:members:
.. automodule:: joy.vui.display
:members:
.. automodule:: joy.vui.viewer
:members:
.. automodule:: joy.vui.text_viewer
:members:
.. automodule:: joy.vui.stack_viewer
:members:
core
display
viewer
text_viewer
stack_viewer
persist_task
Indices and tables

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.persist_task
:members:

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.stack_viewer
:members:

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.text_viewer
:members:

View File

@ -0,0 +1,3 @@
.. automodule:: joy.vui.viewer
:members:

View File

@ -17,6 +17,12 @@
# You should have received a copy of the GNU General Public License
# along with Thun. If not see <http://www.gnu.org/licenses/>.
#
'''
Persist Task
===========================
'''
import os, pickle, traceback
from collections import Counter
from dulwich.errors import NotGitRepository