Giter VIP home page Giter VIP logo

Comments (7)

nquesada avatar nquesada commented on July 3, 2024 1

I've tried implementing @josh146 fix in this PR: #260 . The docs unfortunately don't build :(

from thewalrus.

josh146 avatar josh146 commented on July 3, 2024

Nice catch @sylviemonet. It looks like the entire CSS of the jupyter notebooks is broken 🤔

Perhaps one fix is to update the version of nbsphinx we are using?

from thewalrus.

co9olguy avatar co9olguy commented on July 3, 2024

@josh146 does this just apply to the thewalrus or could it be the same in other libraries using nbspinx?

from thewalrus.

nquesada avatar nquesada commented on July 3, 2024

@co9olguy : I do not know the answer to you question, but as far as I remember the only place where we used notebooks and do not create them from python scripts is here. As far as I've seen in e.g. the photonics website all the images are there.

from thewalrus.

josh146 avatar josh146 commented on July 3, 2024

Yep, currently the walrus is the only repo of ours that uses nbsphinx.

In the doc/requirements.txt file, we have

docutils==0.16
sphinx==1.8.5
nbsphinx

That is, Sphinx and docutils is pinned, but nbsphinx isn't. So likely a new version of nbsphinx was released that doesn't work with the old version of Sphinx/docutils.

The fix should be as simply as downgrading nbsphinx to an older version that uses the same CSS rules; from looking at recent releases, perhaps trying version 0.7?

Alternately, we could upgrade the version of Sphinx we are using, but that is more dicey, and likely to break other parts of the documentation.

from thewalrus.

co9olguy avatar co9olguy commented on July 3, 2024

Any updates on this issue? Looks like there was a simple fix we could try. Does it solve the problem?

from thewalrus.

nquesada avatar nquesada commented on July 3, 2024

One funny (not sure if relevant) thing is that it seems as if python 3.6 is being used to build docs when nbsphinx is set 0.7.

from thewalrus.

Related Issues (20)

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.