summaryrefslogtreecommitdiff
path: root/doc/docs/styledevelopment.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/docs/styledevelopment.rst')
-rw-r--r--doc/docs/styledevelopment.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/docs/styledevelopment.rst b/doc/docs/styledevelopment.rst
index b75465bf..8c4ec2de 100644
--- a/doc/docs/styledevelopment.rst
+++ b/doc/docs/styledevelopment.rst
@@ -50,6 +50,13 @@ To make the style usable for Pygments, you must
...
'your': 'your::YourStyle',
+.. note::
+
+ You should *only* add it to the ``pygments.styles`` subdirectory if you are
+ working on a contribution to Pygments. You should not use that
+ method to extend an already existing copy of Pygments, use the plugins
+ mechanism for that.
+
Style Rules
===========