Skip to content
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 Section Suggestion: “A Quick Tutorial To Get Started” #1109

Closed
christianmckinnon opened this issue May 18, 2024 · 2 comments

Comments

@christianmckinnon
Copy link

christianmckinnon commented May 18, 2024

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.

SpotipyIssue

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).

SpotipyPR
@dieser-niko
Copy link
Member

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:

When landing on the documentation page, I noticed that the welcome message immediately transitions into a Spotify API example without clear separation. This lack of transition might disrupt the flow for newcomers. The accessible Python code snippets aim to show the ease of using the library but lack a subheading explaining their purpose.

Suggested Action:
Add a subheading, “A Quick Tutorial To Get Started,” after the introduction sentence to improve clarity and user-friendliness. This will help developers understand the code's purpose and navigate the documentation more effectively.

@christianmckinnon
Copy link
Author

Got it. Thank you so much for your feedback and I will keep that in mind for future contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants