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

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

Build:
Build:
LAST BUILD BRANCH: bumpVersion
DEFAULT BRANCH: master
Repo Added 27 Jan 2015 01:07AM UTC
Files 5
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

LAST BUILD ON BRANCH 0.0.11
branch: 0.0.11
CHANGE BRANCH
x
Reset
  • 0.0.11
  • 0.0.10
  • 0.0.12
  • 0.0.13
  • 0.0.14
  • 0.0.15
  • 0.0.16
  • 0.0.17
  • 0.0.18
  • 0.0.19
  • 0.0.2
  • 0.0.20
  • 0.0.3
  • 0.0.4
  • 0.0.5
  • master

pending completion
80

push

travis-ci

thomasvandoren
Merge pull request #21 from thomasvandoren/param-type-format

Update argument type formatting to be more chapelerific.

Update argument type formatting to use the form `argname : type -- description`,
instead of `argname (type) -- description`. The new form is considered more
"chapelerific" since it matches the argument type syntax.

Unfortunately the sphinx.utils.docfields.TypedField.make_field() method is not
implemented in such a way that allows this formatting change without fully
overriding the meth. So, copy the TypedField.make_field() method from Sphinx
version 1.2.3 and modify the two Text() nodes that add the parentheses.

Because of how ChapelTypedField.make_field() is implemented, this package
is not dependent on Sphinx 1.2.x. There is probably a way to support both
Sphinx 1.2.x and the recently released Sphinx 1.3.x, but that is beyond the
scope of this change. In an ideal world, the three formatting strings in
TypedField.make_field() (`' ('`, `')'`, and `' -- '`) would be configurable without
needing to override make_field().

The source from Sphinx 1.2.3 can be found here:

https://github.com/sphinx-doc/sphinx/blob/1.2.3/sphinx/util/docfields.py#L137-166

r: @lydia-duncan

477 of 787 relevant lines covered (60.61%)

1.21 hits per line

Relevant lines Covered
Build:
Build:
787 RELEVANT LINES 477 COVERED LINES
1.21 HITS PER LINE
Source Files on 0.0.11
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
80 0.0.11 Merge pull request #21 from thomasvandoren/param-type-format Update argument type formatting to be more chapelerific. Update argument type formatting to use the form `argname : type -- description`, instead of `argname (type) -- description`.... push 19 Mar 2015 03:26PM UTC thomasvandoren travis-ci pending completion  
See All Builds (128)
  • Repo 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

© 2025 Coveralls, Inc