fix more docs urls (#1882)

This commit is contained in:
Peter W
2023-12-01 14:15:31 -06:00
committed by GitHub
parent a82e8334d6
commit 06e1fdecc2
5 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ const CLOSEBUTTON =
/**
* These error codes are used to identify the type of error that occurred.
* @see https://docs.pyscript.net/latest/reference/exceptions.html?highlight=errors
* @see https://pyscript.github.io/docs/latest/reference/exceptions.html?highlight=errors
*/
export const ErrorCode = {
GENERIC: "PY0000", // Use this only for development then change to a more specific error code

View File

@@ -50,7 +50,7 @@ const inputFailure = `
def input(prompt=""):
raise Exception("\\n ".join([
"input() doesn't work when PyScript runs in the main thread.",
"Consider using the worker attribute: https://docs.pyscript.net/2023.11.2/user-guide/workers/"
"Consider using the worker attribute: https://pyscript.github.io/docs/2023.11.2/user-guide/workers/"
]))
builtins.input = input