Sort out imports for docs
Something about the imports means the docs aren't documenting the code.
Not sure if it that everything is imported from remapp rather than openrem, or that I'm not using relative imports correctly, or that I need to import the settings for the docs in a few more places.
Comments (88)
-
reporter -
reporter Adding the django setup code to the init for the extractors. Refs
#323→ <<cset 71d942e2acb9>>
-
reporter Commented out all of init. Refs
#323→ <<cset da2b0a5611ac>>
-
reporter Reverted one of the imports, commented out the django.setup in rdsr. Refs
#323→ <<cset 9d696fcc4d22>>
-
reporter Commented out the django.setup from the other extractors. Refs
#323→ <<cset 3ba01bcdea8b>>
-
reporter Don't know why last build failed complaining qrscu wasn't registered in celery. Added openrem to each task. Refs
#323→ <<cset f47b05834f1b>>
-
reporter Still failing due to not registered qrscu. Changed name to openrem. Refs
#323→ <<cset 68ec8d7a3e84>>
-
reporter Maybe because I was trying to document a task as a module? Refs
#323→ <<cset 237f44cc11c8>>
-
reporter Removed members as assume it is importing websizeimport as module before doing it as a task. Refs
#323→ <<cset 6799aa8ab533>>
-
reporter Building again, but with no code autodocs. Addressing one of the errors of autotask not having a members option. Refs
#323→ <<cset f794dabb8ef6>>
-
reporter Added apps.py for app registry/config and referenced it in init. Refs
#323→ <<cset 3e73953f0a71>>
-
reporter default_app_config is not required if path to config is in INSTALLED_APPS. Refs
#323→ <<cset 8acec3025501>>
-
reporter Stashing changes really. Removed openrem. from the imports, and tried unsuccessfully to establish the path that sphinx is using. Refs
#323→ <<cset 765cbbe85b36>>
-
reporter - changed milestone to Future
This is important, but can wait for a 0.7.x release.
-
Added further documentation to charts python code. References issue
#323→ <<cset df02e22d2d6c>>
-
reporter Still needs doing, but deleting related branches for now as they are so out of date.
-
reporter Adding a secret key back into settings.py to try and get autodoc working. Refs
#323→ <<cset 657d61d3dda2>>
-
reporter Addressing autodoc complaint that definition list ended without blank line. Refs
#323→ <<cset 19b3a39967ba>>
-
reporter Attempt to get task autodoc working Refs
#323→ <<cset 49bf9f352dc0>>
-
reporter See if members works with autotask. Modified RDSR text as it is quite out of date :-) Refs
#323→ <<cset 1352ecf7021f>>
-
reporter Tasks must be done manually. Official docs suggest they should have been picked up automatically with autodoc. Refs
#323→ <<cset 96b135d78920>>
-
reporter Adding additional xlsx exports, attempting to silence NoneType errors... Refs
#323→ <<cset aee695f7ac1c>>
-
reporter rdsr stopped importing, adding in openrem prefix to match others on page. Refs
#323→ <<cset 053ba495fcb9>>
-
reporter Removed variables - don't add anything to resulting docs, can live with warnings in build. removed 'tested with' from extractor doc strings. Refs
#323Minor PEP8 change to ptsizecsv2db→ <<cset 0815d47668ae>>
-
reporter Attempt to get netdicom autodocs working, add reference to scripts Refs
#323→ <<cset a9fe67dee939>>
-
reporter Added RTD requirements file to see if I can get hte netdicom code auto docs working. Refs
#323→ <<cset 0d4fc8ca4111>>
-
reporter Attempt to get non-task functions documented in netdicom qrscu. Refs
#323→ <<cset 0ee5537ce50a>>
-
reporter Trying autofunction. refs
#323→ <<cset c3a86a164fe5>>
-
reporter Adding qrscu_script and parse_args as autofunction. Updated module docstring, corrected spacing for qrscu_script and parse_args. refs
#323→ <<cset 51c76426cc85>>
-
reporter Attempt to use program-output. Refs
#323→ <<cset bad2aa8c32e5>>
-
reporter Not sure why programoutput isn't working. Testing with one of the other scripts. Refs
#323→ <<cset 17b173de6ce1>>
-
reporter See if removing the .py makes any difference! Refs
#323→ <<cset b9fb1afef8e7>>
-
reporter Check it actually cares what scriptname is Refs
#323→ <<cset b7f106d2b8e5>>
-
reporter Trying autoprogram instead Refs
#323→ <<cset 4df0211e8405>>
-
reporter Adding autoprogram to requirements Refs
#323→ <<cset fc9815407b4d>>
-
reporter Attempting to address parser variable. Refs
#323→ <<cset f2b672877abd>>
-
reporter Needs to be a module. Last try. Refs
#323→ <<cset df0a612737cb>>
-
reporter Try one more time without brackets, then onto argparse... refs
#323→ <<cset ad611284937b>>
-
reporter Attempting argparse. Refs
#323→ <<cset e7cbda5cf69e>>
-
reporter Attempt to split off function that returns parser object. Probably broken everything. Refs
#323→ <<cset 65c43b319155>>
-
reporter Removed argv from parse_args - might build now (docs) refs
#323→ <<cset acdd6be79ab8>>
-
reporter One last go, making sure there is no suggestion parse_args has an arg! refs
#323→ <<cset b6d6f4dd169a>>
-
reporter Refactored qrscu, trying first with autoprogram. refs
#323→ <<cset 4a59a8724804>>
-
reporter Small refactor again, trying argparse this time. Refs
#323→ <<cset c7b55025b8f7>>
-
reporter RTD claimnig no such attribute create_parser... trying with brackets. Refs
#323→ <<cset 5feaedfc9983>>
-
reporter Inconsistency in argprase docs. Trying with variable instead of function. Refs
#323→ <<cset 789117a7b7a2>>
-
reporter Adding new test file to try to get this working. Refs
#323→ <<cset 13a8958fb17c>>
-
reporter Failed to import function.Trying with function. Refs
#323→ <<cset 6ab98d10f1df>>
-
reporter Throwing autoprgram back in with no hope of it working. Refs
#323→ <<cset 87b7a0263153>>
-
reporter Is sample in the rtd build? Refs
#323→ <<cset 472124311cc6>>
-
reporter Added OpenREM to requirements to see if it will start looking at what is there... Refs
#323→ <<cset 410829a9ca68>>
-
reporter Removed it again - RTD downloads 0.7.4! refs
#323→ <<cset 05ece28c1e87>>
-
reporter Adding argparse back in now it seems to be using the current version. Refs
#323→ <<cset ea6a52d63e76>>
-
reporter Wrong function name. Refs
#323→ <<cset 6c5e5af20525>>
-
reporter Didn't like the number of arguments. Trying autoprogram now. Refs
#323→ <<cset 8463f4d729e0>>
-
reporter Oops. Wasn't using a function. Try again. Refs
#323→ <<cset fe15dee77123>>
-
reporter OMG that worked!. Adding argparse in for good measure. Refs
#323→ <<cset fcb4ec00d7d4>>
-
reporter Tidying up qrscu docs page - will still need to actually made the code and tests work again... Refs
#323→ <<cset f25f3ccae9d5>>
-
reporter Attempting to put the parser function back in to make testing easier. Refs
#323→ <<cset f9fbe533ed08>>
-
reporter Fixed the tests to be working again. Refs
#323→ <<cset eef1e35d2bfd>>
-
reporter Experiment with not using autodocumentation. Refs
#323→ <<cset 0028b1bed0fb>>
-
reporter Line breaks didn't work well. Try again. Refs
#323→ <<cset 226c8144bee3>>
-
reporter Removed experiment. Doesn't look nice, and would introduce a high level of duplication and make the doc strings redundant. Refs
#323→ <<cset 59a8789e51b6>>
-
reporter Change to dicom import code docs. Would like to shorten the rdsr_toshiba_ct_from_dose_images name... Refs
#323→ <<cset 2edf1a54287b>>
-
reporter Reverted to having a script function in qrscu. Refs
#323→ <<cset fc18d2d6f707>>
-
reporter Added a docstring for the variable to the tosh import. Refs
#323→ <<cset c599172481c7>>
-
reporter Adding empty DATABASES dict to settings to get forms section of docs working. Will be overwritten by local_settings. Refs
#323→ <<cset 07900d4d1020>>
-
reporter Removing reference to script for now. Will add argparse style code in future version. Refs
#323→ <<cset ce05e611c5e1>>
-
reporter Adding MEDIA_ROOT to settings for the same reason as DATABASES. Refs
#323→ <<cset 55acfd552903>>
-
reporter Windows postgresql backup docs link missing from current docs. Adding in. @dplatten to review.... Refs
#323→ <<cset c6e10800b372>>
-
reporter Removing unused old docs files. Refs
#323→ <<cset d3a06d760f06>>
-
reporter Adding Windows Celery daemonising doc to a toctree, reformatting Linux link to match. Refs
#323→ <<cset aafe7472029a>>
-
reporter Adding default ENGINE keys to DATABASES. Correcting spelling error on celery-windows. Refs
#323→ <<cset e7103fa231ba>>
-
reporter Added whole databases dict. Refs
#323→ <<cset f7f005fe8aa6>>
-
reporter Replaced views automodules with holding text - should be documented in future - see https://bitbucket.org/openrem/openrem/issues/622/viewspy-needs-to-be-broken-up-and Refs
#323→ <<cset eb82dfbfae65>>
-
reporter Rename from code and tests to developers. Refs
#323→ <<cset ee3d3e3e21fd>>
-
reporter Switched order of installing OpenREM and pynetdicom for devs. Refs
#323,#621→ <<cset e648b7520c79>>
-
reporter Attempt to style external link to toctree linl Refs
#323→ <<cset 8ff772374e15>>
-
reporter Moved install of pynetdicom to after OpenREM. Was already right in offline docs. Refs
#621,#323→ <<cset 85e44b3a487a>>
-
reporter Adding link to developer docs regarding restoring databases. Refs
#323→ <<cset 82b81f860ef7>>
-
reporter I think refs
#323,#621are ready for merging, added to changes.→ <<cset 08121b60a7b2>>
-
reporter Removed file that was only there for testing. Refs
#323→ <<cset 81f490240a0f>>
-
reporter - changed milestone to 0.8.0
-
reporter Minor edits to database docs. Refs
#323→ <<cset c2c261fe4516>>
-
reporter Changed name of file, function, script, logging from rdsr_toshiba_ct_from_dose_images to ct_philips and related. ref
#323→ <<cset 5fa3f025d6db>>
-
reporter QR docs were out of date for shell use, and used incorrect name for command. Refs
#323→ <<cset 61d6cf330bdc>>
-
reporter Various PEP8, Codacy and PyCharm identified issues dealt with. In with ref
#323→ <<cset c5d3925c821d>>
-
reporter - changed status to resolved
- Log in to comment
Turned imports into relative imports, correctly hopefully! Refs
#323→ <<cset 2d3e727efcea>>