-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from wsanchez/docs
Add documentation to build
- Loading branch information
Showing
20 changed files
with
238 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
extensions = ["sphinx.ext.autodoc"] | ||
|
||
# Project info | ||
|
||
project = "sample-klein-app" | ||
copyright = "2016-2017" | ||
author = u"Wilfredo S\xe1nchez Vega" | ||
|
||
# File names | ||
|
||
templates_path = [] | ||
html_static_path = [] | ||
source_suffix = [".rst", ".md"] | ||
master_doc = "index" | ||
exclude_patterns = [] | ||
|
||
# Styling | ||
|
||
html_theme = "sphinx_rtd_theme" | ||
|
||
# Pedantry | ||
|
||
nitpicky = True | ||
nitpick_ignore = [ | ||
# Bugs in Python documentation | ||
("py:class", "float" ), | ||
("py:class", "int" ), | ||
("py:class", "object" ), | ||
("py:class", "Union" ), | ||
("py:data" , "sys.argv" ), | ||
("py:exc" , "ValueError"), | ||
("py:obj" , "None" ), | ||
|
||
# Need to learn how to intersphinx with Twisted | ||
("py:class", "twisted.internet.defer.Deferred" ), | ||
("py:class", "twisted.trial._synctest.SynchronousTestCase" ), | ||
("py:class", "twisted.trial.unittest.SynchronousTestCase" ), | ||
("py:class", "twisted.trial.unittest.TestCase" ), | ||
("py:const", "twisted.web.http.NOT_FOUND" ), | ||
("py:meth" , "twisted.trial.unittest.SynchronousTestCase.successResultOf"), | ||
("py:mod" , "twisted.trial.unittest" ), | ||
|
||
# Need to learn how to intersphinx with Klein | ||
("py:class", "klein.app.Klein"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Sample Klein Application | ||
======================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
sample_klein_app | ||
|
||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r requirements.txt | ||
mock | ||
hypothesis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ | |
|
||
def main(): | ||
""" | ||
Run L{setup}. | ||
Run :func:`setup`. | ||
""" | ||
setup( | ||
name=name, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
""" | ||
Tests for L{sample_klein_app.application}. | ||
Tests for :mod:`sample_klein_app.application`. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.