Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic cabal lexer for docs #3830

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Basic cabal lexer for docs #3830

merged 1 commit into from
Sep 12, 2016

Conversation

sopvop
Copy link
Collaborator

@sopvop sopvop commented Sep 12, 2016

A really basic cabal lexer, but makes code samples a little bit nicer.

I've only converted nix-local-build.rst so far.

caballex

@mention-bot
Copy link

@sopvop, thanks for your PR! By analyzing the annotation information on this pull request, we identified @hvr, @linearray and @ezyang to be potential reviewers

@23Skidoo 23Skidoo merged commit 1735279 into haskell:master Sep 12, 2016
@23Skidoo
Copy link
Member

Merged, thanks!

@hvr
Copy link
Member

hvr commented Sep 12, 2016

@sopvop currently we have in conf.py:

# Syntax highlighting
highlight_language = 'haskell'

does this mean we can switch that to 'cabal' grammar now (most code blocks are either cabal.config or .cabal examples, which all follow the same basic grammar)?

@sopvop
Copy link
Collaborator Author

sopvop commented Sep 12, 2016

@hvr I believe so. I've a bit more robust lexer and a bunch of doc highlighting fixes in my fork. Should I commit it to master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants