Skip to content

Commit db17fad

Browse files
docs: Add section overview
1 parent c69a8e7 commit db17fad

File tree

3 files changed

+75
-2
lines changed

3 files changed

+75
-2
lines changed

packages/documentation/docs/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# Kitten Science
1+
# Kitten Scientists v2
2+
3+
!!! warning
4+
5+
Documenting all features has only been started since the beta phase. This documentation is part of the ongoing development effort and it is incomplete.
6+
7+
Please refer to the [Sections](sections/overview) for the current documentation.
Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,67 @@
1-
# Science
1+
# Overview
2+
3+
## Introduction
4+
5+
The UI of KS is divided into several major sections. The names of these sections correlate to the main tabs in the KG UI.
6+
7+
Refer to the individual section documentation pages for details of the automation features on those sections.
8+
9+
## UI Concepts
10+
11+
### Panels
12+
13+
The UI of KS is made up of _panels_. You recognize a panel from the little `+` symbol on it. When you click on the `+`, the panel expands and the `+` turns into a `-`. When you now click the `-`, the panel collapses again.
14+
15+
!!! note
16+
17+
The `+`/`-` button is often referred to as an _expando_.
18+
19+
Most panels are also [settings](#settings). Which means that they have a **checkbox** as their top element, which is always visible, even when the panel is collapsed. When you _disable_ this setting, it causes any automation that is controlled through that section of the UI to be bypassed.
20+
21+
#### Utilities
22+
23+
!!! warning
24+
25+
These buttons are likely to be replaced by a different approach. Don't get used to them.
26+
27+
Some panels, when expanded, show 3 more buttons:
28+
29+
1. Reset to defaults
30+
31+
Set all options to the values that come with KS.
32+
33+
1. Enable all options
34+
35+
Activates everything.
36+
37+
1. Disable all options
38+
39+
Turns everything off.
40+
41+
### Settings
42+
43+
A _setting_ in KS is most commonly a checkbox. When the checkbox is checked, this feature is active. If the checkbox is unchecked, the feature is inactive.
44+
45+
Some settings also come with additional options. These are shown on the same line as the checkbox. You can click on these options to change their value. Sometimes, these options behave like expando buttons and collapse an entire new panel with options.
46+
47+
### Triggers
48+
49+
One common option to see is the _trigger_, symbolized by a little lightning. A trigger usually communicated at which threshold an automation should become active. Which resource this threshold refers to, is documented with the individual automations.
50+
51+
Triggers can be absolute values or, most commonly, a percentage. This percentage then usually refers to your storage capacity for a given resource.
52+
When you enter a percentage value into KS, it expects you to provide it as a value between `0` and `1`. So if you wanted a trigger value at ¾ of your storage capacity, you'd enter `0.75`.
53+
54+
### Limits
55+
56+
Another common option is the _limit_. This will usually prevent an automation from going over a certain value. The most important aspects to understand are:
57+
58+
- `-1` means _infinity_. Effectively disables the limit.
59+
- `0` means don't do anything ever.
60+
- any other number will be the limit for this automation.
61+
62+
!!! hint
63+
64+
When entering limits, you can usually use the KG notations for big numbers. So `9.5M` will become `9,500,000`. You _have to_ use upper-case letters for this to work though.
65+
66+
_[KG]: Kittens Game
67+
_[KS]: Kitten Scientists \*[UI]: User interface

packages/documentation/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extra:
66
- icon: fontawesome/brands/github
77
link: https://github.com/kitten-science/
88
markdown_extensions:
9+
- abbr
910
- admonition
1011
- pymdownx.details
1112
- pymdownx.highlight:

0 commit comments

Comments
 (0)