Changeset 9d06728 in sasview for docs


Ignore:
Timestamp:
Apr 7, 2017 3:15:12 AM (7 years ago)
Author:
wojciech
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:
6d6832e
Parents:
02b01877
Message:

Setting build sphinx, so latex folder is generated only on linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/build_sphinx.py

    r6aad2e8 r9d06728  
    373373    copy_tree(html, SASVIEW_DOCS) 
    374374 
    375     print "=== Build Latex Docs from Rest Files ===" 
    376     subprocess.call(["sphinx-build", 
     375    #We are building latex doc on linux only 
     376    if "linux" in platform: 
     377        print "=== Build Latex Docs from Rest Files ===" 
     378        subprocess.call(["sphinx-build", 
    377379                     "-b", "latex", # Builder name. TODO: accept as arg to setup.py. 
    378380                     "-d", os.path.join(SPHINX_BUILD, "doctrees"), 
     
    380382                     os.path.join(SPHINX_BUILD, "latex")]) 
    381383 
    382     print "=== Copy Latex Docs to Build Directory ===" 
    383     latex = os.path.join(SPHINX_BUILD, "latex") 
    384     copy_tree(latex, SASVIEW_DOCS) 
     384        print "=== Copy Latex Docs to Build Directory ===" 
     385        latex = os.path.join(SPHINX_BUILD, "latex") 
     386        copy_tree(latex, SASVIEW_DOCS) 
    385387 
    386388def rebuild(): 
Note: See TracChangeset for help on using the changeset viewer.