Code Monkey home page Code Monkey logo

Comments (4)

m3lab-zzl avatar m3lab-zzl commented on September 12, 2024 1

Right, I am working on this (the toolchain got me some trouble due to bad internet connection). The PR will come soon.

from theoretical-physics.

m3lab-zzl avatar m3lab-zzl commented on September 12, 2024 1

Preview the mathjax version (equations are rendered by mathjax on the fly)

  • Current one:

image

  • Light ReadTheDocs theme:

image

  • Dark ReadTheDocs theme:

image

  • Light Pydata theme:

image

  • Dark Pydata theme:

image

The new 4 options all have a user-friendly sidebar that makes the navigation easier, and a search box for quickly jumping to any interested part. The page width is no longer fixed at some weird width that would leave the right part blank. One final change is the code-block copy button and autowrap:

image

Pydata theme has a Back to top button, if you like this theme, we may need to change the project structure, as the top navigation bar can only display short titles.

  • About the equations

As you mentioned before, Mathjax rendered equations look nicer (also visible in dark mode), and it took much less time to build, but the source code needs some modification to correctly generate the desired output. If you insist the dvisvg solution, equations will be invisible in dark mode.

See PR #106 for code change

from theoretical-physics.

m3lab-zzl avatar m3lab-zzl commented on September 12, 2024 1

sphinx_book_theme suits better than pydata theme, no need to change project structure because the chapters are placed in the left sidebar. not at the top for pydata theme:

image

Here lists more themes:

https://sphinx-themes.org/

from theoretical-physics.

certik avatar certik commented on September 12, 2024

@m3lab-zzl that would be awesome, thank you. Go ahead!

from theoretical-physics.

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.