Skip to content

Commit

Permalink
Initial documentation structure
Browse files Browse the repository at this point in the history
This is a first commit of ReactiveX#270, to start structuring a documentation.
For now it contains empty sections, and references to the existing
APIs (observable, observer, subject, and operators).
  • Loading branch information
MainRo committed Jan 5, 2019
1 parent fd70918 commit 8fee9ae
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 11 deletions.
6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('../rx'))
sys.path.insert(0, os.path.abspath('../'))


# -- Project information -----------------------------------------------------
Expand All @@ -24,9 +24,9 @@
author = 'Dag Brattli'

# The short X.Y version
version = '2.0'
version = '3.0'
# The full version, including alpha/beta/rc tags
release = '2.0.0-alpha1'
release = '3.0.0-alpha1'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions doc/get_started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. get_started
Get Started
============
18 changes: 10 additions & 8 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to RxPY's documentation!
================================
The Reactive Extensions for Python (RxPY)
==========================================

.. toctree::
:maxdepth: 2
:caption: Contents:
RxPY is a library for composing asynchronous and event-based programs using
observable collections and pipable query operators in Python.

.. automodule:: rx.core
.. toctree::
:maxdepth: 2
:caption: Contents:

.. autoclass:: ObservableBase
:members:
installation
get_started
reference

Indices and tables
==================
Expand Down
4 changes: 4 additions & 0 deletions doc/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. Installation
Installation
=============
13 changes: 13 additions & 0 deletions doc/reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. reference:
Reference
==========


.. toctree::
:name: reference

Observable Factory <reference_observable>
Observer <reference_observer>
Subject <reference_subject>
Operators <reference_operators>
7 changes: 7 additions & 0 deletions doc/reference_observable.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. reference_observable:
Observable Factory
=====================

.. automodule:: rx
:members:
7 changes: 7 additions & 0 deletions doc/reference_observer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. reference_observer:
Observer
========

.. autoclass:: rx.core.Observer
:members:
7 changes: 7 additions & 0 deletions doc/reference_operators.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. reference_operators:
Operators
=========

.. automodule:: rx.operators
:members:
16 changes: 16 additions & 0 deletions doc/reference_subject.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. reference_subject:
Subject
========

.. autoclass:: rx.subjects.Subject
:members:

.. autoclass:: rx.subjects.BehaviorSubject
:members:

.. autoclass:: rx.subjects.ReplaySubject
:members:

.. autoclass:: rx.subjects.AsyncSubject
:members:

0 comments on commit 8fee9ae

Please sign in to comment.