Skip to content

Commit

Permalink
update docusaurus to 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed Sep 16, 2024
1 parent 7ace0bf commit a23b801
Show file tree
Hide file tree
Showing 7 changed files with 8,360 additions and 21,168 deletions.
6 changes: 3 additions & 3 deletions docs/Authoring/Themes/Qt CSS Objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Section Names = Classes
Bullets = Objects

- Example of targeting a ***class***:
* QPushButton { color: Blue; background-color: rgba(255, 216, 0, 170);}
* ```QPushButton { color: Blue; background-color: rgba(255, 216, 0, 170);}```
- Example of targeting an ***object***:
* *#ui_reload_theme {border: 1px solid white; background-color: rgba(0, 0, 0, 0);}
* ```#ui_reload_theme {border: 1px solid white; background-color: rgba(0, 0, 0, 0);}```
* OR
* QPushButton#ui_reload_theme {border: 1px solid white; background-color: rgba(0, 0, 0, 0);}
* ```QPushButton#ui_reload_theme {border: 1px solid white; background-color: rgba(0, 0, 0, 0);}```

Try putting these examples into your courtroom_stylesheets.css, and watch what happens!

Expand Down
4 changes: 2 additions & 2 deletions docs/Development/Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ Reference of fields:
- **other_emote**: The emote the user's pair was doing. Note that by default, zooms (that are correctly defined as such) do not update this value, so a pair of zooms will not appear. Zooms also enjoy special privileges, in that (assuming they are correctly defined, again) they make the pair disappear in the client and get centered.

- **self_offset**: the percentage by which the character is shifted horizontally, from `-100` (one whole screen's worth to the left) to `100` (one whole screen's worth to the right). This parameter also stores vertical offset, which is self-explanatory.
* `{x_offset}`: <2.9
* `{x_offset}&{y_offset}`: 2.9+
* `{x_offset}: <2.9`
* `{x_offset}&{y_offset}: 2.9+`

- **other_offset**: The user's pair's `self_offset`, basically.

Expand Down
14 changes: 7 additions & 7 deletions docs/Legacy/network_old.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ FantaCrypt is only used in messages sent by the client to the server, as well.

The handshake is largely the same regardless of server and client version.

C: (ordinary TCP handshake)
```C: (ordinary TCP handshake)
S: **decryptor#{<decryptor: hex>}#%** (the argument is decrypted using **unsigned integer** 322 as decryption key)
(all headers from the client are encrypted from here on)*
C: **HI#<unique_hardware_id: string>#%**
S: **ID#<player_id: int>#<software: string>[#<version: int.int.int>]#%** (player id is largely unused)
[C: **ID#<software: string>#<version: int.int.int>#%**]
C: **ID#<software: string>#<version: int.int.int>#%**
S: **PN#<player_count :int>#<max_players: int>#%**
[S: **FL#<feature1: string>#...#<featureN: string>#%**]
S: **FL#<feature1: string>#...#<featureN: string>#%**```

*: not always true, if the server sends noencryption as an argument in the FL packet, headers are no longer encrypted(2.3.1+ only)

Expand Down Expand Up @@ -114,7 +114,7 @@ For the most part, communication between clients happens this way. There are chi
IC messages, (abbreviation for "In-character") are the kind of messages sent with a character, an animation and many other modifiers. There is a total of 14 arguments, which makes the packet a bit complex. To make this a bit more manageable, there is a redundant newline for every argument. These are not present in the actual packet.

C:
**MS#
```MS#
chat/0/1# (0 = no desk, 1 = desk)
<pre_emote: string>#
<character: string>#
Expand All @@ -133,10 +133,10 @@ chat/0/1# (0 = no desk, 1 = desk)
[<showname: string>]#
[<other_charid: int>]#
[<self_offset: int>]#
[<noninterrupting_preanim: int>]#%**
[<noninterrupting_preanim: int>]#%```

S:
**MS#
```MS#
chat/0/1# (0 = no desk, 1 = desk)
<pre_emote: string>#
<character: string>#
Expand All @@ -159,7 +159,7 @@ chat/0/1# (0 = no desk, 1 = desk)
[<self_offset: int>]#
[<other_offset: int>]#
[<other_flip: int>]#
[<noninterrupting_preanim: int>]#%**
[<noninterrupting_preanim: int>]#%```

The following features have been added in 2.6 when the Case Café Custom Client features had been merged:

Expand Down
5 changes: 3 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/* eslint-disable @typescript-eslint/no-var-requires */
const darkCodeTheme = require('prism-react-renderer').themes.dracula;
const lightCodeTheme = require('prism-react-renderer').themes.github;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
Loading

0 comments on commit a23b801

Please sign in to comment.