-
Notifications
You must be signed in to change notification settings - Fork 815
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
documentation issues #4743
Comments
Sorry, my comment looks terse in retrospect. No emoji anywhere~ 😸 You are suggesting a line n the Guide/Input Bindings section could point to keys.py? Also, removing the paragraph mentioning the Binding Class as the class does not provide more options? |
Of course, but I think a library's documentation's role is to avoid having to read the library's source code!
Not merely point to keys.py, include all the enum keys in the documentation, see for example https://doc.qt.io/qt-6/qt.html#Key-enum
The problem is similar, of course I could grep There are some projects where there's very little documentation, and by reading it, it's obvious you'll very soon have to read not only the docs but also the source code. By contrast, textual's docs cover many topics, from different point of views (e.g. tutorial, guide, reference, API), it's pretty good, but then its quality makes expect that I don't have to read the source code! ;)
Not exactly, for
|
I agree that modules listed in the reference should include the path of the module. The title of the API reference for I think the title of API reference pages for modules should just be the module path, so |
You really don't need to look at that. It could even be private. Not all the keys are enumerated, some are derived from their unicode name. You can run the following command to see what is generated when you press a key.
A note somewhere would be useful, sure, but you can see the values of key from the above command.
That could be improved. You are the first to point it out, probably because most people come from the docs where there is an example of an import. |
The docs do display the import path under "Table of Contents", although its not very prominent. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
I think some things are missing in the documentation, but maybe I just couldn't find them (I tried to look in various places and also tried with the search, but didn't find them)
textual.keys.Keys
enum is not present in documentation, so we don't know what keys can be bound easily.Binding(key=xxx)
string (is it case sensitive? does it allow control or ctrl? etc)textual.binding.Binding
is not mentioned anywhereThe text was updated successfully, but these errors were encountered: