- Timestamp:
- Jun 19, 2017 4:46:40 PM (7 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, 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/convertMathJax.js
r8f1bb6f r35ddae5 62 62 const pageConfig = { 63 63 format: ["TeX"], 64 output: 'html', 64 //output: 'html', 65 output: 'svg', 65 66 fontURL: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js/fonts/HTML-CSS', 66 67 MathJax: { … … 103 104 } 104 105 async function updateHtmlAsync(path) { 106 try { 105 107 console.log("====> processing", path); 106 108 const input = await readFileAsync(path); 107 109 const output = await mjpageAsync(input, pageConfig, mjnodeConfig); 108 110 return await writeFileAsync(path, output); 111 } catch (err) { 112 console.log(err); 113 } 109 114 } 110 115
Note: See TracChangeset
for help on using the changeset viewer.