mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1109] Documentation Section Suggestion: “A Quick Tutorial To Get Started” #660
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#660
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @christianmckinnon on GitHub (May 18, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1109
Feature Request & Issue:
When landing on the documentation page as a prospective contributor, I noticed straightaway that after the welcome message and description, we immediately dive into an example of how to interact with the Spotify API without any explicit context or separation from the above section. For a newcomer to the community, the lack of a transition here might detract from the flow of the docs. My understanding is that by placing these accessible Python code snippets directly beneath the welcome message, we can convey the ease with which a developer can get started using the library. This is unfortunately contrasted by the absence of a subheading that explicitly details what the code is intended to do.
Suggested Action:
I think a quick way to remedy this would be to simply add a new subheading, titled, “A Quick Tutorial To Get Started,” to provide separation from the welcome message, and clarity as to the purpose of the code. Specifically, this new subheading would be added after the sentence:
“Spotipy is a lightweight Python library for the Spotify Web API. With Spotipy you get full access to all of the music data provided by the Spotify platform.”
The intention here is to improve the user-friendliness and clarity of the documentation. By directly defining the purpose of the relevant code snippets, developers can more immediately choose to engage in reading the content, or skip to a different subsection that is more related to the task they are trying to achieve.
Alternatives:
I am open to rewording the Section title based on suggestions from the community.
Additional Context: Proposed Solution & Pull Request:
The proposed update would take place after line 9 in the “index.rst” file of the “docs” folder (as seen below). To retain formatting consistency with the remainder of the document, I would suggest including blank spaces on lines 10 and 13, with “A Quick Tutorial To Get Started” on line 11 and the equals signs defining the second-level heading on line 12. As we are using reStructured Text Files with:
master_doc = 'index'in "conf.py" my understanding is that the HTML element anchor element should be automatically generated and included in the menu bar on the left. (I have included a screenshot of the updated markdown changes in "index.rst" below to for clarity).@dieser-niko commented on GitHub (May 21, 2024):
There's already a restructuring underway that would solve this problem as well. See #1054.
Also, please don't use filler words. I don't mean to be rude or anything, but your issue can be compressed into a paragraph or two without losing context. The last paragraph can be removed entirely, as it is expected that everyone using git/GitHub knows how it works. You could even just open a pull request without the issue. Here's a quick rephrasing:
@christianmckinnon commented on GitHub (May 21, 2024):
Got it. Thank you so much for your feedback and I will keep that in mind for future contributions!