From bee74c0ced131b1c5f03efc5064c7c2bca0c7869 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 27 Jul 2013 17:39:38 -0400 Subject: [PATCH] Some doc updates. --- CHANGELOG | 1 + README.rst | 2 +- docs/changelog.rst | 2 ++ docs/index.rst | 7 +++++-- mwparserfromhell/nodes/tag.py | 4 ++-- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index cbe2933..bb07cf3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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): diff --git a/README.rst b/README.rst index df4d732..26b63bb 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/docs/changelog.rst b/docs/changelog.rst index 4bf86b7..afb7c5f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,6 +7,8 @@ v0.3 Unreleased (`changes `__): +- Added complete support for HTML :py:class:`Tags <.Tag>`, along with + appropriate unit tests. - Various fixes and cleanup. v0.2 diff --git a/docs/index.rst b/docs/index.rst index 0603daf..a6d2df3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 diff --git a/mwparserfromhell/nodes/tag.py b/mwparserfromhell/nodes/tag.py index dc78b34..1d10a47 100644 --- a/mwparserfromhell/nodes/tag.py +++ b/mwparserfromhell/nodes/tag.py @@ -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 ``
`` and ````. 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 ``
`` and - ``
  • ``. See :py:func:`tag_defs.is_single`. This field only has an + ``
  • ``. See :py:func:`.tag_defs.is_single`. This field only has an effect if :py:attr:`self_closing` is also ``True``. """ return self._implicit