The documentation.py file appears to not actually do anything. In particular, hexrd.doc_url is not a link. Do we want to remove this? If not, is there a particlar behavior we want this to have?
|
"""Browse documentation""" |
|
|
|
help = "Launches the hexrd documentation (work in progress) in a web browser" |
|
|
|
|
|
def configure_parser(sub_parsers): |
|
p = sub_parsers.add_parser('documentation', description=help, help=help) |
|
p.set_defaults(func=execute) |
|
|
|
|
|
def execute(args, parser): |
|
import webbrowser |
|
|
|
import hexrd |
|
|
|
webbrowser.open_new_tab(hexrd.doc_url) |
The
documentation.pyfile appears to not actually do anything. In particular,hexrd.doc_urlis not a link. Do we want to remove this? If not, is there a particlar behavior we want this to have?hexrd/hexrd/hedm/cli/documentation.py
Lines 1 to 16 in f40f031