-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Addressing Issue 1809 #1811
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
Addressing Issue 1809 #1811
Conversation
You should review PEP 257, as there are a couple of docstring conventions you're missing. |
Got it. Thanks for the reference, will give it an update this evening. |
The first word should be "Register" (command-style)
The code-ish parts should be wrapped in double backticks to format them as code (maybe run sphinx and build the docs locally to look at the results) |
I appreciate the effort, but this isn't ready to merge. This doesn't read at all like the other docs. It has multiple grammar issues. It's not formatted correctly. Please review other documentation examples. |
I'm replacing the references to the kwargs with :param kwarg: is that the bit you mean should be set apart with double backticks @ThiefMaster? |
How's that. Read up on reST in Sphinx, but I'm not sure how to run Sphinx locally, honestly. |
You just install it using pip and then use the Makefile in the |
Okay, this format is much better, but I need to know how to get that line with the reference to the blueprints page set up correctly. What did I do wrong there? |
I'm going to merge this, then move it over to the documentation for |
It was a good learning experience for me, thanks for all the feedback! |
Maybe that's a stupid question but, do |
This PR seems to be completely incorrect as |
@davidism Could you take a look at this again? |
Added to docstring for Flask.register_blueprint to clarify kwargs. Was unsure of the conventions for using :ref: but figured this fit, please let me know if there's a better way to do that.