Closed musicus closed 7 years ago
The run() method is a bad place to put essential documentation because several indexers don't have one. This is why I've been moving the most important documentation out of the run methods of indexers. So I don't think this should be done. I'm also unassigning myself because the time to assign stuff to me has long passed, as I mentioned in my email a week or two ago.
Example code is needed for documentation, whether or not is part of the run()
method. Where do you suggest to include it?
Docstrings aligned with Sphinx, and code brought into pep8 compliance (mostly).
The dissonance indexer is well documented, and features plenty of docsting information.
The docstring information should be formatted in such a way that sphinx will be able to pick it up.
However, it should feature code examples in its
run()
method as other indexers do, and show anticipated outcomes with using anexample.xml
file from thevis/tests/corpus/
directory.