Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize sphinx config using application instead of config
Currently sphinx config is initialized using sphinx.config, however in recent versions of Sphinx, plugin specific parameters as man_pages for man builder has been moved to the extension and is not initialized from sphinx.config but using sphinx.application. This is making man_pages to be empty when using sphinx 1.5 and man builder is not properly called. This patch initializes sphinx config using sphinx.application which works fine with both old and new Sphinx versions. Closes-Bug: #1674795 Depends-On: I7bde8fc1f2a7db5bd73635aa197377bf5ac614d2 Change-Id: Ib7c1a6fe8fbb5acfcfcfac61d0b53f080ff2b1e4
- Loading branch information
Showing
2 changed files
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters