-
Notifications
You must be signed in to change notification settings - Fork 965
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
Web links in console output #4158
Comments
Here's a neat example of including links in error messages: https://twitter.com/zeithq/status/909491222175199233 |
They are using a tiny URL forwarding server to make the error links shorter. I'm not sure we need that, though, as we have `https://wp-cli.org, which is already pretty short. I like the idea of having one central location for storing the error messages, though. It provides a layer of abstraction between the error links and the actual documentation. This means that we change and restructure the documentation without needing changes in the source code, we just need to adapt the links in these centralized error messages. How about creating a repository The markdown document can then contain a short explanation of what the issue is, some standard ways of getting rid of the error, and links to the extensive reference documentation. |
Good point.
I like the idea of putting these in a repository. My preference would be to continue to use |
Closing in favor of wp-cli/ideas#71 |
If we want to bridge the gap between the console (where the "product" is being used) and the web (where the "product" is being documented and worked on), we need to define in what form hyperlinks can or should be used in console output.
Also, as raised in wp-cli/db-command#25 (review) , not every link might be useful as strictly user-facing content.
The text was updated successfully, but these errors were encountered: