-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
docs: generate list of all commands into readme #1313 #1321
base: master
Are you sure you want to change the base?
Conversation
I had been thinking about this too. Great minds, eh? I don't think, however, this is not the answer, execution wise. Not that SEO should be our goal but this looks like a keyword link dump and Google hates those. So, here are my thoughts:
As you might imagine this is not as simple as your solution, but I think it would yield good results. |
using this in some capacity (@stockholmux suggestion looks great) would be a solid improvement to the docs. I imagine a lot of developers find themselves keyword searching for a package that implements a specific redis query. i.e., the only reason I found myself here is I was looking for the implementation of please don't let this die! |
@DanielSeehausen Thanks for bringing this back to my attention, kinda forgot about it. I've reviewed the tool based on @stockholmux' feedback: Some commands have notes with internal links to their explanation. Note sure if there are more commands that can or should have more explanation.. Any feedback? |
This is a pretty huge list and takes a lot of space. I think moving this into a separate doc and adding a link to that would be best. I feel that in general the main README should become smaller and not bigger. As soon as it's indeed small people will probably also find everything :-) |
I think it looks great -- the external docs are a good idea as well |
@BridgeAR @dirkbonhomme wanted to ping to see if we were good with closing this, understanding external docs may be the way the wind is blowing! |
@DanielSeehausen do you think it's useful if I update the tool to generate a new file |
I think that is a great idea @dirkbonhomme ! +1 from me |
It's now generating a separate COMMANDS.md file instead of listing all supported commands in the README: https://github.com/dirkbonhomme/node_redis/blob/master/COMMANDS.md |
Pull Request check-list
Please make sure to review and check all of these items:
npm test
pass with this change (including linting)?Description of change
Includes a list of all Redis commands into the README and provides an npm command to re-generate this list in case there's an update.
Done as a "fun" response to #1313 so no hard feelings if this doesn't get merged. The situation there was painfully recognizable though because my first experience using this library was by going to the Github homepage and searching for the command I wanted to use.