- Timestamp:
- Sep 5, 2017 2:53:09 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:
- 96f00a0
- Parents:
- 78d0a9b (diff), f9ba422 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- docs/sphinx-docs
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/build_sphinx.py
rf4771596 r5cb0c87 38 38 #/sasview-local-trunk/docs/sphinx-docs/build_sphinx.py 39 39 SASMODELS_SOURCE_PROLOG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc") 40 SASMODELS_SOURCE_GPU = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "gpu")41 SASMODELS_SOURCE_SESANS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "sesans")42 SASMODELS_SOURCE_SESANSIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "sesans", "sesans_img")43 SASMODELS_SOURCE_MAGNETISM = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "magnetism")44 SASMODELS_SOURCE_MAGIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "magnetism", "mag_img")45 SASMODELS_SOURCE_REF_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", " ref", "models")40 SASMODELS_SOURCE_GPU = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "gpu") 41 SASMODELS_SOURCE_SESANS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "sesans") 42 SASMODELS_SOURCE_SESANSIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "sesans", "sesans_img") 43 SASMODELS_SOURCE_MAGNETISM = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "magnetism") 44 SASMODELS_SOURCE_MAGIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "magnetism", "mag_img") 45 SASMODELS_SOURCE_REF_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "guide", "models") 46 46 SASMODELS_SOURCE_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model") 47 47 SASMODELS_SOURCE_IMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model", "img") -
docs/sphinx-docs/Makefile
r1d5f5c2 r3194371 16 16 PAPEROPT_a4 = -D latex_paper_size=a4 17 17 PAPEROPT_letter = -D latex_paper_size=letter 18 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source 18 ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source-temp 19 19 # the i18n builder cannot share the environment and doctrees with the others 20 20 I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source … … 53 53 rm -rf source/dev/api 54 54 sphinx-apidoc -o source/dev/api -d 8 ../../src 55 55 56 56 html: stubs 57 57 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html -
docs/sphinx-docs/source/conf.py
r959eb01 rf4771596 36 36 'sphinx.ext.coverage', 37 37 'sphinx.ext.mathjax', 38 #'mathjax', # replacement mathjax that allows a list of paths 38 39 'dollarmath', 39 40 'sphinx.ext.viewcode'] 41 42 mathjax_path = ( 43 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?' 44 'config=TeX-MML-AM_CHTML') 45 46 # For katex uncomment the following 47 """ 48 #STATIC_PATH = '../../_static/' 49 STATIC_PATH = '' 50 mathjax_path = [ 51 STATIC_PATH + 'katex/katex.min.js', 52 STATIC_PATH + 'katex/contrib/auto-render.min.js', 53 STATIC_PATH + 'rendermath.js' 54 ] 55 mathjax_css = STATIC_PATH + 'katex/katex.min.css' 56 """ 57 40 58 41 59 # Add any paths that contain templates here, relative to this directory. … … 201 219 # -- Options for LaTeX output -------------------------------------------------- 202 220 221 # TODO: seems like angstroms is defined twice. 203 222 LATEX_PREAMBLE=r""" 223 \usepackage[utf8]{inputenc} % Allow unicode symbols in text 224 \usepackage{underscore} % Allow underscore outside math mode 225 \usepackage[T1]{fontenc} % Use underscore character from font 226 \newcommand{\lt}{<} % HTML needs \lt rather than < 227 \newcommand{\gt}{>} % HTML needs \gt rather than > 204 228 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 205 \ usepackage[utf8]{inputenc} % Allow unicode symbols in text229 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom 206 230 \DeclareUnicodeCharacter {00B7} {\ensuremath{\cdot}} % cdot 207 231 \DeclareUnicodeCharacter {00B0} {\ensuremath{^\circ}} % degrees 208 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom209 232 """ 210 233 latex_elements = { -
docs/sphinx-docs/source/rst_prolog
ra45185c r62af61fd 2 2 .. Remove |biggamma|, etc. when they are no longer needed. 3 3 4 .. |alpha| unicode:: U+03B1 5 .. |beta| unicode:: U+03B2 6 .. |gamma| unicode:: U+03B3 7 .. |delta| unicode:: U+03B4 8 .. |epsilon| unicode:: U+03B5 9 .. |zeta| unicode:: U+03B6 10 .. |eta| unicode:: U+03B7 11 .. |theta| unicode:: U+03B8 12 .. |iota| unicode:: U+03B9 13 .. |kappa| unicode:: U+03BA 14 .. |lambda| unicode:: U+03BB 15 .. |mu| unicode:: U+03BC 16 .. |nu| unicode:: U+03BD 17 .. |xi| unicode:: U+03BE 18 .. |omicron| unicode:: U+03BF 19 .. |pi| unicode:: U+03C0 20 .. |rho| unicode:: U+03C1 21 .. |sigma| unicode:: U+03C3 22 .. |tau| unicode:: U+03C4 23 .. |upsilon| unicode:: U+03C5 24 .. |phi| unicode:: U+03C6 25 .. |chi| unicode:: U+03C7 26 .. |psi| unicode:: U+03C8 27 .. |omega| unicode:: U+03C9 4 28 5 .. |alpha| unicode:: U+03B1 6 .. |beta| unicode:: U+03B2 7 .. |gamma| unicode:: U+03B3 8 .. |delta| unicode:: U+03B4 9 .. |epsilon| unicode:: U+03B5 10 .. |zeta| unicode:: U+03B6 11 .. |eta| unicode:: U+03B7 12 .. |theta| unicode:: U+03B8 13 .. |iota| unicode:: U+03B9 14 .. |kappa| unicode:: U+03BA 15 .. |lambda| unicode:: U+03BB 16 .. |mu| unicode:: U+03BC 17 .. |nu| unicode:: U+03BD 18 .. |xi| unicode:: U+03BE 19 .. |omicron| unicode:: U+03BF 20 .. |pi| unicode:: U+03C0 21 .. |rho| unicode:: U+03C1 22 .. |sigma| unicode:: U+03C3 23 .. |tau| unicode:: U+03C4 24 .. |upsilon| unicode:: U+03C5 25 .. |phi| unicode:: U+03C6 26 .. |chi| unicode:: U+03C7 27 .. |psi| unicode:: U+03C8 28 .. |omega| unicode:: U+03C9 29 .. |biggamma| unicode:: U+0393 30 .. |bigdelta| unicode:: U+0394 31 .. |bigzeta| unicode:: U+039E 32 .. |bigpsi| unicode:: U+03A8 33 .. |bigphi| unicode:: U+03A6 34 .. |bigsigma| unicode:: U+03A3 35 .. |Gamma| unicode:: U+0393 36 .. |Delta| unicode:: U+0394 37 .. |Zeta| unicode:: U+039E 38 .. |Psi| unicode:: U+03A8 39 40 .. |drho| replace:: |Delta|\ |rho| 41 42 .. |equiv| unicode:: U+2261 43 .. |noteql| unicode:: U+2260 44 .. |TM| unicode:: U+2122 29 45 30 46 31 .. |biggamma| unicode:: U+039332 .. |bigdelta| unicode:: U+039433 .. |bigzeta| unicode:: U+039E34 .. |bigpsi| unicode:: U+03A835 .. |bigphi| unicode:: U+03A636 .. |bigsigma| unicode:: U+03A337 .. |Gamma| unicode:: U+039338 .. |Delta| unicode:: U+039439 .. |Zeta| unicode:: U+039E40 .. |Psi| unicode:: U+03A841 47 42 43 .. |drho| replace:: |Delta|\ |rho|44 48 .. |Ang| unicode:: U+212B 45 49 .. |Ang^-1| replace:: |Ang|\ :sup:`-1` … … 60 64 .. |A2| replace:: A\ :sub:`2`\ 61 65 62 63 .. |equiv| unicode:: U+226164 .. |noteql| unicode:: U+226065 .. |TM| unicode:: U+212266 67 68 66 .. |cdot| unicode:: U+00B7 69 67 .. |deg| unicode:: U+00B0
Note: See TracChangeset
for help on using the changeset viewer.