Skip to content

Commit b5bd1ff

Browse files
committed
docs
1 parent 7fa87db commit b5bd1ff

File tree

3 files changed

+63
-23
lines changed

3 files changed

+63
-23
lines changed

docs/astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export default defineConfig({
3333
{
3434
label: "Introduction",
3535
link: "/introduction",
36+
},
37+
{
38+
label: "Rules of Engagement",
39+
link: "/rules-of-engagement",
3640
},
3741
{
3842
label: "Prerequisites Check List",

docs/src/content/docs/prerequisites.mdx

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,6 @@ hide_title: true
55

66
import { Advanced, Charts, Details, Modal, Steps, Tabs, TabItem, Card, CardGrid, LinkCard, Aside, Icon } from "/src/components/global.jsx"
77

8-
⭐ The rules of engagement are:
9-
10-
<Steps>
11-
12-
1. Use Docker - to avoid conflicts with the host system, especially with Qt. Docker is the recommended method.
13-
14-
2. Use Alpine - It is the main supported system and Debian is a testing and fallback. You do not need to build on an older host to use these binaries there.
15-
16-
3. `sudo` - `root` is not required to run the script, but it is required to install the core dependencies if they are missing.
17-
18-
4. Using additional flags and switches can add dependencies, like `-c` for cmake and `-cd` for cache dependencies.
19-
20-
5. Executing the script with no arguments will only install the dependencies and configure the build environment.
21-
22-
6. Nothing is built until you provide the `all` or a specific module name as a positional parameter to the script.
23-
24-
7. The script has a comprehensive built-in help system. Use `bash ~/qbittorrent-nox-static.sh -h` to see the help.
25-
26-
8. You can fork the repo and build on Github using Github Actions to create your own custom releases.
27-
28-
</Steps>
29-
308
<Advanced>
319

3210
:::tip[Optional - Paid service for faster build times]
@@ -35,7 +13,7 @@ For faster build times you can consider a paid service like <Modal id="buildjet"
3513

3614
</Advanced>
3715

38-
### Prerequisite Check list
16+
## Prerequisite Check list
3917

4018
If you want to self host you need to be able to meet these conditions on your host in order to use the script.
4119

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Rule of engagement
3+
hide_title: true
4+
---
5+
6+
import { Advanced, Charts, Details, Modal, Steps, Tabs, TabItem, Card, CardGrid, LinkCard, Aside, Icon } from "/src/components/global.jsx"
7+
8+
⭐ The rules of engagement are:
9+
10+
<Steps>
11+
12+
1. ### Use Docker
13+
14+
- Docker is the recommended method to build using the script.
15+
- This will avoid many potential issues and conflicts with the host system, especially with Qt.
16+
17+
2. ### Use Alpine
18+
19+
- It is the main supported system and Debian is testing and fallback.
20+
- You do not need to build on an older host to use these binaries there.
21+
22+
3. ### Privileges
23+
24+
- `sudo` - `root` are not required to run the script.
25+
- They are required to install the core dependencies if they are missing
26+
27+
4. ### Additional flags and switches
28+
29+
- can add dependencies on demand that will need to be installed.
30+
- like `-c` for cmake and `-cd` for cache dependencies.
31+
- the script will require you to install these on demand.
32+
- Using `.qbt_env` or setting variables before running the script will do this automatically.
33+
34+
5. ### Passing no arguments
35+
36+
:::tip
37+
`qbt-nox-static.bash` is the recommended build script
38+
:::
39+
40+
- `qbt-nox-static.bash` - will make no changes and instead provide information on what you need to do.
41+
- `qbittorrent-nox-static.sh` - will automatically install the required dependencies and configure the build environment.
42+
43+
6. ### Nothing is built until...
44+
45+
- you provide the `all` or a specific module name as a positional parameter to the script.
46+
- applies to both `qbt-nox-static.bash` and `qbittorrent-nox-static.sh`
47+
48+
7. ### Use the help.
49+
50+
- Use `bash ~/qbittorrent-nox-static.sh -h` to see the help.
51+
- applies to both `qbt-nox-static.bash` and `qbittorrent-nox-static.sh`
52+
53+
8. ### fork the repo
54+
55+
- build on Github using Github Actions to create your own custom releases.
56+
- The easiest way to get custom builds for your needs.
57+
58+
</Steps>

0 commit comments

Comments
 (0)