Changeset 35ddae5 in sasview for docs


Ignore:
Timestamp:
Jun 19, 2017 4:46:40 PM (7 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

File:
1 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 
Note: See TracChangeset for help on using the changeset viewer.