Changeset 35ddae5 in sasview


Ignore:
Timestamp:
Jun 19, 2017 4:46:40 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f8b59e3
Parents:
f4771596
Message:

default precompiled mathjax output to svg

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/convertMathJax.js

    r8f1bb6f r35ddae5  
    6262const pageConfig = { 
    6363    format: ["TeX"], 
    64     output: 'html', 
     64    //output: 'html', 
     65    output: 'svg', 
    6566    fontURL: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js/fonts/HTML-CSS', 
    6667    MathJax: { 
     
    103104} 
    104105async function updateHtmlAsync(path) { 
     106  try { 
    105107    console.log("====> processing", path); 
    106108    const input = await readFileAsync(path); 
    107109    const output = await mjpageAsync(input, pageConfig, mjnodeConfig); 
    108110    return await writeFileAsync(path, output); 
     111  } catch (err) { 
     112    console.log(err); 
     113  } 
    109114} 
    110115 
  • src/sas/sasgui/guiframe/documentation_window.py

    r9d566b2 r35ddae5  
    9797            logger.error("Could not find Sphinx documentation at %s \ 
    9898            -- has it been built?", file_path) 
    99         elif True: 
     99        elif False: 
    100100            start_documentation_server(docs_path, port=7999) 
    101             url = "http://localhost:7999/" + path.replace('\\', '/') + url_instruction 
     101            url = "http://127.0.0.1:7999/" + path.replace('\\', '/') + url_instruction 
    102102        else: 
    103103            url = "file:///" + urllib.quote(file_path, r'/\:')+ url_instruction 
Note: See TracChangeset for help on using the changeset viewer.