Add documentation for data types #15
No reviewers
Labels
No labels
bug
contribution welcome
docs wanted
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
redict/redict.io!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch ":documentation-for-datatypes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nice work!
@ -0,0 +4,4 @@linkTitle: "Data Types"description: Overview of data types supported by Redictweight: 4---Can you remove unused fields (e.g. linkTitle and description)?
This should also have a shorter name so it doesn't stick out so sorely in the navigation: "Data types"?
Both fields are used.
linkTitleis the title used in the navigation. This is how the navigation looks like on this branch:The
descriptionfield is also used for the meta description:@ -0,0 +8,4 @@# Understanding Redict Data TypesRedict is a data structure server. At its core, Redict provides a collection of native data types that help you solve a wide variety of problems, from [caching](/docs/manual/client-side-caching/) to [queuing](/docs/data-types/lists/) to [event processing](/docs/data-types/streams/). Below is a short description of each data type, with links to broader overviews and command references.I ran into this with the scripting docs as well, but we have some links like this which lead to content that does not exist on redict.io. Should we just leave it here and do another pass over all of the links once we finish importing everything we intend to bring in from redict-doc?
Yes, I think we should port over the content, and then run a dead link checker on the entire site.
@ -0,0 +106,4 @@## Learn more* [Redis Bitmaps Explained](https://www.youtube.com/watch?v=oj8LdJQjhJo) teaches you how to use bitmaps for map exploration in an online game.* [Redis University's RU101](https://university.redis.com/courses/ru101/) covers Redis bitmaps in detail.I don't think we should lead into Redis content unless we have to (e.g. by referencing the RESP specification).
Works for me! I will remove all links to their YouTube channel and University.
@ -0,0 +203,4 @@implement background jobs.The popular Twitter social network [takes the latest tweets](http://www.infoq.com/presentations/Real-Time-Delivery-Twitter)posted by users into Redict lists.nit: these presumably still use Redis and/or may use another fork, perhaps we shouldn't boldly claim that they use Redict lists for their use-cases?
I guess the same is true for:
@ -0,0 +142,4 @@### Lexicographical scoresIn version Redict 2.8, a new feature was introduced that allowsDo a quick sweep for non-existent Redict versions. Use your discretion to either rewrite to say "since Redis x.y", or remove it entirely as the old usage is obsolete for Redict users.
Done!
@ -0,0 +114,4 @@To perform bitwise operations on a string, see the [bitmaps data type](/docs/data-types/bitmaps) docs.See the [complete list of string commands](/commands/?group=string).I don't think this
?group=whateverthing works on our command list pageYou are right, I rewrote a few, but seem to have missed this one! Good catch 👍
@ -2,3 +2,3 @@title: Scripting Redict with LuabookCollapseSection: trueweight: 4weight: 5These can both share a weight of 4 and they'll just be alpha-sorted, which will have the same effect and won't require as much finagling as we add more content.
Yes. Maybe we can briefly decide the order of the navigation, including the upcoming "Usage" section discussed in #15. I propose:
If that works for you, I will adjust the weights in this PR.
I think Usage should come immediately after Installation but otherwise I agree with this ordering.
Approved pending weight adjustements
Can you make the weights powers of ten so that we can more easily add stuff between them without having to renumber everything?
Adjusted the order in the navigation, it looks like this now:
Hm? That ordering is not consistent with my suggestion earlier.
To me, the "Redict Modules" should be "Modules" and "Scripting Redict with Lua" should be "Scripting with Lua" in the navigation. What do you think?
@ddevault Sorry, I did not see that comment. Will adjust it 👍
Thanks!
Adjusted:
Result

Sorry, I thought you said you would re-adjust them in a follow-up pull request. Can you do that?
@ddevault Yep, coming up 👍