Skip to content

Commit a647443

Browse files
committed
Initial import
0 parents  commit a647443

File tree

10 files changed

+406
-0
lines changed

10 files changed

+406
-0
lines changed

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.DS_Store
2+
*.pyc
3+
*$py.class
4+
*~
5+
.*.sw[pon]
6+
dist/
7+
*.egg-info
8+
*.egg
9+
*.egg/
10+
doc/__build/*
11+
build/
12+
.build/
13+
pip-log.txt
14+
.directory
15+
erl_crash.dump
16+
*.db
17+
Documentation/
18+
.tox/
19+
.ropeproject/
20+
.project
21+
.pydevproject
22+
.idea/
23+
.coverage
24+
celery/tests/cover/
25+
.ve*
26+
cover/
27+
.vagrant/
28+
*.sqlite3

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Ask Solem <[email protected]>
2+

Changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Changes
2+
=======
3+
4+
.. _version-1.0.0:
5+
6+
1.0.0
7+
=====
8+
:release-date: 2016-04-07 05:19 P.M PDT
9+
:release-by: Ask Solem
10+
11+
- Initial release

LICENSE

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
Copyright (c) 2012-2016 Ask Solem & contributors. All rights reserved.
2+
3+
SPHINX2RST is licensed under The BSD License (3 Clause, also known as
4+
the new BSD license). The license is an OSI approved Open Source
5+
license and is GPL-compatible(1).
6+
7+
The license text can also be found here:
8+
http://www.opensource.org/licenses/BSD-3-Clause
9+
10+
License
11+
=======
12+
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are met:
15+
* Redistributions of source code must retain the above copyright
16+
notice, this list of conditions and the following disclaimer.
17+
* Redistributions in binary form must reproduce the above copyright
18+
notice, this list of conditions and the following disclaimer in the
19+
documentation and/or other materials provided with the distribution.
20+
* Neither the name of Ask Solem, nor the
21+
names of its contributors may be used to endorse or promote products
22+
derived from this software without specific prior written permission.
23+
24+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
26+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Ask Solem OR CONTRIBUTORS
28+
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34+
POSSIBILITY OF SUCH DAMAGE.
35+
36+
Documentation License
37+
=====================
38+
39+
The documentation portion of SPHINX2RST (the rendered contents of the
40+
"docs" directory of a software distribution or checkout) is supplied
41+
under the "Creative Commons Attribution-ShareAlike 4.0
42+
International" (CC BY-SA 4.0) License as described by
43+
http://creativecommons.org/licenses/by-sa/4.0/
44+
45+
Footnotes
46+
=========
47+
(1) A GPL-compatible license makes it possible to
48+
combine SPHINX2RST with other software that is released
49+
under the GPL, it does not mean that we're distributing
50+
SPHINX2RST under the GPL license. The BSD license, unlike the GPL,
51+
let you distribute a modified version without making your
52+
changes open source.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.rst Changelog LICENSE

README.rst

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
=====================================================================
2+
Sphinx2RST
3+
=====================================================================
4+
5+
:Version: 1.0.0
6+
:Download: http://pypi.python.org/pypi/sphinx2rst/
7+
:Source: http://github.com/ask/sphinx2rst/
8+
:Keywords: Sphinx, documentation, python
9+
10+
About
11+
=====
12+
13+
The ``sphinx2rst`` command, converts basic Sphinx markup to
14+
pure reStructuredText format.
15+
16+
.. _installation:
17+
18+
Installation
19+
============
20+
21+
You can install sphinx2rst the Python Package Index (PyPI)
22+
or from source.
23+
24+
To install using `pip`,::
25+
26+
$ pip install -U sphinx2rst
27+
28+
To install using `easy_install`,::
29+
30+
$ easy_install -U sphinx2rst
31+
32+
.. _installing-from-source:
33+
34+
Downloading and installing from source
35+
--------------------------------------
36+
37+
Download the latest version of sphinx2rst from
38+
http://pypi.python.org/pypi/sphinx2rst
39+
40+
You can install it by doing the following,::
41+
42+
$ tar xvfz sphinx2rst-0.0.0.tar.gz
43+
$ cd spinx2rst-0.0.0
44+
$ python setup.py build
45+
# python setup.py install
46+
47+
The last command must be executed as a privileged user if
48+
you are not currently using a virtualenv.
49+
50+
.. _installing-from-git:
51+
52+
Using the development version
53+
-----------------------------
54+
55+
With pip
56+
~~~~~~~~
57+
58+
You can install the latest snapshot of sphinx2rst using the following
59+
pip command::
60+
61+
$ pip install https://github.com/ask/sphinx2rst#egg=sphinx2rst
62+

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[wheel]
2+
universal = 1

setup.py

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
try:
5+
from setuptools import setup
6+
except ImportError:
7+
raise
8+
from ez_setup import use_setuptools
9+
use_setuptools()
10+
from setuptools import setup
11+
12+
import os
13+
import codecs
14+
15+
# -*- Classifiers -*-
16+
17+
classes = """
18+
Development Status :: 5 - Production/Stable
19+
Programming Language :: Python
20+
Programming Language :: Python :: 2
21+
Programming Language :: Python :: 2.7
22+
Programming Language :: Python :: 3
23+
Programming Language :: Python :: 3.3
24+
Programming Language :: Python :: 3.4
25+
Programming Language :: Python :: 3.5
26+
License :: OSI Approved :: BSD License
27+
Intended Audience :: Developers
28+
Operating System :: OS Independent
29+
"""
30+
classifiers = [s.strip() for s in classes.split('\n') if s]
31+
32+
# -*- Long Description -*-
33+
34+
if os.path.exists('README.rst'):
35+
long_description = codecs.open('README.rst', 'r', 'utf-8').read()
36+
else:
37+
long_description = 'See http://pypi.python.org/pypi/sphinx2rst'
38+
39+
# -*- Entry Points -*- #
40+
41+
# -*- %%% -*-
42+
43+
44+
setup(
45+
name='sphinx2rst',
46+
version='1.0.0',
47+
description='Convert Sphinx to rst',
48+
author='Ask Solem',
49+
author_email='[email protected]',
50+
url='https://github.com/ask/sphinx2rst',
51+
platforms=['any'],
52+
license='BSD',
53+
packages=['sphinx2rst'],
54+
zip_safe=False,
55+
classifiers=classifiers,
56+
entry_points={
57+
'console_scripts': [
58+
'sphinx2rst = sphinx2rst.__main__:main',
59+
],
60+
},
61+
long_description=long_description,
62+
)

0 commit comments

Comments
 (0)