Skip to content
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

py.function css class seems broken #74

Open
BerriJ opened this issue Apr 22, 2020 · 1 comment
Open

py.function css class seems broken #74

BerriJ opened this issue Apr 22, 2020 · 1 comment
Assignees
Labels
accepted Accept something (to be done)

Comments

@BerriJ
Copy link

BerriJ commented Apr 22, 2020

Hey guys,

I like this theme, so I tried it for my package, but the pages generated by autodoc contain a lot of white text. So I cloned this repo, made a new virtualenv, installed the dev requirements via pip, build and installed this package with "make_install", and headed over to the "docs" folder where I made the documentation with "make Html".

All pages render correctly, but the once containing methods or classes (which are generated from the docstrings) do not. I have attached a screenshot from my ~/git/sphinx_typo3_theme/docs/_build/html/sphinx_typo3_theme.html file.

sphinx_typo_3 2020_04_22

Any help would be awesome. By the way, I'm using macOS Catalina, and the Version of Python in the venv is 3.7.4.

Thanks in advance. :)

@ghaefele
Copy link

ghaefele commented Jul 26, 2020

I have the same problem. Some of the autodoc texts have the same value for foreground and background: #fff (White).
A provisional workaround is to change the color in the .py class (within .Lib/site-packages/sphinx_typo3_theme/static/css/theme.css) from White

.py {
    color: #fff
}

to Black

.py {
    color: rgb(0, 0, 0)
}

But I'm not a CSS guru and I don't know what side effects the change has.
I just read the theme.css with VS Code -> Format Document -> replace the color in the .py class -> Minify this document -> Save.

As this is one of the best Sphinx themes I would be happy to see this issue corrected with your next release.

@marble marble self-assigned this Sep 3, 2022
@marble marble added the accepted Accept something (to be done) label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accept something (to be done)
Projects
None yet
Development

No branches or pull requests

3 participants