-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update quickstart guide for usability #13562
Conversation
Specifies the title for the first script to align with the title from the second version of it later in the document.
The first iteration of the script varied a bit from the second iteration, but the highlighted lines in the second iteration suggested only two lines had changed. This isn't quite true - for example, the function signature of 'get_repo_info' changed to include two new arguments. When following along with the quickstart, this makes it look like a "patch", but after applying the same changes to my code, I obviously got a different result. This change aligns the first version with the second. A drawback is this makes this initial script longer, but: - It's still not a very long script anyway. - The "copy" button is still there, which I suspect most people use anyway. - Those following along can now actually just change 4 lines now and get the new result.
I didn't see a "Remove" button. I suspect this has changed, so I updated the instructions to toggle the button that disables the schedule.
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.
This is better for sure! We should remove that improve from the first script though.
The first script doesn't need the prefect package imports (just a copy/pasta error). Co-authored-by: Bill Palombi <bill@prefect.io>
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
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.
🌟
Adds a few changes to the quickstart guide for usability
based on my experience running through it for the first time.
I put each change in a separate commit with a commit message for
explanation, and so we can revert/adjust any of them as needed.
I put some other notes in a comment below.
Example
I tried to serve the docs locally, but got some errors:
For now, I'll just link to the markdown file on the branch:
https://github.com/PrefectHQ/prefect/blob/update-quickstart-guide/docs/getting-started/quickstart.md
Checklist
This pull request references any related issue by including "closes<link to issue>
"If this pull request adds new functionality, it includes unit tests that cover the changesmaintenance
,fix
,feature
,enhancement
,docs
.For documentation changes:
This pull request includes redirect settings innetlify.toml
for files that are removed or renamed.