Code Monkey home page Code Monkey logo

Comments (10)

mgaitan avatar mgaitan commented on May 19, 2024

Yeah, it's an issue in mermaid. I raised a ticket there mermaid-js/mermaid#527. Check my workaround here b2740ea

from sphinxcontrib-mermaid.

Zulko avatar Zulko commented on May 19, 2024

As I said, I have seen the workaround in the code, but the version I got from pip doesnt seem to work - is the workaround pushed on PyPI ?

from sphinxcontrib-mermaid.

mgaitan avatar mgaitan commented on May 19, 2024

oh sorry. yes, the hack is part of the tag 0.2, which is the last version released on pypi. But now I note it only apply to .section (the css class applied to div for example) and not for section as tag. Could you confirm this?

from sphinxcontrib-mermaid.

Zulko avatar Zulko commented on May 19, 2024

Oh yes indeed. Now I understand the problem: I am using the popular read-the-docs theme which uses section as a class for all the sections of the documentation. As a consequence everything gets the semi-opacity.

from sphinxcontrib-mermaid.

iroller avatar iroller commented on May 19, 2024

Hey @Zulko, did you figure out the way how to apply the workaround when using read-the-docs theme?

from sphinxcontrib-mermaid.

iroller avatar iroller commented on May 19, 2024

@mgaitan removing .body from your workaround would fix the issue for those using read-the-docs theme.

from sphinxcontrib-mermaid.

mgaitan avatar mgaitan commented on May 19, 2024

could you send a tiny PR?

from sphinxcontrib-mermaid.

iroller avatar iroller commented on May 19, 2024

@mgaitan of course. #8

from sphinxcontrib-mermaid.

mgaitan avatar mgaitan commented on May 19, 2024

fixed in 3baa0b2

from sphinxcontrib-mermaid.

Zulko avatar Zulko commented on May 19, 2024

Just to confirm it works like a charm now. Thanks very much guys !

from sphinxcontrib-mermaid.

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.