Skip to content

Commit

Permalink
Fix hyperlink to profiler options (capitalone#1003)
Browse files Browse the repository at this point in the history
* update

* EOF line
  • Loading branch information
jacob-buehler authored and ksneab7 committed Aug 7, 2023
1 parent 73f5d2b commit 36af779
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/update_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,13 @@
)
index_file.write(redirect_link)
index_file.close()

# update the profiler_options.html file to redirect to detailed options docs
index_file = open("../profiler_options.html", "w")
redirect_link = (
'<meta http-equiv="refresh" content="0; url=./docs/'
+ version
+ '/html/profiler.html#profile-options" />'
)
index_file.write(redirect_link)
index_file.close()
1 change: 1 addition & 0 deletions profiler_options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; url=./docs/0.10.2/html/profiler.html#profile-options" />

0 comments on commit 36af779

Please sign in to comment.