Explorar el Código

Some doc updates.

tags/v0.3
Ben Kurtovic hace 11 años
padre
commit
bee74c0ced
Se han modificado 5 ficheros con 11 adiciones y 5 borrados
  1. +1
    -0
      CHANGELOG
  2. +1
    -1
      README.rst
  3. +2
    -0
      docs/changelog.rst
  4. +5
    -2
      docs/index.rst
  5. +2
    -2
      mwparserfromhell/nodes/tag.py

+ 1
- 0
CHANGELOG Ver fichero

@@ -1,5 +1,6 @@
v0.3 (unreleased):

- Added complete support for HTML Tags, along with appropriate unit tests.
- Various fixes and cleanup.

v0.2 (released June 20, 2013):


+ 1
- 1
README.rst Ver fichero

@@ -19,7 +19,7 @@ The easiest way to install the parser is through the `Python Package Index`_,
so you can install the latest release with ``pip install mwparserfromhell``
(`get pip`_). Alternatively, get the latest development version::

git clone git://github.com/earwig/mwparserfromhell.git
git clone https://github.com/earwig/mwparserfromhell.git
cd mwparserfromhell
python setup.py install



+ 2
- 0
docs/changelog.rst Ver fichero

@@ -7,6 +7,8 @@ v0.3
Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.2...develop>`__):

- Added complete support for HTML :py:class:`Tags <.Tag>`, along with
appropriate unit tests.
- Various fixes and cleanup.

v0.2


+ 5
- 2
docs/index.rst Ver fichero

@@ -5,11 +5,14 @@ MWParserFromHell v\ |version| Documentation
package that provides an easy-to-use and outrageously powerful parser for
MediaWiki_ wikicode. It supports Python 2 and Python 3.

Developed by Earwig_ with help from `Σ`_.
Developed by Earwig_ with contributions from `Σ`_, Legoktm_, and others.
Development occurs on GitHub_.

.. _MediaWiki: http://mediawiki.org
.. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
.. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3
.. _Legoktm: http://en.wikipedia.org/wiki/User:Legoktm
.. _GitHub: https://github.com/earwig/mwparserfromhell

Installation
------------
@@ -18,7 +21,7 @@ The easiest way to install the parser is through the `Python Package Index`_,
so you can install the latest release with ``pip install mwparserfromhell``
(`get pip`_). Alternatively, get the latest development version::

git clone git://github.com/earwig/mwparserfromhell.git
git clone https://github.com/earwig/mwparserfromhell.git
cd mwparserfromhell
python setup.py install



+ 2
- 2
mwparserfromhell/nodes/tag.py Ver fichero

@@ -144,7 +144,7 @@ class Tag(Node):
This makes the tag look like a lone close tag. It is technically
invalid and is only parsable Wikicode when the tag itself is
single-only, like ``<br>`` and ``<img>``. See
:py:func:`tag_defs.is_single_only`.
:py:func:`.tag_defs.is_single_only`.
"""
return self._invalid

@@ -153,7 +153,7 @@ class Tag(Node):
"""Whether the tag is implicitly self-closing, with no ending slash.

This is only possible for specific "single" tags like ``<br>`` and
``<li>``. See :py:func:`tag_defs.is_single`. This field only has an
``<li>``. See :py:func:`.tag_defs.is_single`. This field only has an
effect if :py:attr:`self_closing` is also ``True``.
"""
return self._implicit


Cargando…
Cancelar
Guardar