Changeset c8d22ec in sasview for src/sas/guiframe/documentation_window.py
- Timestamp:
- Jun 22, 2015 12:21:22 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 74d5dbf
- Parents:
- d20eb45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/documentation_window.py
rd20eb45 rc8d22ec 41 41 called 42 42 (self, parent, dummy_id, path, url_instruction, title, size=(850, 540)) 43 44 :param path: path to html file beginning AFTER /doc/ and ending in the 43 44 :param path: path to html file beginning AFTER /doc/ and ending in the 45 45 file.html 46 46 :param url_instructions: anchor string or other query e.g. '#MyAnchor … … 65 65 #file:/// be another constant at the beginning that yields // for Mac 66 66 #and /// for PC. 67 #Note added June 21, 2015 PDB 67 #Note added June 21, 2015 PDB 68 68 file_path = os.path.join(docs_path, path) 69 69 url = "file:///" + urllib.quote(file_path, r'/\:')+ url_instruction
Note: See TracChangeset
for help on using the changeset viewer.