Skip to content

Commit

Permalink
Start writing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 13, 2014
1 parent 8c3e7c3 commit e337538
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ __pycache__
/build/
/dist/
MANIFEST
docs/_build/
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Launch and control a process in a pseudo terminal
Launch a subprocess in a pseudo terminal (pty), and interact with both the
process and its pty.

Sometimes, piping stdin and stdout is not enough. There might be a password
prompt that doesn't read from stdin, output that changes when it's going to a
Expand Down
10 changes: 10 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Ptyprocess API
==============

.. module:: ptyprocess

.. autoclass:: PtyProcess

.. automethod:: spawn

.. autoclass:: PtyProcessUnicode
11 changes: 4 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
.. Ptyprocess documentation master file, created by
sphinx-quickstart on Mon Oct 13 11:03:02 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Ptyprocess
==========

Welcome to Ptyprocess's documentation!
======================================
.. include:: ../README.rst

Contents:

.. toctree::
:maxdepth: 2


api

Indices and tables
==================
Expand Down

0 comments on commit e337538

Please sign in to comment.