-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Make documentation more verbose #516
Comments
Love the idea. Like a grab 'n go section per chapter.
That sounds strange though, as there should be no difference between
I totally agree. To give you more context, whereas I'm generally happy on how docs looks today, I'd say there are 2 major things to consider with the documentation in Emmett:
So if you could make few contributions on that side it would be tremendously helpful: even just for the "fresh point of view" compared to mine. |
I have tested both Regarding the documentation, I understand that you're maintaining several projects, and you might not have enough time to focus more on docs. I came across Emmett while researching Granian. I'd be happy to note specific points that could be suitable for a For example:
db = Database(app)
db.define_models(Plan)
auth = Auth(app, db, user_model=User)
|
I've been tinkering with the framework, and while the learning curve has been minimal, one challenge I've faced is that the documentation is less verbose. However, this can be supplemented by looking at the implementation and tests to understand how to implement certain features.
For example, when testing routes with paths, my initial approach was to use f-strings to build the URL, but that didn't work. After checking out the Emmett test for auth https://github.com/emmett-framework/emmett/blob/master/tests/test_auth.py#L213, I followed the same approach shown there, which solved the issue.
Would it be a good idea to make the documentation a bit more versbose? Perhaps creating a 'testing-how-to.md' or 'orm-how-to-md' that includes snippets for implementing key features and highlights certain gotchas would be helpful. For instance, in the ORM, it's easy to assume that update and update_record are the same due to muscle memory from other ORMs. A quick reference guide like this could be useful for new developers.
The text was updated successfully, but these errors were encountered: