-
Notifications
You must be signed in to change notification settings - Fork 115
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
Improve pdoc rendering #68
Conversation
👋 Hi! Thanks for your work–– Well-spotted. Maybe it's a mistake in how I designed this package, but Reviewing... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Merging...
# Fixup relative path. | ||
sed -i.bak 's/\.\./\./g' docs/index.html; rm docs/*.bak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One note: it is nice to have fuzzy search in the sidebar, even for a package this simple. I'll keep an eye on your changelog in case you re-add it!
Using sed
to modify the relative path was a hack, of course.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I see where you are coming from. The intention here was that users are already familar with their browser's builtin search, and not showing the in-page search makes it clear that there is nothing else that can be searched. :) I'll gather a bit more feedback, if it turns out that folks universally still want fuzzy search, we may just re-add it. :)
pdoc always generates a module index for consistency, but doesn't link to it if only one module is being documented. In your case it detected two modules - FWIW you could also simplify your package to a single file ( |
Hi there!
Thanks for the excellent project - it's a nice feeling to work with code that then again makes use of one's own project. 😄
I noticed that you have an interesting single-page configuration for pdoc which is slightly awkward with pdoc's folder structure expectations. I just pushed a new pdoc release which supports this a bit better, here are the accompanying changes for arxiv.py. 😃