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

Why does the toctree, that is generated by autodoc_pydantic get a different styling? #144

Open
prokie opened this issue Jan 25, 2023 · 1 comment
Labels
question Further information is requested

Comments

@prokie
Copy link

prokie commented Jan 25, 2023

Hello.

I have a sphinx with read the docs theme. When I generate documentation for my pydantic models I get a different font in the toctree for my models.

image

The .rst file

config_reader.py
~~~~~~~~~~~~~~~~~~~

.. automodule:: mstlv_package.config_reader
    :members:

How do I configure to keep the font of RTD theme?

@mansenfranzen
Copy link
Owner

Hi @prokie,

thanks for reporting this issue!

I'm trying to make sense of it. autodoc_pydantic doesn't define any fonts at all. Moreover, it should not interfere with how the toctree is generated as html/css.

Could you please provide an example of your generated documentation that I could inspect? This will help me understand the issue that you experience. In best case, you have the sphinx/pydantic code available along with the generated html docs.

@mansenfranzen mansenfranzen added the question Further information is requested label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants