Changeset 9d06728 in sasview


Ignore:
Timestamp:
Apr 7, 2017 5:15:12 AM (7 months ago)
Author:
wojciech
Branches:
master, py3, ticket-853-fit-gui-to-calc, ticket-869, ticket-887-reorg, ticket-915, ticket-947-sasmodels-docs, 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.