-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of sasmodels documentation with SasView (Trac #318) #453
Comments
Trac update at
|
Trac update at
I think all the GUI access to docs has been changed to point to new docs
|
Trac update at
|
Trac update at
Sasmodels is now moving to release + 1 (basically 4.0)
|
Trac update at |
Trac update at
clearly part of core task "integrating sasmodels into !SasView." Therefore moving to blocker
|
Trac update at |
Trac update at
|
Trac update at 20/03/2016 10:45 GMT SASMODELS documentation now builds without any errors. Running Sphinx v1.3.1 C:\Anaconda2\python27.zip |
Trac update at NOTE: to build the all-in-one pdf you need to have TeX installed (to get pdflatex)! |
Trac update at Integrated Sasmodels and !SasView documentation is now building by:
|
Trac update at
|
Trac update at build_sphinx is now updated with an on-the-fly path replacement for the sasmodels tocs generated by gentoc. This means models can be added/removed, and their names changed, IN SASMODELS with impunity and the integrated docs build will handle the changes without manual intervention. |
Trac update at Following today's shenanigans the integrated docs build is now working again! All dependency on the sasview\src\sas\models folder has been removed and it has been deleted. The sasmodels docs alone continue to build without errors. The integrated docs however are throwing 5 issues: C:\Code\sasview-local-trunk\build\lib.win32-2.7\sas\sascalc\calculator\BaseComponent.py:docstring of sas.sascalc.calculator.BaseComponent.BaseComponent.evalDistribution:14: WARNING: Literal block ends without a blank line; unexpected unindent. C:\Code\sasview-local-trunk\build\lib.win32-2.7\sas\sascalc\calculator\BaseComponent.py:docstring of sas.sascalc.calculator.BaseComponent.BaseComponent.evalDistribution:31: WARNING: Literal block ends without a blank line; unexpected unindent. C:\Code\sasview-local-trunk\build\lib.win32-2.7\sas\sasgui\guiframe\data_processor.py:docstring of sas.sasgui.guiframe.data_processor:14: ERROR: Unexpected indentation. C:\Code\sasview-local-trunk\docs\sphinx-docs\source\dev\api\sas.sasview.rst:116: WARNING: autodoc: failed to import module u'sas.sasview.setup_exe'; the following exception was raised: C:\Code\sasview-local-trunk\docs\sphinx-docs\source\dev\api\sas.sasview.rst:124: WARNING: autodoc: failed to import module u'sas.sasview.setup_mac'; the following exception was raised: I haven't thus far been able to see where they are coming from. Help welcome! |
Trac update at First items I think are fixed (Note directive now works properly). The last two I don't think get "fixed" they are what they say -- they don't work unless running from the exe evironment. They should probably be excluded from the docs build? At any rate they do not seem to affect the documentation output in any way. data_processor on the other hand is the one py file with a doc string containing a reference to a figure which is not properly being sucked in. It was in the old docs so probably a path issue of some kind -- still to work on, but the docs build (just a broken image icon in the dev docs at the point where that figure should be. |
Trac update at data_processor now fixed... at least for loading figure. SMK should check again. |
Trac update at 19:30 GMT Issues 4) & 5) above still exist. Just one (irritating) undefined label warning to mag_help in core_multi_shell is left. I ''think'' it is because mag_help is in a different folder when the docs get built so the :ref: can't find it but I haven't thus far found a path string that includes it... But I have also just noticed that fitting_help, for example, (see the batch fit section) is not finding:
when the page renders. |
Trac update at actually the bmp files are found no problem. The issue is that somewhere along the way those files became corrupt - Loading with a simple image viewer gives the message that they are corrupt. Need to find the original files ... probably can find on github at some previous revision. ref I think is not done right ... but need to look into that more. |
Trac update at Have committed 'working' versions of the .bmp files. Images in fitting_help now render ok. |
Trac update at With the exception of the setup_exe and setup_mac warnings, and the problematic undefined label, (see above) the integrated docs seem fine now. |
Trac update at broken link is now fixed ... temporarily -- sasmodels cannot be linking to !SasView documentation in the long run since !SasView depends on sasmodels not the other way round and others may also depend on sasmodels. Have created ticket to that effect for next release+1. Also have added a ticket to cleanu up a bunch of stuff in build_sphinx.py. The exe and mac scrapes should be fixed as part of that (i.e. we should not be scraping those files!). I think this ticket can now be closed. |
Trac update at Sasmodels build warning has now changed to: E:\SasViewDevelopment\sasmodels\doc\model\core_multi_shell.rst:123: WARNING: unknown document: ../sasgui/perspectives/fitting/mag_help but the integrated build now resolves this. I am closing the ticket. |
Trac update at
|
oops - closed wrong ticket
Migrated from http://trac.sasview.org/ticket/318
The text was updated successfully, but these errors were encountered: