Skip to content

Commit

Permalink
Fix documentation links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daphne Odekerken committed Sep 16, 2024
1 parent 59349ed commit 3c48b39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/py_arg_visualisation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ def toggle_reference_modal(nr_of_clicks: int, is_open: bool, url_path: str):
if url_path[0] == '/':
url_path = url_path[1:]

reference_folder = pathlib.Path.cwd() / 'reference_texts'
reference_folder = \
pathlib.Path(__file__).parent.resolve() / 'reference_texts'
if url_path == '':
search_name = '90_pyarg.md'
else:
Expand Down

0 comments on commit 3c48b39

Please sign in to comment.