Move docs to a separate directory

This commit is contained in:
Simon Ser
2023-11-12 10:03:05 +01:00
parent 68cb6c56c4
commit ca4b3575b1
4 changed files with 115 additions and 105 deletions

14
doc/url-params.md Normal file
View File

@@ -0,0 +1,14 @@
# URL parameters
gamja settings can be overridden using URL query parameters:
- `server`: path or URL to the WebSocket server
- `nick`: nickname
- `channels`: comma-separated list of channels to join (`#` needs to be escaped)
- `open`: [IRC URL] to open
- `debug`: if set to 1, debug mode is enabled
Alternatively, the channels can be set with the URL fragment (ie, by just
appending the channel name to the gamja URL).
[IRC URL]: https://datatracker.ietf.org/doc/html/draft-butcher-irc-url-04