Skip to content

Commit

Permalink
Updated the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Oct 17, 2024
1 parent e4e9042 commit 017f634
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 281 deletions.
12 changes: 8 additions & 4 deletions docs/result-player.md → docs/opening.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# /result_player
# /opening

Openings results by player.
Opening results.

## `White`

Expand All @@ -10,6 +10,10 @@ The name of the player with the white pieces.

The name of the player with the black pieces.

## `Event`

The name of the event.

## `Result`

The result of the game.
Expand All @@ -21,12 +25,12 @@ The result of the game.
### Example

```js
ws.send('/result_player "{\\"White\\":\\"Anand,V\\",\\"Black\\":\\"Kasparov,G\\",\\"Result\\":\\"1-0\\"}"');
ws.send('/opening "{\\"White\\":\\"Anand,V\\",\\"Black\\":\\"Kasparov,G\\",\\"Event\\":\\"\\",\\"Result\\":\\"1-0\\"}"');
```

```text
{
"/result_player": [
"/opening": [
{
"ECO": "B96",
"total": 2
Expand Down
48 changes: 0 additions & 48 deletions docs/result-event.md

This file was deleted.

226 changes: 0 additions & 226 deletions docs/result.md

This file was deleted.

4 changes: 1 addition & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ nav:
- Text-based:
- /annotations_game: annotations-game.md
- /ranking: ranking.md
- /result: result.md
- Param-based:
- /autocomplete_black: autocomplete-black.md
- /autocomplete_event: autocomplete-event.md
- /autocomplete_white: autocomplete-white.md
- /result_event: result-event.md
- /result_player: result-player.md
- /opening: opening.md
- /search: search.md
- Binary:
- Param-based:
Expand Down

0 comments on commit 017f634

Please sign in to comment.