pygments.rb 0.5.4 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +40 -0
- data/README.md +3 -0
- data/lexers +0 -0
- data/lib/pygments/popen.rb +3 -2
- data/lib/pygments/version.rb +1 -1
- data/pygments.rb.gemspec +2 -1
- data/vendor/pygments-main/AUTHORS +20 -1
- data/vendor/pygments-main/CHANGES +55 -3
- data/vendor/pygments-main/LICENSE +1 -1
- data/vendor/pygments-main/MANIFEST.in +1 -1
- data/vendor/pygments-main/Makefile +5 -8
- data/vendor/pygments-main/REVISION +1 -1
- data/vendor/pygments-main/doc/Makefile +153 -0
- data/vendor/pygments-main/doc/_static/favicon.ico +0 -0
- data/vendor/pygments-main/doc/_static/logo_new.png +0 -0
- data/vendor/pygments-main/doc/_static/logo_only.png +0 -0
- data/vendor/pygments-main/doc/_templates/docssidebar.html +3 -0
- data/vendor/pygments-main/doc/_templates/indexsidebar.html +25 -0
- data/vendor/pygments-main/doc/_themes/pygments14/layout.html +98 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/bodybg.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/docbg.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/listitem.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/logo.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/pocoo.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +401 -0
- data/vendor/pygments-main/doc/_themes/pygments14/theme.conf +15 -0
- data/vendor/pygments-main/doc/conf.py +249 -0
- data/vendor/pygments-main/doc/docs/api.rst +316 -0
- data/vendor/pygments-main/doc/docs/authors.rst +4 -0
- data/vendor/pygments-main/doc/docs/changelog.rst +1 -0
- data/vendor/pygments-main/{docs/src/cmdline.txt → doc/docs/cmdline.rst} +9 -11
- data/vendor/pygments-main/{docs/src/filterdevelopment.txt → doc/docs/filterdevelopment.rst} +1 -1
- data/vendor/pygments-main/{docs/src/filters.txt → doc/docs/filters.rst} +4 -5
- data/vendor/pygments-main/{docs/src/formatterdevelopment.txt → doc/docs/formatterdevelopment.rst} +1 -1
- data/vendor/pygments-main/{docs/src/formatters.txt → doc/docs/formatters.rst} +6 -6
- data/vendor/pygments-main/doc/docs/index.rst +66 -0
- data/vendor/pygments-main/{docs/src/integrate.txt → doc/docs/integrate.rst} +3 -7
- data/vendor/pygments-main/{docs/src/java.txt → doc/docs/java.rst} +0 -0
- data/vendor/pygments-main/{docs/src/lexerdevelopment.txt → doc/docs/lexerdevelopment.rst} +13 -14
- data/vendor/pygments-main/{docs/src/lexers.txt → doc/docs/lexers.rst} +7 -5
- data/vendor/pygments-main/{docs/src/moinmoin.txt → doc/docs/moinmoin.rst} +0 -0
- data/vendor/pygments-main/{docs/src/plugins.txt → doc/docs/plugins.rst} +0 -0
- data/vendor/pygments-main/{docs/src/quickstart.txt → doc/docs/quickstart.rst} +22 -19
- data/vendor/pygments-main/{docs/src/rstdirective.txt → doc/docs/rstdirective.rst} +0 -0
- data/vendor/pygments-main/{docs/src/styles.txt → doc/docs/styles.rst} +2 -2
- data/vendor/pygments-main/{docs/src/tokens.txt → doc/docs/tokens.rst} +10 -7
- data/vendor/pygments-main/{docs/src/unicode.txt → doc/docs/unicode.rst} +8 -7
- data/vendor/pygments-main/doc/download.rst +41 -0
- data/vendor/pygments-main/doc/faq.rst +143 -0
- data/vendor/pygments-main/doc/index.rst +53 -0
- data/vendor/pygments-main/doc/languages.rst +151 -0
- data/vendor/pygments-main/doc/make.bat +190 -0
- data/vendor/pygments-main/{docs → doc}/pygmentize.1 +0 -0
- data/vendor/pygments-main/external/autopygmentize +65 -48
- data/vendor/pygments-main/external/markdown-processor.py +15 -15
- data/vendor/pygments-main/external/moin-parser.py +1 -1
- data/vendor/pygments-main/external/rst-directive.py +2 -3
- data/vendor/pygments-main/ez_setup.py +340 -234
- data/vendor/pygments-main/pygments/__init__.py +4 -4
- data/vendor/pygments-main/pygments/cmdline.py +81 -68
- data/vendor/pygments-main/pygments/console.py +1 -1
- data/vendor/pygments-main/pygments/filter.py +1 -1
- data/vendor/pygments-main/pygments/filters/__init__.py +11 -9
- data/vendor/pygments-main/pygments/formatter.py +3 -3
- data/vendor/pygments-main/pygments/formatters/__init__.py +5 -3
- data/vendor/pygments-main/pygments/formatters/_mapping.py +16 -5
- data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -1
- data/vendor/pygments-main/pygments/formatters/html.py +44 -26
- data/vendor/pygments-main/pygments/formatters/img.py +21 -14
- data/vendor/pygments-main/pygments/formatters/latex.py +104 -12
- data/vendor/pygments-main/pygments/formatters/other.py +53 -6
- data/vendor/pygments-main/pygments/formatters/rtf.py +30 -16
- data/vendor/pygments-main/pygments/formatters/svg.py +2 -2
- data/vendor/pygments-main/pygments/formatters/terminal.py +41 -1
- data/vendor/pygments-main/pygments/formatters/terminal256.py +2 -2
- data/vendor/pygments-main/pygments/lexer.py +59 -39
- data/vendor/pygments-main/pygments/lexers/__init__.py +38 -15
- data/vendor/pygments-main/pygments/lexers/_asybuiltins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_clbuiltins.py +15 -15
- data/vendor/pygments-main/pygments/lexers/_cocoabuiltins.py +73 -0
- data/vendor/pygments-main/pygments/lexers/_lassobuiltins.py +11 -1
- data/vendor/pygments-main/pygments/lexers/_luabuiltins.py +14 -8
- data/vendor/pygments-main/pygments/lexers/_mapping.py +81 -30
- data/vendor/pygments-main/pygments/lexers/_openedgebuiltins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_phpbuiltins.py +1067 -95
- data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +7 -7
- data/vendor/pygments-main/pygments/lexers/_robotframeworklexer.py +5 -4
- data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_sourcemodbuiltins.py +12 -7
- data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +112 -18
- data/vendor/pygments-main/pygments/lexers/_vimbuiltins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/agile.py +644 -382
- data/vendor/pygments-main/pygments/lexers/asm.py +66 -29
- data/vendor/pygments-main/pygments/lexers/compiled.py +1643 -174
- data/vendor/pygments-main/pygments/lexers/dalvik.py +27 -6
- data/vendor/pygments-main/pygments/lexers/dotnet.py +45 -33
- data/vendor/pygments-main/pygments/lexers/foxpro.py +3 -3
- data/vendor/pygments-main/pygments/lexers/functional.py +1510 -570
- data/vendor/pygments-main/pygments/lexers/graph.py +81 -0
- data/vendor/pygments-main/pygments/lexers/hdl.py +29 -30
- data/vendor/pygments-main/pygments/lexers/inferno.py +96 -0
- data/vendor/pygments-main/pygments/lexers/jvm.py +622 -207
- data/vendor/pygments-main/pygments/lexers/math.py +438 -70
- data/vendor/pygments-main/pygments/lexers/other.py +885 -171
- data/vendor/pygments-main/pygments/lexers/parsers.py +24 -24
- data/vendor/pygments-main/pygments/lexers/qbasic.py +157 -0
- data/vendor/pygments-main/pygments/lexers/rdf.py +99 -0
- data/vendor/pygments-main/pygments/lexers/shell.py +28 -25
- data/vendor/pygments-main/pygments/lexers/special.py +7 -8
- data/vendor/pygments-main/pygments/lexers/sql.py +56 -23
- data/vendor/pygments-main/pygments/lexers/templates.py +377 -59
- data/vendor/pygments-main/pygments/lexers/text.py +208 -46
- data/vendor/pygments-main/pygments/lexers/web.py +729 -264
- data/vendor/pygments-main/pygments/modeline.py +1 -1
- data/vendor/pygments-main/pygments/plugin.py +1 -1
- data/vendor/pygments-main/pygments/scanner.py +1 -1
- data/vendor/pygments-main/pygments/sphinxext.py +153 -0
- data/vendor/pygments-main/pygments/style.py +3 -2
- data/vendor/pygments-main/pygments/styles/__init__.py +5 -1
- data/vendor/pygments-main/pygments/styles/autumn.py +1 -1
- data/vendor/pygments-main/pygments/styles/borland.py +1 -1
- data/vendor/pygments-main/pygments/styles/bw.py +1 -1
- data/vendor/pygments-main/pygments/styles/colorful.py +1 -1
- data/vendor/pygments-main/pygments/styles/default.py +1 -1
- data/vendor/pygments-main/pygments/styles/emacs.py +1 -1
- data/vendor/pygments-main/pygments/styles/friendly.py +1 -1
- data/vendor/pygments-main/pygments/styles/fruity.py +1 -1
- data/vendor/pygments-main/pygments/styles/igor.py +29 -0
- data/vendor/pygments-main/pygments/styles/manni.py +1 -1
- data/vendor/pygments-main/pygments/styles/monokai.py +4 -4
- data/vendor/pygments-main/pygments/styles/murphy.py +1 -1
- data/vendor/pygments-main/pygments/styles/native.py +1 -1
- data/vendor/pygments-main/pygments/styles/paraiso_dark.py +125 -0
- data/vendor/pygments-main/pygments/styles/paraiso_light.py +125 -0
- data/vendor/pygments-main/pygments/styles/pastie.py +1 -1
- data/vendor/pygments-main/pygments/styles/perldoc.py +1 -1
- data/vendor/pygments-main/pygments/styles/rrt.py +1 -1
- data/vendor/pygments-main/pygments/styles/tango.py +1 -1
- data/vendor/pygments-main/pygments/styles/trac.py +1 -1
- data/vendor/pygments-main/pygments/styles/vim.py +1 -1
- data/vendor/pygments-main/pygments/styles/vs.py +1 -1
- data/vendor/pygments-main/pygments/styles/xcode.py +51 -0
- data/vendor/pygments-main/pygments/token.py +4 -1
- data/vendor/pygments-main/pygments/unistring.py +6 -5
- data/vendor/pygments-main/pygments/util.py +35 -21
- data/vendor/pygments-main/scripts/check_sources.py +28 -44
- data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +5 -4
- data/vendor/pygments-main/scripts/find_codetags.py +27 -19
- data/vendor/pygments-main/scripts/find_error.py +16 -13
- data/vendor/pygments-main/scripts/get_vimkw.py +3 -3
- data/vendor/pygments-main/scripts/vim2pygments.py +9 -7
- data/vendor/pygments-main/setup.py +19 -19
- data/vendor/pygments-main/tests/examplefiles/99_bottles_of_beer.chpl +118 -0
- data/vendor/pygments-main/tests/examplefiles/Error.pmod +38 -0
- data/vendor/pygments-main/tests/examplefiles/FakeFile.pike +360 -0
- data/vendor/pygments-main/tests/examplefiles/{ANTLRv3.g → antlr_ANTLRv3.g} +0 -0
- data/vendor/pygments-main/tests/examplefiles/clojure-weird-keywords.clj +5 -0
- data/vendor/pygments-main/tests/examplefiles/core.cljs +52 -0
- data/vendor/pygments-main/tests/examplefiles/demo.cfm +13 -1
- data/vendor/pygments-main/tests/examplefiles/demo.hbs +12 -0
- data/vendor/pygments-main/tests/examplefiles/ember.handlebars +33 -0
- data/vendor/pygments-main/tests/examplefiles/example.als +217 -0
- data/vendor/pygments-main/tests/examplefiles/example.c +1 -1
- data/vendor/pygments-main/tests/examplefiles/example.chai +6 -0
- data/vendor/pygments-main/tests/examplefiles/example.coffee +27 -0
- data/vendor/pygments-main/tests/examplefiles/example.e +124 -0
- data/vendor/pygments-main/tests/examplefiles/example.f90 +8 -0
- data/vendor/pygments-main/tests/examplefiles/example.feature +16 -0
- data/vendor/pygments-main/tests/examplefiles/example.gd +23 -0
- data/vendor/pygments-main/tests/examplefiles/example.gi +64 -0
- data/vendor/pygments-main/tests/examplefiles/example.groovy +2 -0
- data/vendor/pygments-main/tests/examplefiles/example.hs +27 -0
- data/vendor/pygments-main/tests/examplefiles/example.hx +44 -1
- data/vendor/pygments-main/tests/examplefiles/example.i6t +32 -0
- data/vendor/pygments-main/tests/examplefiles/example.i7x +45 -0
- data/vendor/pygments-main/tests/examplefiles/example.inf +374 -0
- data/vendor/pygments-main/tests/examplefiles/example.j +564 -0
- data/vendor/pygments-main/tests/examplefiles/example.java +16 -0
- data/vendor/pygments-main/tests/examplefiles/example.kal +75 -0
- data/vendor/pygments-main/tests/examplefiles/example.liquid +42 -0
- data/vendor/pygments-main/tests/examplefiles/example.ma +8 -0
- data/vendor/pygments-main/tests/examplefiles/example.mq4 +187 -0
- data/vendor/pygments-main/tests/examplefiles/example.mqh +123 -0
- data/vendor/pygments-main/tests/examplefiles/example.ni +57 -0
- data/vendor/pygments-main/tests/examplefiles/example.nix +80 -0
- data/vendor/pygments-main/tests/examplefiles/example.pp +8 -0
- data/vendor/pygments-main/tests/examplefiles/example.red +257 -0
- data/vendor/pygments-main/tests/examplefiles/example.reds +150 -0
- data/vendor/pygments-main/tests/examplefiles/example.rkt +677 -29
- data/vendor/pygments-main/tests/examplefiles/example.sh +22 -0
- data/vendor/pygments-main/tests/examplefiles/example.slim +31 -0
- data/vendor/pygments-main/tests/examplefiles/example.sls +51 -0
- data/vendor/pygments-main/tests/examplefiles/example.stan +2 -0
- data/vendor/pygments-main/tests/examplefiles/example.todotxt +9 -0
- data/vendor/pygments-main/tests/examplefiles/exampleScript.cfc +241 -0
- data/vendor/pygments-main/tests/examplefiles/exampleTag.cfc +18 -0
- data/vendor/pygments-main/tests/examplefiles/example_elixir.ex +192 -350
- data/vendor/pygments-main/tests/examplefiles/hash_syntax.rb +5 -0
- data/vendor/pygments-main/tests/examplefiles/hello.at +6 -0
- data/vendor/pygments-main/tests/examplefiles/hello.golo +5 -0
- data/vendor/pygments-main/tests/examplefiles/hello.lsl +12 -0
- data/vendor/pygments-main/tests/examplefiles/{File.hy → hybris_File.hy} +0 -0
- data/vendor/pygments-main/tests/examplefiles/{mg_sample.pro → idl_sample.pro} +0 -0
- data/vendor/pygments-main/tests/examplefiles/iex_example +23 -0
- data/vendor/pygments-main/tests/examplefiles/inet_pton6.dg +24 -24
- data/vendor/pygments-main/tests/examplefiles/language.hy +165 -0
- data/vendor/pygments-main/tests/examplefiles/limbo.b +456 -0
- data/vendor/pygments-main/tests/examplefiles/livescript-demo.ls +3 -1
- data/vendor/pygments-main/tests/examplefiles/main.cmake +2 -0
- data/vendor/pygments-main/tests/examplefiles/objc_example.m +163 -16
- data/vendor/pygments-main/tests/examplefiles/{example.p → openedge_example} +0 -0
- data/vendor/pygments-main/tests/examplefiles/pawn_example +25 -0
- data/vendor/pygments-main/tests/examplefiles/qbasic_example +2 -0
- data/vendor/pygments-main/tests/examplefiles/r6rs-comments.scm +23 -0
- data/vendor/pygments-main/tests/examplefiles/{robotframework.txt → robotframework_test.txt} +0 -0
- data/vendor/pygments-main/tests/examplefiles/rql-queries.rql +34 -0
- data/vendor/pygments-main/tests/examplefiles/scope.cirru +43 -0
- data/vendor/pygments-main/tests/examplefiles/sparql.rq +23 -0
- data/vendor/pygments-main/tests/examplefiles/test.R +37 -5
- data/vendor/pygments-main/tests/examplefiles/test.apl +26 -0
- data/vendor/pygments-main/tests/examplefiles/test.cyp +123 -0
- data/vendor/pygments-main/tests/examplefiles/test.idr +93 -0
- data/vendor/pygments-main/tests/examplefiles/test.mask +41 -0
- data/vendor/pygments-main/tests/examplefiles/test.pan +54 -0
- data/vendor/pygments-main/tests/examplefiles/test.php +3 -1
- data/vendor/pygments-main/tests/examplefiles/test.pig +148 -0
- data/vendor/pygments-main/tests/examplefiles/test.pwn +253 -0
- data/vendor/pygments-main/tests/examplefiles/test.r3 +27 -7
- data/vendor/pygments-main/tests/examplefiles/test.rsl +111 -0
- data/vendor/pygments-main/tests/examplefiles/test.swift +65 -0
- data/vendor/pygments-main/tests/examplefiles/test.zep +33 -0
- data/vendor/pygments-main/tests/examplefiles/unicode.go +10 -0
- data/vendor/pygments-main/tests/examplefiles/{test.bas → vbnet_test.bas} +0 -0
- data/vendor/pygments-main/tests/examplefiles/vctreestatus_hg +4 -0
- data/vendor/pygments-main/tests/examplefiles/vimrc +21 -0
- data/vendor/pygments-main/tests/run.py +14 -19
- data/vendor/pygments-main/tests/string_asserts.py +22 -0
- data/vendor/pygments-main/tests/test_basic_api.py +28 -14
- data/vendor/pygments-main/tests/test_cfm.py +46 -0
- data/vendor/pygments-main/tests/test_clexer.py +208 -3
- data/vendor/pygments-main/tests/test_cmdline.py +6 -5
- data/vendor/pygments-main/tests/test_examplefiles.py +30 -19
- data/vendor/pygments-main/tests/test_html_formatter.py +15 -13
- data/vendor/pygments-main/tests/test_latex_formatter.py +4 -2
- data/vendor/pygments-main/tests/test_lexers_other.py +11 -11
- data/vendor/pygments-main/tests/test_objectiveclexer.py +81 -0
- data/vendor/pygments-main/tests/test_perllexer.py +1 -1
- data/vendor/pygments-main/tests/test_qbasiclexer.py +43 -0
- data/vendor/pygments-main/tests/test_regexlexer.py +8 -1
- data/vendor/pygments-main/tests/test_rtf_formatter.py +109 -0
- data/vendor/pygments-main/tests/test_string_asserts.py +39 -0
- data/vendor/pygments-main/tests/test_token.py +3 -3
- data/vendor/pygments-main/tests/test_using_api.py +1 -1
- data/vendor/pygments-main/tests/test_util.py +1 -1
- metadata +138 -51
- data/vendor/pygments-main/docs/generate.py +0 -472
- data/vendor/pygments-main/docs/src/api.txt +0 -270
- data/vendor/pygments-main/docs/src/authors.txt +0 -5
- data/vendor/pygments-main/docs/src/changelog.txt +0 -5
- data/vendor/pygments-main/docs/src/index.txt +0 -69
- data/vendor/pygments-main/docs/src/installation.txt +0 -71
- data/vendor/pygments-main/external/rst-directive-old.py +0 -77
- data/vendor/pygments-main/scripts/reindent.py +0 -291
- data/vendor/pygments-main/tests/examplefiles/import.hs +0 -4
- data/vendor/pygments-main/tests/examplefiles/objc_example2.m +0 -24
- data/vendor/pygments-main/tests/old_run.py +0 -138
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f5955aceadd829f85ff4d58b2d9e676419c06c85
|
4
|
+
data.tar.gz: bd8e36856fb458161cf2ac6648b2b17aaf3559a6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0b00c3bbf8d379e609fd9cc5859c329582db33287d054e66b99c79b04d4ca68ed37fec13c7fe94691be5997f57cbfde89417939c7bcf11d50a73fc2e56dcd2d1
|
7
|
+
data.tar.gz: 9e770c49683cec366d521c256299ea6e295f9bdd9736e4560edbb43fa69c696afb185e0c557d71103f548dd9d2f9cd37b1fec0166f11b61e8a692688cfa609b0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,46 @@
|
|
1
1
|
changelog
|
2
2
|
===========
|
3
3
|
|
4
|
+
Version 0.5.4 (Nov 3, 2013)
|
5
|
+
-----------------------------
|
6
|
+
|
7
|
+
* Update lexers file
|
8
|
+
|
9
|
+
Version 0.5.3 (Sep 17, 2013)
|
10
|
+
-----------------------------
|
11
|
+
|
12
|
+
* Fixes for Slash lexer
|
13
|
+
* Improve highlighting for Slash lexer
|
14
|
+
* Upgrade to latest pygments (1.7, changes summary follows. See pygments changelog for details)
|
15
|
+
* Add Clay lexer
|
16
|
+
* Add Perl 6 lexer
|
17
|
+
* Add Swig lexer
|
18
|
+
* Add nesC lexer
|
19
|
+
* Add BlitzBasic lexer
|
20
|
+
* Add EBNF lexer
|
21
|
+
* Add Igor Pro lexer
|
22
|
+
* Add Rexx lexer
|
23
|
+
* Add Agda lexer
|
24
|
+
* Recognize vim modelines
|
25
|
+
* Improve Python 3 lexer
|
26
|
+
* Improve Opa lexer
|
27
|
+
* Improve Julia lexer
|
28
|
+
* Improve Lasso lexer
|
29
|
+
* Improve Objective C/C++ lexer
|
30
|
+
* Improve Ruby lexer
|
31
|
+
* Improve Stan lexer
|
32
|
+
* Improve JavaScript lexer
|
33
|
+
* Improve HTTP lexer
|
34
|
+
* Improve Koka lexer
|
35
|
+
* Improve Haxe lexer
|
36
|
+
* Improve Prolog lexer
|
37
|
+
* Improve F# lexer
|
38
|
+
|
39
|
+
Version 0.5.2 (July 17, 2013)
|
40
|
+
-----------------------------
|
41
|
+
|
42
|
+
* Add Slash lexer
|
43
|
+
|
4
44
|
Version 0.5.1 (June 25, 2013)
|
5
45
|
-----------------------------
|
6
46
|
|
data/README.md
CHANGED
@@ -75,6 +75,9 @@ Pygments.start("/path/to/pygments")
|
|
75
75
|
|
76
76
|
If you'd like logging, set the environmental variable `MENTOS_LOG` to a file path for your logfile.
|
77
77
|
|
78
|
+
By default pygments.rb will timeout calls to pygments that take over 8 seconds. You can change this
|
79
|
+
by setting the environmental variable `MENTOS_TIMEOUT` to a different positive integer value.
|
80
|
+
|
78
81
|
## benchmarks
|
79
82
|
|
80
83
|
|
data/lexers
CHANGED
Binary file
|
data/lib/pygments/popen.rb
CHANGED
@@ -138,9 +138,10 @@ module Pygments
|
|
138
138
|
:filenames => lxr[2],
|
139
139
|
:mimetypes => lxr[3]
|
140
140
|
}
|
141
|
-
hash["Augeas"] = {:name=>"Augeas", :aliases=>["augeas"], :filenames=>["*.aug"], :mimetypes=>[]}
|
142
141
|
hash["dasm16"] = {:name=>"dasm16", :aliases=>["DASM16"], :filenames=>["*.dasm16", "*.dasm"], :mimetypes=>['text/x-dasm16']}
|
143
142
|
hash["Puppet"] = {:name=>"Puppet", :aliases=>["puppet"], :filenames=>["*.pp"], :mimetypes=>[]}
|
143
|
+
hash["Augeas"] = {:name=>"Augeas", :aliases=>["augeas"], :filenames=>["*.aug"], :mimetypes=>[]}
|
144
|
+
hash["TOML"] = {:name=>"TOML", :aliases=>["toml"], :filenames=>["*.toml"], :mimetypes=>[]}
|
144
145
|
hash["Slash"] = {:name=>"Slash", :aliases=>["slash"], :filenames=>["*.sl"], :mimetypes=>[]}
|
145
146
|
hash
|
146
147
|
end
|
@@ -214,7 +215,7 @@ module Pygments
|
|
214
215
|
|
215
216
|
begin
|
216
217
|
# Timeout requests that take too long.
|
217
|
-
timeout_time = 8
|
218
|
+
timeout_time = ENV["MENTOS_TIMEOUT"] || 8
|
218
219
|
|
219
220
|
Timeout::timeout(timeout_time) do
|
220
221
|
# For sanity checking on both sides of the pipe when highlighting, we prepend and
|
data/lib/pygments/version.rb
CHANGED
data/pygments.rb.gemspec
CHANGED
@@ -7,11 +7,12 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.summary = 'pygments wrapper for ruby'
|
8
8
|
s.description = 'pygments.rb exposes the pygments syntax highlighter to Ruby'
|
9
9
|
|
10
|
-
s.homepage = '
|
10
|
+
s.homepage = 'https://github.com/tmm1/pygments.rb'
|
11
11
|
s.has_rdoc = false
|
12
12
|
|
13
13
|
s.authors = ['Aman Gupta', 'Ted Nyman']
|
14
14
|
s.email = ['aman@tmm1.net']
|
15
|
+
s.license = 'MIT'
|
15
16
|
|
16
17
|
s.add_dependency 'yajl-ruby', '~> 1.1.0'
|
17
18
|
s.add_dependency 'posix-spawn', '~> 0.3.6'
|
@@ -16,6 +16,7 @@ Other contributors, listed alphabetically, are:
|
|
16
16
|
* Stefan Matthias Aust -- Smalltalk lexer
|
17
17
|
* Ben Bangert -- Mako lexers
|
18
18
|
* Max Battcher -- Darcs patch lexer
|
19
|
+
* Thomas Baruchel -- APL lexer
|
19
20
|
* Tim Baumann -- (Literate) Agda lexer
|
20
21
|
* Paul Baumgart, 280 North, Inc. -- Objective-J lexer
|
21
22
|
* Michael Bayer -- Myghty lexers
|
@@ -27,12 +28,14 @@ Other contributors, listed alphabetically, are:
|
|
27
28
|
* Pierre Bourdon -- bugfixes
|
28
29
|
* Hiram Chirino -- Scaml and Jade lexers
|
29
30
|
* Ian Cooper -- VGL lexer
|
31
|
+
* David Corbett -- Inform and Jasmin lexers
|
30
32
|
* Leaf Corcoran -- MoonScript lexer
|
31
|
-
* Christian Jann -- ShellSession lexer
|
32
33
|
* Christopher Creutzig -- MuPAD lexer
|
34
|
+
* Daniël W. Crompton - Pike lexer
|
33
35
|
* Pete Curry -- bugfixes
|
34
36
|
* Bryan Davis -- EBNF lexer
|
35
37
|
* Owen Durni -- Haxe lexer
|
38
|
+
* Alexander Dutton, Oxford University Computing Services -- SPARQL lexer
|
36
39
|
* Nick Efford -- Python 3 lexer
|
37
40
|
* Sven Efftinge -- Xtend lexer
|
38
41
|
* Artem Egorkine -- terminal256 formatter
|
@@ -63,18 +66,23 @@ Other contributors, listed alphabetically, are:
|
|
63
66
|
* Rob Hoelz -- Perl 6 lexer
|
64
67
|
* Doug Hogan -- Mscgen lexer
|
65
68
|
* Ben Hollis -- Mason lexer
|
69
|
+
* Max Horn -- GAP lexer
|
66
70
|
* Dustin Howett -- Logos lexer
|
67
71
|
* Alastair Houghton -- Lexer inheritance facility
|
68
72
|
* Tim Howard -- BlitzMax lexer
|
69
73
|
* Ivan Inozemtsev -- Fantom lexer
|
70
74
|
* Brian R. Jackson -- Tea lexer
|
75
|
+
* Christian Jann -- ShellSession lexer
|
71
76
|
* Dennis Kaarsemaker -- sources.list lexer
|
77
|
+
* Dmitri Kabak - Inferno Limbo lexer
|
72
78
|
* Igor Kalnitsky -- vhdl lexer
|
79
|
+
* Alexander Kit -- MaskJS lexer
|
73
80
|
* Pekka Klärck -- Robot Framework lexer
|
74
81
|
* Eric Knibbe -- Lasso lexer
|
75
82
|
* Stepan Koltsov -- Clay lexer
|
76
83
|
* Adam Koprowski -- Opa lexer
|
77
84
|
* Benjamin Kowarsch -- Modula-2 lexer
|
85
|
+
* Domen Kožar -- Nix lexer
|
78
86
|
* Alexander Kriegisch -- Kconfig and AspectJ lexers
|
79
87
|
* Marek Kubica -- Scheme lexer
|
80
88
|
* Jochen Kupperschmidt -- Markdown processor
|
@@ -85,6 +93,7 @@ Other contributors, listed alphabetically, are:
|
|
85
93
|
* Mark Lee -- Vala lexer
|
86
94
|
* Ben Mabey -- Gherkin lexer
|
87
95
|
* Angus MacArthur -- QML lexer
|
96
|
+
* Louis Marchand -- Eiffel lexer
|
88
97
|
* Simone Margaritelli -- Hybris lexer
|
89
98
|
* Kirk McDonald -- D lexer
|
90
99
|
* Gordon McGregor -- SystemVerilog lexer
|
@@ -92,6 +101,7 @@ Other contributors, listed alphabetically, are:
|
|
92
101
|
* Brian McKenna -- F# lexer
|
93
102
|
* Charles McLaughlin -- Puppet lexer
|
94
103
|
* Lukas Meuser -- BBCode formatter, Lua lexer
|
104
|
+
* Cat Miller -- Pig lexer
|
95
105
|
* Paul Miller -- LiveScript lexer
|
96
106
|
* Hong Minhee -- HTTP lexer
|
97
107
|
* Michael Mior -- Awk lexer
|
@@ -105,16 +115,20 @@ Other contributors, listed alphabetically, are:
|
|
105
115
|
* Jesper Noehr -- HTML formatter "anchorlinenos"
|
106
116
|
* Mike Nolta -- Julia lexer
|
107
117
|
* Jonas Obrist -- BBCode lexer
|
118
|
+
* Edward O'Callaghan -- Cryptol lexer
|
108
119
|
* David Oliva -- Rebol lexer
|
109
120
|
* Pat Pannuto -- nesC lexer
|
110
121
|
* Jon Parise -- Protocol buffers lexer
|
111
122
|
* Ronny Pfannschmidt -- BBCode lexer
|
112
123
|
* Benjamin Peterson -- Test suite refactoring
|
113
124
|
* Dominik Picheta -- Nimrod lexer
|
125
|
+
* Andrew Pinkham -- RTF Formatter Refactoring
|
114
126
|
* Clément Prévost -- UrbiScript lexer
|
127
|
+
* raichoo -- Idris lexer
|
115
128
|
* Kashif Rasul -- CUDA lexer
|
116
129
|
* Justin Reidy -- MXML lexer
|
117
130
|
* Norman Richards -- JSON lexer
|
131
|
+
* Corey Richardson -- Rust lexer updates
|
118
132
|
* Lubomir Rintel -- GoodData MAQL and CL lexers
|
119
133
|
* Andre Roberge -- Tango style
|
120
134
|
* Konrad Rudolph -- LaTeX formatter enhancements
|
@@ -136,12 +150,16 @@ Other contributors, listed alphabetically, are:
|
|
136
150
|
* Tiberius Teng -- default style overhaul
|
137
151
|
* Jeremy Thurgood -- Erlang, Squid config lexers
|
138
152
|
* Brian Tiffin -- OpenCOBOL lexer
|
153
|
+
* Bob Tolbert -- Hy lexer
|
139
154
|
* Erick Tryzelaar -- Felix lexer
|
155
|
+
* Alexander Udalov -- Kotlin lexer improvements
|
156
|
+
* Thomas Van Doren -- Chapel lexer
|
140
157
|
* Daniele Varrazzo -- PostgreSQL lexers
|
141
158
|
* Abe Voelker -- OpenEdge ABL lexer
|
142
159
|
* Pepijn de Vos -- HTML formatter CTags support
|
143
160
|
* Whitney Young -- ObjectiveC lexer
|
144
161
|
* Matthias Vallentin -- Bro lexer
|
162
|
+
* Linh Vu Hong -- RSL lexer
|
145
163
|
* Nathan Weizenbaum -- Haml and Sass lexers
|
146
164
|
* Dietmar Winkler -- Modelica lexer
|
147
165
|
* Nils Winter -- Smalltalk lexer
|
@@ -149,5 +167,6 @@ Other contributors, listed alphabetically, are:
|
|
149
167
|
* Diego Zamboni -- CFengine3 lexer
|
150
168
|
* Enrique Zamudio -- Ceylon lexer
|
151
169
|
* Alex Zimin -- Nemerle lexer
|
170
|
+
* Rob Zimmerman -- Kal lexer
|
152
171
|
|
153
172
|
Many thanks for all contributions!
|
@@ -6,10 +6,15 @@ Issue numbers refer to the tracker at
|
|
6
6
|
pull request numbers to the requests at
|
7
7
|
<http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged>.
|
8
8
|
|
9
|
-
Version
|
9
|
+
Version 2.0
|
10
10
|
-----------
|
11
11
|
(under development)
|
12
12
|
|
13
|
+
- Dropped Python 2.4 and 2.5 compatibility. This is in favor of single-source
|
14
|
+
compatibility between Python 2.6, 2.7 and 3.3+.
|
15
|
+
|
16
|
+
- New website and documentation based on Sphinx (finally!)
|
17
|
+
|
13
18
|
- Lexers added:
|
14
19
|
|
15
20
|
* Clay (PR#184)
|
@@ -21,6 +26,31 @@ Version 1.7
|
|
21
26
|
* Igor Pro (PR#172)
|
22
27
|
* Rexx (PR#199)
|
23
28
|
* Agda and Literate Agda (PR#203)
|
29
|
+
* Mathematica (PR#245)
|
30
|
+
* Nix (PR#267)
|
31
|
+
* Pike (PR#237)
|
32
|
+
* Hy (PR#238)
|
33
|
+
* Chapel (PR#256)
|
34
|
+
* Kal (PR#233)
|
35
|
+
* Eiffel (PR#273)
|
36
|
+
* Cirru (PR#275)
|
37
|
+
* ColdFusion CFC (PR#283)
|
38
|
+
* Idris (PR#210)
|
39
|
+
* Intel objdump (PR#279)
|
40
|
+
* MaskJS (PR#280)
|
41
|
+
* Inform 6/7 (PR#281)
|
42
|
+
* MQL (PR#285)
|
43
|
+
* APL (#969)
|
44
|
+
|
45
|
+
- New styles: "xcode" and "igor", similar to the default highlighting of
|
46
|
+
the respective IDEs.
|
47
|
+
|
48
|
+
- Updated the Makefile lexer to yield a little more useful highlighting.
|
49
|
+
|
50
|
+
- Lexer aliases passed to ``get_lexer_by_name()`` are now case-insensitive.
|
51
|
+
|
52
|
+
- File name matching in lexers and formatters will now use a regex cache
|
53
|
+
for speed (PR#205).
|
24
54
|
|
25
55
|
- Pygments will now recognize "vim" modelines when guessing the lexer for
|
26
56
|
a file based on content (PR#118).
|
@@ -39,7 +69,8 @@ Version 1.7
|
|
39
69
|
|
40
70
|
- Objective C/C++ lexers: allow "@" prefixing any expression (#871).
|
41
71
|
|
42
|
-
- Ruby lexer: fix lexing of Name::Space tokens (#860)
|
72
|
+
- Ruby lexer: fix lexing of Name::Space tokens (#860) and of symbols
|
73
|
+
in hashes (#873).
|
43
74
|
|
44
75
|
- Stan lexer: update for version 1.3.0 of the language (PR#162).
|
45
76
|
|
@@ -53,7 +84,28 @@ Version 1.7
|
|
53
84
|
|
54
85
|
- Prolog lexer: add different kinds of numeric literals (#864).
|
55
86
|
|
56
|
-
- F# lexer: rewrite with newest spec for F# 3.0 (#842)
|
87
|
+
- F# lexer: rewrite with newest spec for F# 3.0 (#842), fix a bug with
|
88
|
+
dotted chains (#948).
|
89
|
+
|
90
|
+
- Kotlin lexer: general update (PR#271).
|
91
|
+
|
92
|
+
- Rebol lexer: fix comment detection and analyse_text (PR#261).
|
93
|
+
|
94
|
+
- Stan lexer: update to v2.0.1 (PR#255).
|
95
|
+
|
96
|
+
- LLVM lexer: update keywords to v3.4 (PR#258).
|
97
|
+
|
98
|
+
- PHP lexer: add new keywords and binary literals (PR#222).
|
99
|
+
|
100
|
+
- external/markdown-processor.py updated to newest python-markdown (PR#221).
|
101
|
+
|
102
|
+
- CSS lexer: some highlighting order fixes (PR#231).
|
103
|
+
|
104
|
+
- Ceylon lexer: fix parsing of nested multiline comments (#915).
|
105
|
+
|
106
|
+
- C family lexers: fix parsing of indented preprocessor directives (#944).
|
107
|
+
|
108
|
+
- Rust lexer: update to 0.9 language version (PR#270).
|
57
109
|
|
58
110
|
|
59
111
|
Version 1.6
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#
|
5
5
|
# Combines scripts for common tasks.
|
6
6
|
#
|
7
|
-
# :copyright: Copyright 2006-
|
7
|
+
# :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
|
8
8
|
# :license: BSD, see LICENSE for details.
|
9
9
|
#
|
10
10
|
|
@@ -36,11 +36,8 @@ codetags:
|
|
36
36
|
@$(PYTHON) scripts/find_codetags.py -i tests/examplefiles -i scripts/pylintrc \
|
37
37
|
-i scripts/find_codetags.py -o codetags.html .
|
38
38
|
|
39
|
-
docs:
|
40
|
-
|
41
|
-
docs/build: docs/src/*.txt
|
42
|
-
$(PYTHON) docs/generate.py html docs/build $?
|
43
|
-
touch docs/build
|
39
|
+
docs:
|
40
|
+
make -C doc html
|
44
41
|
|
45
42
|
mapfiles:
|
46
43
|
(cd pygments/lexers; $(PYTHON) _mapping.py)
|
@@ -53,7 +50,7 @@ reindent:
|
|
53
50
|
@$(PYTHON) scripts/reindent.py -r -B .
|
54
51
|
|
55
52
|
test:
|
56
|
-
@$(PYTHON) tests/run.py $(
|
53
|
+
@$(PYTHON) tests/run.py $(TEST)
|
57
54
|
|
58
55
|
test-coverage:
|
59
|
-
@$(PYTHON) tests/run.py -C $(
|
56
|
+
@$(PYTHON) tests/run.py -C $(TEST)
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
bec55c895c04
|
@@ -0,0 +1,153 @@
|
|
1
|
+
# Makefile for Sphinx documentation
|
2
|
+
#
|
3
|
+
|
4
|
+
# You can set these variables from the command line.
|
5
|
+
SPHINXOPTS =
|
6
|
+
SPHINXBUILD = PYTHONPATH=.. sphinx-build
|
7
|
+
PAPER =
|
8
|
+
BUILDDIR = _build
|
9
|
+
|
10
|
+
# Internal variables.
|
11
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
12
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
13
|
+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
14
|
+
# the i18n builder cannot share the environment and doctrees with the others
|
15
|
+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
16
|
+
|
17
|
+
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
18
|
+
|
19
|
+
help:
|
20
|
+
@echo "Please use \`make <target>' where <target> is one of"
|
21
|
+
@echo " html to make standalone HTML files"
|
22
|
+
@echo " dirhtml to make HTML files named index.html in directories"
|
23
|
+
@echo " singlehtml to make a single large HTML file"
|
24
|
+
@echo " pickle to make pickle files"
|
25
|
+
@echo " json to make JSON files"
|
26
|
+
@echo " htmlhelp to make HTML files and a HTML help project"
|
27
|
+
@echo " qthelp to make HTML files and a qthelp project"
|
28
|
+
@echo " devhelp to make HTML files and a Devhelp project"
|
29
|
+
@echo " epub to make an epub"
|
30
|
+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
31
|
+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
32
|
+
@echo " text to make text files"
|
33
|
+
@echo " man to make manual pages"
|
34
|
+
@echo " texinfo to make Texinfo files"
|
35
|
+
@echo " info to make Texinfo files and run them through makeinfo"
|
36
|
+
@echo " gettext to make PO message catalogs"
|
37
|
+
@echo " changes to make an overview of all changed/added/deprecated items"
|
38
|
+
@echo " linkcheck to check all external links for integrity"
|
39
|
+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
40
|
+
|
41
|
+
clean:
|
42
|
+
-rm -rf $(BUILDDIR)/*
|
43
|
+
|
44
|
+
html:
|
45
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
46
|
+
@echo
|
47
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
48
|
+
|
49
|
+
dirhtml:
|
50
|
+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
51
|
+
@echo
|
52
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
53
|
+
|
54
|
+
singlehtml:
|
55
|
+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
56
|
+
@echo
|
57
|
+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
58
|
+
|
59
|
+
pickle:
|
60
|
+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
61
|
+
@echo
|
62
|
+
@echo "Build finished; now you can process the pickle files."
|
63
|
+
|
64
|
+
json:
|
65
|
+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
66
|
+
@echo
|
67
|
+
@echo "Build finished; now you can process the JSON files."
|
68
|
+
|
69
|
+
htmlhelp:
|
70
|
+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
71
|
+
@echo
|
72
|
+
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
73
|
+
".hhp project file in $(BUILDDIR)/htmlhelp."
|
74
|
+
|
75
|
+
qthelp:
|
76
|
+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
77
|
+
@echo
|
78
|
+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
79
|
+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
80
|
+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Pygments.qhcp"
|
81
|
+
@echo "To view the help file:"
|
82
|
+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Pygments.qhc"
|
83
|
+
|
84
|
+
devhelp:
|
85
|
+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
86
|
+
@echo
|
87
|
+
@echo "Build finished."
|
88
|
+
@echo "To view the help file:"
|
89
|
+
@echo "# mkdir -p $$HOME/.local/share/devhelp/Pygments"
|
90
|
+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Pygments"
|
91
|
+
@echo "# devhelp"
|
92
|
+
|
93
|
+
epub:
|
94
|
+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
95
|
+
@echo
|
96
|
+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
97
|
+
|
98
|
+
latex:
|
99
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
100
|
+
@echo
|
101
|
+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
102
|
+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
103
|
+
"(use \`make latexpdf' here to do that automatically)."
|
104
|
+
|
105
|
+
latexpdf:
|
106
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
107
|
+
@echo "Running LaTeX files through pdflatex..."
|
108
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
109
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
110
|
+
|
111
|
+
text:
|
112
|
+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
113
|
+
@echo
|
114
|
+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
115
|
+
|
116
|
+
man:
|
117
|
+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
118
|
+
@echo
|
119
|
+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
120
|
+
|
121
|
+
texinfo:
|
122
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
123
|
+
@echo
|
124
|
+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
125
|
+
@echo "Run \`make' in that directory to run these through makeinfo" \
|
126
|
+
"(use \`make info' here to do that automatically)."
|
127
|
+
|
128
|
+
info:
|
129
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
130
|
+
@echo "Running Texinfo files through makeinfo..."
|
131
|
+
make -C $(BUILDDIR)/texinfo info
|
132
|
+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
133
|
+
|
134
|
+
gettext:
|
135
|
+
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
136
|
+
@echo
|
137
|
+
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
138
|
+
|
139
|
+
changes:
|
140
|
+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
141
|
+
@echo
|
142
|
+
@echo "The overview file is in $(BUILDDIR)/changes."
|
143
|
+
|
144
|
+
linkcheck:
|
145
|
+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
146
|
+
@echo
|
147
|
+
@echo "Link check complete; look for any errors in the above output " \
|
148
|
+
"or in $(BUILDDIR)/linkcheck/output.txt."
|
149
|
+
|
150
|
+
doctest:
|
151
|
+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
152
|
+
@echo "Testing of doctests in the sources finished, look at the " \
|
153
|
+
"results in $(BUILDDIR)/doctest/output.txt."
|