Add modified core docs to website, Partially flatten navbar#238
Add modified core docs to website, Partially flatten navbar#238stephanlensky merged 2 commits intocdpdriver:mainfrom
core docs to website, Partially flatten navbar#238Conversation
|
This pull request has been marked stale because it has been open for 30 days with no activity. If there is no activity within 7 days, it will be automatically closed. |
|
Hi @Kajmany, so sorry I missed this pull request for so long. Thank you for the submission, I tested locally and the
I'm not sure what you mean about this - on my machine (Linux/Chrome) it defaults to expanded and is just one click to toggle. Is this from a phone? Anyways, I'd rather follow the recommended patterns for organizing content from the
I think that's totally fine, actually this package should have had it already. The fact that it was missing is probably just an oversight.
Thank you, this is great. I added the native type annotations after the fact, but did not go back and update the docstrings. They can probably all be removed if griffe is able to get the same information from the type annotations directly.
That's a shame, I heard about the new project but didn't know they would no longer maintain this one. I think the theme of Zensical is nicer and more modern looking, but I haven't heard much about their monetization model. |
|
Thanks for your reply! I do not expect any SLA doing a cold PR on a project 😉
I recorded a short video on KDE/Chrome/Linux of what I mean: ihatehamburgermenus.webm. I also just noticed that the hamburger menu is only forced when the window width isn't very high -- the other view works fine. Ideally it would be fixed upstream, but I wouldn't expect them to now. It was mostly a minor annoyance "while I'm at it" change that only mitigates a bit, and I don't have any qualms reverting.
Looking back, there's quite a few blank param tags -- I think they're only needed if you want to describe a parameter now that there's type annotations. TBH I don't really have time to make another pass for them right now (and I don't think they cause any real harm), but I won't be offended if you want to modify my branch for that.
I really love the design, stack, etc - but I always worry what projects like that will do when they run low on funds. Hopefully it goes well for them. |
…rite of some docs
|
@stephanlensky I rebased out the flattening. Needed a second shot because I forgot to update the changelog. |
That's indeed quite annoying. I do think it's important for the organization though, especially with the higher window width view, so thank you for reverting.
No problem, something is better than nothing. I haven't had as much time to work on this project lately, but we can leave it in case someone else wants to come take another pass. |
stephanlensky
left a comment
There was a problem hiding this comment.
This looks great, thanks!
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Description
Ref #211 because I saw a maintainer was O.K with adding core to docs, but I also did some stuff you might not want along with that.
TutorialsandRelease Noteswere unnecessary. The navbar takes an awkward and laggy double-click to expand for me, so I think it is more convenient now.core: Adding a blank__init__.pytocoremade this doable with an easy kludge inside the reference script, but I don't know if this causes problems elsewhere. I think this SO link might apply to why I had trouble getting mkdocstrings to load the modules -- it's purposeful by griffe? I'm not great with Python or Python packaging, so hopefully you know if it's a bad idea makingcorenot be an implicit namespace package anymore(?):rtypeseem to make empty tables, but I hope it's good enough for now.Tested locally with
because it seemed like a lot of effort to replicate the GH-pages on a fork.
Also FYI that this doc generator is apparently being
killedmaintenance moded in favor of an open-source but commercial project. I would not be in a rush to migrate if I were you, though 🤷Pre-merge Checklist
./scripts/format.shand./scripts/lint.shscripts. My code is properly formatted and has no linting errors.uv run pytestand ensuredall tests passno more fail than when I started.[Unreleased]section.