feat: replace all :::dart code fence markers with :::wren in documentation

Add a custom Pygments lexer plug-in for Wren syntax highlighting, update contributing docs with setup instructions for the lexer, and switch every `:::dart` annotation across all doc/site markdown files to `:::wren` so code examples render with the correct language grammar.
This commit is contained in:
Bob Nystrom
2015-09-22 14:59:54 +00:00
parent 2544aa74d8
commit 6bda720b71
34 changed files with 294 additions and 198 deletions
@@ -0,0 +1,12 @@
Metadata-Version: 1.0
Name: Wren
Version: 1.0
Summary:
A Pygments lexer for Wren.
Home-page: UNKNOWN
Author: Robert Nystrom
Author-email: UNKNOWN
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
@@ -0,0 +1,7 @@
setup.py
Wren.egg-info/PKG-INFO
Wren.egg-info/SOURCES.txt
Wren.egg-info/dependency_links.txt
Wren.egg-info/entry_points.txt
Wren.egg-info/top_level.txt
wren/__init__.py
@@ -0,0 +1 @@
@@ -0,0 +1,4 @@
[pygments.lexers]
wrenlexer = wren:WrenLexer
@@ -0,0 +1 @@
wren
+18
View File
@@ -0,0 +1,18 @@
"""
A Pygments lexer for Wren.
"""
from setuptools import setup
__author__ = 'Robert Nystrom'
setup(
name='Wren',
version='1.0',
description=__doc__,
author=__author__,
packages=['wren'],
entry_points='''
[pygments.lexers]
wrenlexer = wren:WrenLexer
'''
)