-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Experiment how Furo looks #8420
Conversation
lovely, we can review on https://pytest--8420.org.readthedocs.build/en/8420/ i'm going to take a closer look once i get back to the computer thanks! |
I do have quite a few questions/thoughts, based on how stuff is looking in Furo:
|
i love that suggestion its quite possible we completely missed the opportunity when making this first
we want to break/group the documentation since a while now to make it more approachable to different audiences to begin with
i think we are very open for improvements/suggestions there |
I'd not do this until pradyunsg/furo#24 is implemented, because it forces a dark color on me, that somehow is harder to read than the light alternative or light one used today... |
Awesome, thanks for that context @RonnyPfannschmidt! I've got my hands full with the pip documentation rewrite right now and sphinx theme stuff, but I think a month or so from now, I can come back to this and chip away at this. If someone else wants to pick this up in the mean time, please feel free to. Or, if it's May and I haven't responded here in a while, please feel free to ping me. :) |
Thanks for the details, we got someone that also wants to chip at the docs and we'll coordinate that |
Thanks @pradyunsg, we appreciate the contribution! I wouldn't worry too much about restructuring things, as @RonnyPfannschmidt mentioned, other people coordinated with us in the mailing list about the docs, so we expect some work to be done in that front soon. About the theme itself: I like the overall look of the documentation, congratulations on that. I also particularly like the table of contents added automatically on the right side of each page. However I noticed that type annotations have the same issues mentioned in that twitter thread: https://pytest--8420.org.readthedocs.build/en/8420/reference.html#pytest-fixture But I'm not sure if that's something fixable by the theme and/or if you wanted to tackle that in this PR. Thanks again! |
It might be because I took this PR from a commit before the one that moved the type annotations to the parameter listing. Realistically though, I don't think the theme can do anything about this - it's what Sphinx is generating that's suboptimal. 🙈 Edit: oh, nvm. #8407 never got merged. That's what ll "fix" this issue. |
@pradyunsg @nicoddemus Is the issue resolved now? It's not clear to me what it is. |
Assuming #8455 merges by then, I'll rebase this PR today after my work day! :) |
Heyo, are folks interested in this? If so, I'll pick this back up -- otherwise let's close this? |
Hi @pradyunsg I am. Not my decision, but a) I think it would be a good idea, and b) I think that the adoption of Furo would further help expose issues and opportunities for improvement in the pytest documentation. |
@pradyunsg i beleive both @nicoddemus and me would lve to see this land im a bit swamped so it was off my radar, thanks for the ping |
Yeah it would be interesting for this to be rebased and see how it looks updated. 👍 |
Neato. Lemme file a new PR for this then! :) |
Twitter driven development!
https://twitter.com/pradyunsg/status/1368893934961909763
I never realised that pytest's documentation is a flat list of pages. There's a bunch of quirky things thanks to that, but hey, here's the PR I promised. :)