-
Notifications
You must be signed in to change notification settings - Fork 6
Refactor top of sidebar #289
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -37,38 +37,25 @@ | |||
| { | ||||
| "group": "Getting Started", | ||||
| "pages": [ | ||||
| "docs/getting-started/intro", | ||||
| "docs/getting-started/about", | ||||
| "docs/getting-started/quickstart", | ||||
| "docs/getting-started/client-libraries", | ||||
| "docs/getting-started/your-first-api-request" | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
The "your first API request" page doesn't provide any additional value on top of the quickstart, the only difference is that it also includes a sample Write API request. We should remove it, either entirely or at least from this section
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had the same concern. I just didn't have the heart to remove it...
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I defer to you on what to do with this one!
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's remove it, we can add a redirect from its URL to the quickstart |
||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Essentials", | ||||
| "pages": [ | ||||
| "docs/getting-started/supported-languages", | ||||
| "docs/getting-started/auth", | ||||
| "docs/getting-started/regional-endpoints", | ||||
| { | ||||
| "group": "Developer Tools", | ||||
| "pages": [ | ||||
| "docs/getting-started/client-libraries", | ||||
| "docs/getting-started/deepl-cli", | ||||
| "docs/getting-started/deepl-mcp-server" | ||||
| ] | ||||
| }, | ||||
| "docs/getting-started/managing-api-keys", | ||||
| "docs/getting-started/your-first-api-request", | ||||
| "docs/getting-started/test-your-api-requests-with-postman", | ||||
| "docs/getting-started/supported-languages" | ||||
| "docs/getting-started/regional-endpoints" | ||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Learning & How Tos", | ||||
| "pages": [ | ||||
| { | ||||
| "group": "Cookbook", | ||||
| "pages": [ | ||||
| "docs/learning-how-tos/cookbook", | ||||
| "docs/learning-how-tos/cookbook/google-sheets", | ||||
| "docs/learning-how-tos/cookbook/automating-indie-game-localization-with-the-deepl-api-and-godot", | ||||
| "docs/learning-how-tos/cookbook/java-document-translator", | ||||
| "docs/learning-how-tos/cookbook/usage-analytics-dashboard", | ||||
| "docs/learning-how-tos/cookbook/nodejs-proxy" | ||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Guides", | ||||
| "pages": [ | ||||
|
|
@@ -80,9 +67,27 @@ | |||
| "docs/learning-how-tos/examples-and-guides/placeholder-tags", | ||||
| "docs/learning-how-tos/examples-and-guides/deepl-mcp-server-how-to-build-and-use-translation-in-llm-applications" | ||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Cookbook", | ||||
| "pages": [ | ||||
| "docs/learning-how-tos/cookbook", | ||||
| "docs/learning-how-tos/cookbook/google-sheets", | ||||
| "docs/learning-how-tos/cookbook/automating-indie-game-localization-with-the-deepl-api-and-godot", | ||||
| "docs/learning-how-tos/cookbook/java-document-translator", | ||||
| "docs/learning-how-tos/cookbook/usage-analytics-dashboard", | ||||
| "docs/learning-how-tos/cookbook/nodejs-proxy" | ||||
| ] | ||||
| } | ||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Developer Tools", | ||||
| "pages": [ | ||||
| "docs/getting-started/deepl-cli", | ||||
| "docs/getting-started/deepl-mcp-server" | ||||
| ] | ||||
| }, | ||||
| { | ||||
| "group": "Best Practices", | ||||
| "pages": [ | ||||
|
|
@@ -406,6 +411,10 @@ | |||
| "source": "/docs/getting-started/alpha-and-beta-features", | ||||
| "destination": "/docs/resources/alpha-and-beta-features" | ||||
| }, | ||||
| { | ||||
| "source": "/docs/getting-started/intro", | ||||
| "destination": "/docs/getting-started/quickstart" | ||||
| }, | ||||
| { | ||||
| "source": "/docs/resources/release-notes", | ||||
| "destination": "/docs/resources/roadmap-and-release-notes" | ||||
|
|
||||
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.
The client libraries page should be in the developer tools section
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.
I don't agree. Right now it's not easy to learn anything about our client libraries on this site, unless you happen to be one of the intro pages. It's not great that people have to navigate to github to learn how to use them, but at least a persistent sidebar link makes them discoverable. For the great majority of developers, finding info on their client library is also an essential part of getting started.
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.
The page lives under Getting Started, which implies tutorial/onboarding content. But this is pure reference (a catalog of libraries). Users in "getting started" mode expect guidance on which library to pick and how to install it — they get a link list instead.
Recommendation: Move this page to Developer Tools, and add a how-to guide ("How to install a DeepL client library") to this section that includes installation commands for each language.
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.
I like your idea in the abstract... but I don't think people need a guide for how to install each client library. There's not much to say! These instructions are already in the github repos, and I think that's a logical place for them.
On the other hand, I agree that this page is not very getting-started-y as it stands. Beginners won't need to know about out-of-the-box retries etc.
How about this: I could start this off with a couple of paragraphs explaining about what the client libraries are, what they do, where to find documentation and examples. There wouldn't be much. I think the link boxes are still useful. We could then remove/rewrite the "features include" area or put it elsewhere. The rest could be in a "see also" area.