A peer-to-peer stack for code collaboration
Add pygments lexer for Radicle
Thomas Scholtes8da42c2a7665
diff --git a/docs/source/conf.py b/docs/source/conf.pyindex 0bef581..119eea0 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -17,6 +17,8 @@# sys.path.insert(0, os.path.abspath('.'))from recommonmark.parser import CommonMarkParser+from pygments.lexers.jvm import ClojureLexer+from sphinx.highlighting import lexers# -- Project information -----------------------------------------------------@@ -74,6 +76,9 @@ exclude_patterns = []# The name of the Pygments (syntax highlighting) style to use.pygments_style = None+lexers['radicle'] = ClojureLexer()++# -- Options for HTML output -------------------------------------------------diff --git a/docs/source/guide/index.rst b/docs/source/guide/index.rstindex afcab95..19942cd 100644--- a/docs/source/guide/index.rst+++ b/docs/source/guide/index.rst@@ -16,7 +16,7 @@ repository. We'll see how to define the format of issues that can be created;how to define rights and permissions for certain types of interaction; andhow to allow for future changes to the chain.-::+.. code-block:: radicle(load! "rad/prelude.rad")(def issues (ref { :open nil :closed nil }))