-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid escape sequences in docstrings #23
Comments
Yeah I saw that too, but the math equations don't seem to be affected, so I left it as is. There might be a way to remove those warnings though |
I was considering switching the documentation over to mkdocs rather than sphinx - I find it much nicer to write and work in and the mkdocs-material theme looks really nice (although rtd-theme is also available). I used mkdocs for my circumplex package: https://circumplex.readthedocs.io/en/latest/. A big part is I just hate writing ReST/sphinx docstrings and find Google/Numpy style with straightforward markdown in the docs nicer. But that's very much personal taste, so I didn't want to just go ahead with it. What do you think? It'd handle this issue at the same time. |
I am quite new to this way of writing docs so I'm fine with anything you might prefer. |
Looks like mkdocs-material has support for Latex equations via MathJax or Katex - https://squidfunk.github.io/mkdocs-material/reference/math/. Okay, I'll keep it in mind if I decide to dive into the documentation more. But it's not the most important thing, so probably not a priority. |
Yeah not the priority for sure, but I'll support the endeavor if you go for it :) |
Upon import (
from acoustic_toolbox import Signal
), several warnings are raised about invalid escape sequences in thestandards
docstrings, but otherwise it imports fine. Looks like it's related to the math sections. Need to check through sphinx to see if we're missing a math extension or something.The text was updated successfully, but these errors were encountered: