Browse files

Docs: Consider sending patches.

  • Loading branch information...
1 parent 08b9495 commit 44b3496129f35488de919fbfa77cdecb6cc796e0 @SimonSapin SimonSapin committed Apr 2, 2012
Showing with 7 additions and 0 deletions.
  1. +5 −0 docs/extending.rst
  2. +2 −0 docs/hacking.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
@@ -1,3 +1,5 @@
+.. _hacking:
Hacking tinycss

0 comments on commit 44b3496

Please sign in to comment.