summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-11-26 22:06:43 +0100
committergbrandl <devnull@localhost>2006-11-26 22:06:43 +0100
commiteab5e8e32df7a2814cb2b09639f89159c78bae16 (patch)
treec55f6a228e4bf98786fd8ee6855fbccc0588c9bf /docs/src
parent5b1df1920c3c315f9e873ecf18cceb90452970c4 (diff)
downloadpygments-eab5e8e32df7a2814cb2b09639f89159c78bae16.tar.gz
[svn] Minor corrections in the docs.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/lexers.txt12
-rw-r--r--docs/src/styles.txt6
2 files changed, 9 insertions, 9 deletions
diff --git a/docs/src/lexers.txt b/docs/src/lexers.txt
index a39e7749..dd38209f 100644
--- a/docs/src/lexers.txt
+++ b/docs/src/lexers.txt
@@ -576,13 +576,13 @@ Text lexers
:Filename patterns: ``*.tex``, ``*.aux``, ``*.toc``
-Iterating over all Lexers
+Iterating over all lexers
=========================
-*requires pygments > 0.5.1*
+*requires Pygments > 0.5.1*
-To get all lexers (both the builtin and the plugin ones) you can
-use the `get_all_lexers` function from the `pygments.lexers`
+To get all lexers (both the builtin and the plugin ones), you can
+use the `get_all_lexers()` function from the `pygments.lexers`
module:
.. sourcecode:: pycon
@@ -596,5 +596,5 @@ module:
>>> i.next()
('XML+Ruby', ('xml+erb', 'xml+ruby'), (), ())
-As you can see the return value is an iterator which yields tuples
-in the form ``(name, aliases, filetypes, mimetypes)``
+As you can see, the return value is an iterator which yields tuples
+in the form ``(name, aliases, filetypes, mimetypes)``.
diff --git a/docs/src/styles.txt b/docs/src/styles.txt
index cda19155..bbcdf5cd 100644
--- a/docs/src/styles.txt
+++ b/docs/src/styles.txt
@@ -119,12 +119,12 @@ To get a list of known styles you can use this snippet:
['default', 'emacs', 'friendly', 'colorful']
-Getting a list of available Styles
+Getting a list of available styles
==================================
-*requires pygments > 0.5.1*
+*requires Pygments > 0.5.1*
-Because it could be that a plugin registered a style there is
+Because it could be that a plugin registered a style there, is
a way to iterate over all styles:
.. sourcecode:: pycon