• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chapel-lang / sphinxcontrib-chapeldomain / 148
61%
master: 60%

Build:
Build:
LAST BUILD BRANCH: bumpVersion
DEFAULT BRANCH: master
Ran 07 Dec 2020 06:14PM UTC
Jobs 1
Files 5
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
148

push

travis-ci

web-flow
Merge pull request #41 from e-kayrakli/pygments-improve-lexer

Improve the custom pygments lexer

This PR:

- Refactors large tuples into their own variables
- Adds a new `receivertype` state to handle
<img width="553" alt="Screen Shot 2020-11-19 at 10 00 25 AM" src="https://user-images.githubusercontent.com/4141670/99705104-2581a080-2a4e-11eb-8727-957097d03e6a.png">

by properly highlighting it including the keywords within parentheses:

<img width="540" alt="Screen Shot 2020-11-19 at 10 00 44 AM" src="https://user-images.githubusercontent.com/4141670/99705166-3500e980-2a4e-11eb-9407-3e18ac2c3ce3.png">

We can tweak how we handle secondary methods better, but this PR doesn't do that. For example we can't currently higlight without this patch:

<img width="606" alt="Screen Shot 2020-11-19 at 10 03 54 AM" src="https://user-images.githubusercontent.com/4141670/99705429-9032dc00-2a4e-11eb-9379-fcd615efe7c9.png">

With this patch, we can highlight, but a non-parenthesized receiver type shouldn't be higlighted as function name
<img width="583" alt="Screen Shot 2020-11-19 at 10 05 06 AM" src="https://user-images.githubusercontent.com/4141670/99705563-bfe1e400-2a4e-11eb-88ea-27274f2a0420.png">

I wasn't able to get that puzzle solved in a reasonable amount of time, but I think this is still progress. At least we don't have to workaround this issue when writing `code-block`s in docs.

[Reviewed by @lydia-duncan]

494 of 805 relevant lines covered (61.37%)

0.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 148.1 07 Dec 2020 06:14PM UTC 0
61.37
Travis Job 148.1
Source Files on build 148
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #148
  • 19a2e0bb on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc