From ab2e62e4e80a459aa9a3b3b004911163b9d5b8ac Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 17 Sep 2023 15:24:40 +0200 Subject: [PATCH] Also use ? as delimiter for method slugging --- docs/v0.0.1/README.md | 2 +- docs/v0.0.1/classes/TeeworldsClient.md | 2 +- scripts/update_docs_index.sh | 1 + scripts/update_docs_methods.sh | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/v0.0.1/README.md b/docs/v0.0.1/README.md index ca3ebf5..645e444 100644 --- a/docs/v0.0.1/README.md +++ b/docs/v0.0.1/README.md @@ -53,7 +53,7 @@ Version v0.0.1 [#initialize(options = {})](classes/TeeworldsClient.md#initialize) -[#rcon_authed? -> Boolean](classes/TeeworldsClient.md#rcon_authed? -> Boolean) +[#rcon_authed? -> Boolean](classes/TeeworldsClient.md#rcon_authed) [#send_ctrl_close](classes/TeeworldsClient.md#send_ctrl_close) diff --git a/docs/v0.0.1/classes/TeeworldsClient.md b/docs/v0.0.1/classes/TeeworldsClient.md index c0e189c..7d58dff 100644 --- a/docs/v0.0.1/classes/TeeworldsClient.md +++ b/docs/v0.0.1/classes/TeeworldsClient.md @@ -387,7 +387,7 @@ client = TeeworldsClient.new(verbose: true, config: "autoexec.cfg") client.connect('localhost', 8303, detach: false) ``` -### #rcon_authed? -> Boolean +### #rcon_authed? -> Boolean Returns true if the client is currently rcon authenticated. diff --git a/scripts/update_docs_index.sh b/scripts/update_docs_index.sh index a126403..c34e859 100755 --- a/scripts/update_docs_index.sh +++ b/scripts/update_docs_index.sh @@ -38,6 +38,7 @@ function print_instance_methods() { while read -r hook do hook_slug="${hook%%(*}" + hook_slug="${hook_slug%%\?*}" echo "" echo "[#$hook](classes/$class.md#$hook_slug)" done < <(grep '###