-
Notifications
You must be signed in to change notification settings - Fork 46
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
Consider using something other than urllib.parse to demonstrate API docs? Plus dummy examples #132
Comments
Also Look at |
If someone knows of an existing package to exercise this, I'll happily reuse that. Absent that, I'd also be OK with adapting the demo documentation to use a custom |
I'm not sure if any of Pyramid's API has better docstrings. At least it renders without errors, unlike urllib.
I would suggest registry. I'm happy to submit a PR if any of these are agreeable to others. |
I might suggest
While not as perfect as a specially crafted file, it is a clear improvement over |
Ah well, I got sucked into writing an all-in-one example Python file (not done yet). |
The API docs for
urllib.parse
included in the theme demos don't feature a single method, only functions and classes without methods, so IMHO it's kind of a bad example to show what typical API docs will look like. Would you be open to using another module for the API docs demo and/or maybe adding some dummy class examples to that page manually?The latter option would also be good because another thing that differentiates themes is how well they deal with overly long package/module or class/function names, e.g. Alabaster vs Insipid:
As such names are rare in Python's standard library, the only (?) way to get this to show would probably be dummy examples. Although maybe they should be on a separate page so people aren't put off themes just because of this edge case.
Thoughts?
The text was updated successfully, but these errors were encountered: