Docs generation shouldn't treat a warning as an error

Bug #1681364 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Lucas Alvares Gomes

Bug Description

When running "tox -edocs" it fails with:

Warning, treated as error:
README.rst:None: WARNING: nonlocal image URI found: http://governance.openstack.org/badges/networking-ovn.svg

ERROR: InvocationError: '/home/lucas/Projects/networking-ovn/.tox/docs/bin/sphinx-build -W -b html doc/source doc/build/html'
_____________________________________________________________________________________________________ summary _____________________________________________________________________________________________________
ERROR: docs: commands failed

Changed in networking-ovn:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (master)

Fix proposed to branch: master
Review: https://review.openstack.org/455182

Changed in networking-ovn:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/455182
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=ea5f9b662a950f9699a89d5cce7287bf075daaad
Submitter: Jenkins
Branch: master

commit ea5f9b662a950f9699a89d5cce7287bf075daaad
Author: Lucas Alvares Gomes <email address hidden>
Date: Mon Apr 10 10:30:26 2017 +0100

    Docs: Do not turn warnings into errors

    This patch is removing the -W flag from the "sphinx-build" command in
    tox.ini. When this flag is set all warnings will be treated as erros and
    cause the documentation generation to exit with status 1.

    Change-Id: I4d11c25bda3faad4f9fb5a25ac2c99d55276891a
    Closes-Bug: #1681364

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 3.0.0.0b1

This issue was fixed in the openstack/networking-ovn 3.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.