Skip to content

Commit

Permalink
Change the help URL to iraf.readthedocs.io (not there yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Sep 14, 2021
1 parent 71926c3 commit 1450acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyraf/irafhelp.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def _irafHelp(taskname, irafkw):
return 0


_HelpURL = "http://stsdas.stsci.edu/cgi-bin/gethelp.cgi?task="
_HelpURL = "https://iraf.readthedocs.io"
_Browser = "netscape"


Expand All @@ -448,6 +448,6 @@ def _htmlHelp(taskname):

if isinstance(taskname, IrafTask):
taskname = taskname.getName()
url = _HelpURL + taskname
url = f"{_HelpURL}/{taskname}.html"

irafutils.launchBrowser(url, brow_bin=_Browser, subj=taskname)

0 comments on commit 1450acc

Please sign in to comment.