CraftSpider / dpytest

A package that assists in writing tests for discord.py
MIT License
103 stars 24 forks source link

Add spacing for docs function #59

Closed DleanJeans closed 3 years ago

DleanJeans commented 3 years ago

Right now it's suffocating

image

Maybe something like

.py.function {
    margin-bottom: 50px;
}

.py.method {
    margin-bottom: 30px;
}

image

itsTheFae commented 3 years ago

Feel free to submit a PR with the changes you feel are most appropriate.

The docs configuration we are using seems pretty basic, so you may need to add a custom css file to the docs config to get these changes in. This page might help point you in the right direction: https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html

CraftSpider commented 3 years ago

Yeah, the current docs setup is basically just a default theme. I'd love to see better theming, but I am not personally skilled in CSS, and thus haven't really had the motivation to improve it. I'd be down to review and accept any pull request to improve the current docs state though.

Honestly I'd love to use a similar theme to discord.py, but that would involve cloning their custom theme. I'm fine with doing that in principle, it's open license, but just would need some work to make work with our current docs.