summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2015-10-14 09:14:53 -0700
committerTim Hatch <tim@timhatch.com>2015-10-14 09:14:53 -0700
commit61d57112fb74a3362244106bb94814394e0d4de9 (patch)
treed2f0316a80a1fdafd56ccf95737b59159e8b27ff
parent12a789a4608049824edbc66376c6366ccdc401e5 (diff)
downloadpygments-61d57112fb74a3362244106bb94814394e0d4de9.tar.gz
Update headers for Roboconf
-rw-r--r--pygments/lexers/roboconf.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/pygments/lexers/roboconf.py b/pygments/lexers/roboconf.py
index e3e8a836..ccbd2bb5 100644
--- a/pygments/lexers/roboconf.py
+++ b/pygments/lexers/roboconf.py
@@ -1,9 +1,25 @@
+# -*- coding: utf-8 -*-
+"""
+ pygments.lexers.roboconf
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+
+ Lexers for Roboconf DSL.
+
+ :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+"""
+
from pygments.lexer import RegexLexer, words, bygroups, re, include
from pygments.token import *
__all__ = ['RoboconfGraphLexer', 'RoboconfInstancesLexer']
class RoboconfGraphLexer(RegexLexer):
+ """
+ Lexer for `Roboconf <http://roboconf.net/en/roboconf.html>`_ graph files.
+
+ .. versadded:: 2.1
+ """
name = 'Roboconf Graph'
aliases = ['roboconf-graph']
filenames = ['*.graph']
@@ -31,6 +47,11 @@ class RoboconfGraphLexer(RegexLexer):
}
class RoboconfInstancesLexer(RegexLexer):
+ """
+ Lexer for `Roboconf <http://roboconf.net/en/roboconf.html>`_ instances files.
+
+ .. versadded:: 2.1
+ """
name = 'Roboconf Instances'
aliases = ['roboconf-instances']
filenames = ['*.instances']