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

PulpQE / pulp-smash / 465
63%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2016 07:00PM UTC
Jobs 4
Files 6
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
465

push

travis-ci

Ichimonji10
Make API docs show on Read The Docs

How is the API documentation built? The ``docs/api.rst`` file contains a
static index of documents in the ``docs/api/`` directory, and the
contents of the directory are automatically generated whenever a
relevant make target from ``docs/Makefile`` (such as "html") is
executed.

This works well so long as documentation is generated via one of the
make files. However, Read The Docs (RTD) does not use the make files.
Instead, it generates documentation by cd-ing into the ``docs``
directory and executing a command like this: [1]

    sphinx-build -b html . _build/html

What we really want is a system where:

* All users have access to the API documentation, including RTD.
* The API documentation stubs in ``docs/api/`` are auto-generated.
* An error or warning is shown if either ``docs/api.rst`` or the
  contents of ``docs/api/`` are incorrect.

Update the documentation build system to achieve these goals. Place the
documentation stubs in ``docs/api/`` under version control so RTD and
others can generate API documentation without without the make files.
And make the documentation-related make targets clean and regenerate the
contents of the ``docs/api/`` directory, thus accomplishing the other
two goals.

Fix https://github.com/PulpQE/pulp-smash/issues/204.

[1] https://read-the-docs.readthedocs.org/en/latest/builds.html

312 of 418 relevant lines covered (74.64%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 465.1 19 Apr 2016 07:00PM UTC 0
74.64
Travis Job 465.1
2 465.2 19 Apr 2016 07:01PM UTC 0
74.64
Travis Job 465.2
3 465.3 19 Apr 2016 07:01PM UTC 0
74.64
Travis Job 465.3
4 465.4 19 Apr 2016 07:01PM UTC 0
74.64
Travis Job 465.4
Source Files on build 465
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #465
  • 5bf57e2d on github
  • Prev Build on master (#462)
  • Next Build on master (#467)
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