Ver a proveniência

Some cleanup, adjustments; add dist to .gitignore.

tags/v0.1.1
Ben Kurtovic há 12 anos
ascendente
cometimento
7e26ddf6f5
3 ficheiros alterados com 7 adições e 6 eliminações
  1. +1
    -0
      .gitignore
  2. +4
    -4
      README.rst
  3. +2
    -2
      docs/index.rst

+ 1
- 0
.gitignore Ver ficheiro

@@ -4,4 +4,5 @@
.DS_Store
__pycache__
build
dist
docs/_build

+ 4
- 4
README.rst Ver ficheiro

@@ -28,9 +28,9 @@ Normal usage is rather straightforward (where ``text`` is page text)::
>>> import mwparserfromhell
>>> wikicode = mwparserfromhell.parse(text)

``wikicode`` is a ``mwparserfromhell.wikicode.Wikicode`` object, which acts
like an ordinary ``unicode`` object (or ``str`` in Python 3) with some extra
methods. For example::
``wikicode`` is a ``mwparserfromhell.Wikicode`` object, which acts like an
ordinary ``unicode`` object (or ``str`` in Python 3) with some extra methods.
For example::

>>> text = "I has a template! {{foo|bar|baz|eggs=spam}} See it?"
>>> wikicode = mwparserfromhell.parse(text)
@@ -131,7 +131,7 @@ following code (via the API_)::

.. _MediaWiki: http://mediawiki.org
.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
.. _Σ: http://en.wikipedia.org/wiki/User:Σ
.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3
.. _Python Package Index: http://pypi.python.org
.. _get pip: http://pypi.python.org/pypi/pip
.. _EarwigBot: https://github.com/earwig/earwigbot


+ 2
- 2
docs/index.rst Ver ficheiro

@@ -1,4 +1,4 @@
MWParserFromHell v0.1 Documentation
MWParserFromHell v0.2 Documentation
===================================

:py:mod:`mwparserfromhell` (the *MediaWiki Parser from Hell*) is a Python
@@ -9,7 +9,7 @@ Developed by Earwig_ with help from `Σ`_.

.. _MediaWiki: http://mediawiki.org
.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
.. _Σ: http://en.wikipedia.org/wiki/User:Σ
.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3

Installation
------------


Carregando…
Cancelar
Guardar