-
Notifications
You must be signed in to change notification settings - Fork 59
Adding functionality for the bloom module to have its commands displayed on the Valkey website #212
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
Conversation
…yed on the valkey website Signed-off-by: zackcam <[email protected]>
Signed-off-by: zackcam <[email protected]>
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.
@zackcam Could you share the output of the website with this change?
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.
It looks ok to me from reviewing the files, but I will double check that it all works as expected back at my hotel.
One of the three PRs Required for module documentation to be included on the website Related PRs: valkey-io/valkey-json#42 Will wait for valkey-io/valkey-io.github.io#212 to het merged so we can use the framework to display documentation We have merged the bloom changes in PR too as it depends on that, we would only review the changes related to JSON for this PR --------- Signed-off-by: zackcam <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Signed-off-by: Roshan Khatri <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Signed-off-by: Roshan Khatri <[email protected]> Signed-off-by: Madelyn Olson <[email protected]> Co-authored-by: zackcam <[email protected]> Co-authored-by: KarthikSubbarao <[email protected]> Co-authored-by: Nikhil Manglore <[email protected]> Co-authored-by: Nikhil Manglore <[email protected]> Co-authored-by: Madelyn Olson <[email protected]> Co-authored-by: Copilot <[email protected]>
…n the Valkey Website (#230) ### Description This PR will add the JSON commands on the Valkey website. Note that this PR was created off of a branch of the [bloom filter documentation PR](#212). Merge conflicts will occur if that PR needs to be changed so I will update accordingly. Example: <img width="958" alt="Screenshot 2025-04-02 at 5 10 01 PM" src="https://github.com/user-attachments/assets/0e4e7b6f-6a82-4757-a70f-e320dc9cae00" /> ### Check List - [ X] Commits are signed per the DCO using `--signoff` By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License. --------- Signed-off-by: zackcam <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Co-authored-by: zackcam <[email protected]>
…n the Valkey Website (valkey-io#230) ### Description This PR will add the JSON commands on the Valkey website. Note that this PR was created off of a branch of the [bloom filter documentation PR](valkey-io#212). Merge conflicts will occur if that PR needs to be changed so I will update accordingly. Example: <img width="958" alt="Screenshot 2025-04-02 at 5 10 01 PM" src="https://github.com/user-attachments/assets/0e4e7b6f-6a82-4757-a70f-e320dc9cae00" /> ### Check List - [ X] Commits are signed per the DCO using `--signoff` By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License. --------- Signed-off-by: zackcam <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Signed-off-by: Nikhil Manglore <[email protected]> Co-authored-by: zackcam <[email protected]> Signed-off-by: Shai Zarka <[email protected]>
Related PR's
Bloom repo json command files: valkey-io/valkey-bloom#47
Valkey-doc repo: valkey-io/valkey-doc#233
Description
This PR will allow set the framework so that modules can have their commands displayed on the valkey website (By adding the bloom module commands in a way that can be easily expanded on). I have tried to make this future proof by using a for loop on the
commands.html
page which can be expanded by just adding any new folders we want to pull commands from. For thecommand-page.html
I have used an array to hold the data from the multiple folders with commands and then get the first occurrence that isn't empty (i.e the command belongs to that folder).This will keep ability so that if the command doesn't exist we still have the same fallback.
Updated the
init-commands.sh
to create a link for the bloom commands as well and take in the bloom repository.I have updated the README as well to include the new repo that will be needed for the commands and the information change associated with now expecting commands from the bloom repo.
Lastly updated the github workflow as well to also now build and take in the bloom repo
For screenshots of the new documentation the two pr's above (valkey-io/valkey-doc#233 and valkey-io/valkey-bloom#47) have screenshots of all sections being added
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.