"python setup.py build_sphinx -b man" not working

Bug #1710608 reported by yatin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Undecided
Unassigned

Bug Description

(test) [ykarel@yatinkarel sahara]$ python setup.py build_sphinx -b man
running build_sphinx
[pbr] Writing ChangeLog
[pbr] Generating ChangeLog
[pbr] ChangeLog complete (0.1s)
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.2s)
Running Sphinx v1.6.3
connecting events for openstackdocstheme
loading pickled environment... done
[oslo_config.sphinxconfiggen] reading config generator instructions from /home/ykarel/work/sahara/doc/source/config-generator.conf
[oslo_config.sphinxconfiggen] writing sample configuration to /home/ykarel/work/sahara/doc/source/sample.config
Using openstackdocstheme Sphinx theme from /home/ykarel/work/sahara/test/lib/python2.7/site-packages/openstackdocstheme/theme
building [mo]: all of 0 po files
building [man]: all source files
updating environment: 0 added, 2 changed, 0 removed
reading sources... [100%] user/features
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... sahara.1 { intro/index intro/overview intro/architecture install/index install/installation-guide install/dashboard-guide configuration/index configuration/sampleconfig user/index user/overview user/quickstart user/dashboard-user-guide user/features user/registering-image user/statuses user/sahara-on-ironic user/plugins user/vanilla-plugin user/ambari-plugin user/spark-plugin user/cdh-plugin user/mapr-plugin user/edp user/guest-requirements user/hadoop-swift user/vanilla-imagebuilder user/cdh-imagebuilder admin/index admin/configuration-guide admin/advanced-configuration-guide admin/upgrade-guide contributor/index contributor/development-guidelines contributor/development-environment contributor/dashboard-dev-environment-guide contributor/devstack contributor/how-to-participate contributor/how-to-build-oozie contributor/adding-database-migrations contributor/testing contributor/log-guidelines contributor/apiv2 contributor/image-gen contributor/launchpad contributor/gerrit contributor/jenkins reference/index reference/plugins reference/plugin-spi reference/edp-spi reference/restapi }
Warning, treated as error:
/home/ykarel/work/sahara/doc/source/user/features.rst::"table row spanning" not supported

If i create multiple rows(Plugin) and column(Features) in features.rst as below, it works:-
+--------------------------+---------+----------+----------+-------+
| | Plugin | | | |
+--------------------------+---------+----------+----------+-------+
| Feature | Vanilla | HDP | Cloudera | Spark |
+==========================+=========+==========+==========+=======+

Revision history for this message
Luigi Toscano (ltoscano) wrote :

This seems to be a limitation of the manpage renderer of sphinx, which does not support that header.

The suggested change introduces multiple cells where there shouldn't be, so it's not really a fix.

Possible solution:
- ignore it and tell the downstreams that generate the manpages to skip them for sahara
- rework the header so that the issue is workarounded.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/493620
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=8b3843b6173ec51bc7dea6057bd3ca50224d615a
Submitter: Jenkins
Branch: master

commit 8b3843b6173ec51bc7dea6057bd3ca50224d615a
Author: Luigi Toscano <email address hidden>
Date: Mon Aug 14 19:36:43 2017 +0200

    Cleanup the last warning on doc building (html and man)

    - Quote the hyphens so that they are shown unchanged
    Closes-Bug: #1710628

    - Restructure the Feature-by-Plugin table, simplifying
      it a bit so that the generation of man pages does not
      issue a warning (and so that the looks on the HTML
      version is still acceptable). It looks like the
      man page generator is more limited.
    Closes-Bug: #1710608

    - Add the missing help entry to a configuration key,
      removing a warning
    Closes-Bug: #1710673

    Change-Id: I010b4a9114e6b21068b6d48243ac0a292a3bb497

Changed in sahara:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/493670

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (stable/pike)

Reviewed: https://review.openstack.org/493670
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=04661996b378eea728d3aed5ca2cccdf42c0add3
Submitter: Jenkins
Branch: stable/pike

commit 04661996b378eea728d3aed5ca2cccdf42c0add3
Author: Luigi Toscano <email address hidden>
Date: Mon Aug 14 19:36:43 2017 +0200

    Cleanup the last warning on doc building (html and man)

    - Quote the hyphens so that they are shown unchanged
    Closes-Bug: #1710628

    - Restructure the Feature-by-Plugin table, simplifying
      it a bit so that the generation of man pages does not
      issue a warning (and so that the looks on the HTML
      version is still acceptable). It looks like the
      man page generator is more limited.
    Closes-Bug: #1710608

    - Add the missing help entry to a configuration key,
      removing a warning
    Closes-Bug: #1710673

    Change-Id: I010b4a9114e6b21068b6d48243ac0a292a3bb497
    (cherry picked from commit 8b3843b6173ec51bc7dea6057bd3ca50224d615a)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara 7.0.0.0rc2

This issue was fixed in the openstack/sahara 7.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara 8.0.0.0b1

This issue was fixed in the openstack/sahara 8.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.