summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-06 14:18:40 -0500
committerDessalines <tyhou13@gmx.com>2020-03-06 14:18:40 -0500
commit0708a6d665ef81700ac61c32f1c3710db9493108 (patch)
tree172717b24b6b36d4f0068685b8892ea3a2c675b6 /docs
parent970e0b5185de35bb7f27e7ee7a8f4efb949e5a1b (diff)
Adding a sorting help. Fixes #532
Diffstat (limited to 'docs')
-rw-r--r--docs/src/about_guide.md12
-rw-r--r--docs/src/about_ranking.md2
2 files changed, 13 insertions, 1 deletions
diff --git a/docs/src/about_guide.md b/docs/src/about_guide.md
index f22e201b..16788ab9 100644
--- a/docs/src/about_guide.md
+++ b/docs/src/about_guide.md
@@ -6,6 +6,18 @@ Start typing...
- `#a_community` to get a list of communities.
- `:emoji` to get a list of emojis.
+## Sorting
+
+*Applies to both posts and comments*
+
+Type | Description
+--- | ---
+Hot | Shows *trending* posts, based on the score, and the most recent comment time.
+New | Newest posts.
+Top | Shows the highest scoring posts in the given time frame.
+
+For more detail, check the [Post and Comment Ranking details](about_ranking.md).
+
## Markdown Guide
Type | Or | … to Get
diff --git a/docs/src/about_ranking.md b/docs/src/about_ranking.md
index 361dc24d..d318ae82 100644
--- a/docs/src/about_ranking.md
+++ b/docs/src/about_ranking.md
@@ -18,7 +18,7 @@ Score = Upvotes - Downvotes
Time = time since submission (in hours)
Gravity = Decay gravity, 1.8 is default
```
-
+- For posts, in order to bring up active posts, it uses the latest comment time (limited to a max creation age of a month ago)
- Use Max(1, score) to make sure all comments are affected by time decay.
- Add 3 to the score, so that everything that has less than 3 downvotes will seem new. Otherwise all new comments would stay at zero, near the bottom.
- The sign and abs of the score are necessary for dealing with the log of negative scores.