This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
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 #10 from RonnyPfannschmidt/docs
set up a initial sphinx skeleton
- Loading branch information
Showing
7 changed files
with
87 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
about deprecate | ||
================ | ||
|
||
The deprecate library provides decorators and primitives to support | ||
API deprecation and experimentation. | ||
|
||
The goal is to support rich and documenting deprecation of API's | ||
as projects move towards new needs. |
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,8 @@ | ||
Api | ||
=== | ||
|
||
|
||
|
||
.. automodule:: deprecate | ||
|
||
.. autofunction:: deprecated |
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,4 @@ | ||
Basics | ||
======= | ||
|
||
TODO!! |
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,36 @@ | ||
# -*- coding: utf-8 -*- | ||
import pkg_resources | ||
__distribution = pkg_resources.get_distribution('deprecate') | ||
|
||
extensions = [ | ||
'sphinx.ext.autodoc', | ||
'sphinx.ext.doctest', | ||
] | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
source_suffix = '.rst' | ||
master_doc = 'index' | ||
|
||
# General information about the project. | ||
project = __distribution.project_name | ||
copyright = u'2015, Milan Falešník' | ||
author = u'Milan Falešník' | ||
|
||
|
||
# The short X.Y version. | ||
version = u'1.x' | ||
# The full version, including alpha/beta/rc tags. | ||
release = __distribution.version | ||
version = '.'.join(release.split('.')[:2]) | ||
|
||
exclude_patterns = [] | ||
|
||
pygments_style = 'sphinx' | ||
todo_include_todos = False | ||
|
||
|
||
html_theme = 'haiku' | ||
html_static_path = ['_static'] | ||
|
||
htmlhelp_basename = 'deprecatedoc' |
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,21 @@ | ||
|
||
Welcome to deprecate's documentation! | ||
===================================== | ||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
about | ||
basics | ||
api | ||
|
||
|
||
|
||
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