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

jawher / mow.cli / 204
95%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2018 10:03AM UTC
Jobs 4
Files 19
Run time 2min
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
204

push

travis-ci

jawher
Unify package doc and github README.md (#72)

MOTIVATION

Prior to this set of changes, two sets of documentation had to be maintained:
the GitHub README.md and the Go package documentation in doc.go.  The README.md
file is a superset of documentation that includes the following items:

- Various badge icons (build, godoc, coverage)
- Getting started guide with sample applications
- Comparison to other CLI tools
- Installation instructions
- A copy of the package doc.go
- License information

Because a copy of doc.go was included in README.md, over time these two versions
have diverged.  Committers updating README.md would forget to submit the same
patches to doc.go and vice versa.  Further complicating the situation is that
GitHub markdown is more featureful (multi-level headings, lists, etc ...) than
the simple and straightforward Go doc standards.  Consequently, the package
documentation (doc.go) contained within README.md acquired additional markup,
further cementing the need to maintain two slightly different versions of the
package documentation.

Due to the above issues, contributing to the project's documentation was not an
easy task. If done properly, a contributor would have to update the README.md
document and then update the doc.go package documentation stripping out the
markdown.  This assumes the contributor was editing a portion of the docs that
had not diverged over time.  In that case, additional work was required to
synchronize the documents.

CHANGES

This commit includes several changes to improve the overall documentation of
the mow.cli project. Below is a short summary of each:

- To eliminate the need to maintain two sets of nearly identical docs, the
  README.md file is now autogenerated using the Go autoreadme package. This
  tool generates a README.md from a README.md.template file. The template
  file includes all of the original README.md content (described above), but
  also includes p... (continued)

1389 of 1447 relevant lines covered (95.99%)

4.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 204.1 07 Apr 2018 10:04AM UTC 0
95.99
Travis Job 204.1
2 204.2 07 Apr 2018 10:03AM UTC 0
95.99
Travis Job 204.2
3 204.3 07 Apr 2018 10:04AM UTC 0
95.99
Travis Job 204.3
4 204.4 07 Apr 2018 10:06AM UTC 0
95.99
Travis Job 204.4
Source Files on build 204
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #204
  • eb413be1 on github
  • Prev Build on master (#202)
  • Next Build on master (#205)
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