Skip to content
Snippets Groups Projects
Commit fcb8d6f4 authored by Xavier Robin's avatar Xavier Robin
Browse files

Revert "Attempt to restore compatibility with older versions of Sphinx"

This reverts commit ef7bfdb6.

Didn't work with Sphinx 1.6.7 which needs an extra option at the start.
This needs to be fixed cleanly, or we need to upgrade the Sphinx version
requirements
parent ef7bfdb6
Branches
Tags
No related merge requests found
Loading
  • Owner

    Just a thought: can you do

    import sphinx
    old_sphinx = sphinx.version_info[0] < 2

    and then solve it with some if statements?

    That is assuming that the change happened with the major version change of sphinx...

  • Author Maintainer

    Yes we can definitely add lots of if statements, but the functions are accepting different number of arguments (expecting argv[:] or argv[1:]) so that was getting really ugly. There must be a better way out of it.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment