Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Docs: Consider sending patches.

  • Loading branch information...
commit 44b3496129f35488de919fbfa77cdecb6cc796e0 1 parent 08b9495
@SimonSapin authored
Showing with 7 additions and 0 deletions.
  1. +5 −0 docs/extending.rst
  2. +2 −0  docs/hacking.rst
View
5 docs/extending.rst
@@ -9,6 +9,11 @@ They do so by sub-classing :class:`.css21.CSS21Parser` and overriding/extending
some of its methods. If fact, the parser is made of methods in a class
(rather than a set of functions) solely to enable this kind of sub-classing.
+tinycss is designed to enable you to have parser subclasses outside of
+tinycss, without monkey-patching. If however the syntax you added is for a
+W3C specification, consider including your subclass in a new tinycss module
+and send a pull request: see :ref:`hacking`.
+
.. currentmodule:: tinycss.css21
View
2  docs/hacking.rst
@@ -1,3 +1,5 @@
+.. _hacking:
+
Hacking tinycss
===============
Please sign in to comment.
Something went wrong with that request. Please try again.