Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 93c57df

Browse files
committed
Docs: Correct typo, add link target.
1 parent 4b719d6 commit 93c57df

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,10 @@
337337
# This config value contains the locations and names of other projects that should be linked to in this documentation.
338338
intersphinx_mapping = {
339339
"RunestoneServer": (
340-
"https://runestonecomponents.readthedocs.io/en/latest/",
341-
None,
342-
# An optional local file location -- useful when updating both Sphinx builds before the updates are pushed to the server.
343-
##"F:/Runestone/RunestoneComponents/build/RunestoneComponents/objects.inv",
340+
"https://runestonecomponents.readthedocs.io/en/latest/", (
341+
None,
342+
# An optional local file location -- useful when updating both Sphinx builds before the updates are pushed to the server.
343+
##"C:/Users/bjones/Documents/git/RunestoneComponents/build/RunestoneComponents/objects.inv",
344+
)
344345
)
345346
}

controllers/ajax.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,15 @@ def compareAndUpdateCookieData(sid: str):
6868
)
6969

7070

71+
# Endpoints
72+
# =========
73+
#
74+
# .. _hsblog endpoint:
75+
#
76+
# hsblog endpoint
77+
# ---------------
7178
# Given a JSON record of a clickstream event record the event in the ``useinfo`` table.
72-
# If the event is an answer to a runestone qustion record that answer in the database in
79+
# If the event is an answer to a runestone question record that answer in the database in
7380
# one of the xxx_answers tables.
7481
#
7582
def hsblog():
@@ -327,6 +334,11 @@ def hsblog():
327334
return json.dumps(res)
328335

329336

337+
# .. _runlog endpoint:
338+
#
339+
# runlog endpoint
340+
# ---------------
341+
# The `logRunEvent` client-side function calls this endpoint to record TODO...
330342
def runlog(): # Log errors and runs with code
331343
# response.headers['content-type'] = 'application/json'
332344
setCookie = False

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ def selenium_driver(selenium_driver_session):
952952

953953
yield driver
954954

955-
# Clear as much as possible, to present an almost-fresh instance of a browser for the next test. (Shutting down then starting up a browswer is very slow.)
955+
# Clear as much as possible, to present an almost-fresh instance of a browser for the next test. (Shutting down then starting up a browser is very slow.)
956956
driver.execute_script("window.localStorage.clear();")
957957
driver.execute_script("window.sessionStorage.clear();")
958958
driver.delete_all_cookies()

0 commit comments

Comments
 (0)