Giter Site home page Giter Site logo

Comments (9)

super-sk avatar super-sk commented on September 2, 2024

Hey it looks very similar to the bug on the original sphinxcontrib-versioning right here .

Unfortunately, it seems no PRs is merged ! :(

from sphinx-versions.

paddy-hack avatar paddy-hack commented on September 2, 2024

Did you add sphinxcontrib.versioning.sphinx_ to the extensions array in your conf.py?

from sphinx-versions.

fstompe avatar fstompe commented on September 2, 2024

I came across the same behaviour - in Python 3.6 - which is not yet officially supported. So the solution was to run it on Python 3.5.

from sphinx-versions.

paddy-hack avatar paddy-hack commented on September 2, 2024

I'm using the above fix with Sphinx 2.2.1 on Debian 10's Python 3.7.3.

from sphinx-versions.

super-sk avatar super-sk commented on September 2, 2024

@paddy-hack not tested yet. I also have to test workarounds from the original thread. ;)

from sphinx-versions.

paddy-hack avatar paddy-hack commented on September 2, 2024

For this project's module you don't need the workarounds from the original thread .

from sphinx-versions.

paddy-hack avatar paddy-hack commented on September 2, 2024

Forgot to mention, I actually use this project's module as I want to generate PDFs as well. This is something that the sphinxcontrib/versioning modules does support (yet?).

from sphinx-versions.

Holzhaus avatar Holzhaus commented on September 2, 2024

It looks like the code to inject the extension into older branches is broken. I guess you have multiple branches/tags but only added the extension to conf.py on the latest (master) branch.

You can check this by restricting sphinx-version to master-only:

sphinx-versioning build -r master -w master -W this_tag_doesnt_exist <source> <build>

This works for me.

from sphinx-versions.

paddy-hack avatar paddy-hack commented on September 2, 2024

A ugly fix was posted in sphinx-contrib/sphinxcontrib-versioning#70 (comment)

from sphinx-versions.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.