Open aturfah opened 6 years ago
Sphinx Documentation: http://www.sphinx-doc.org/en/1.5/tutorial.html Sphinx Napoleon Extension: http://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html
For some reason this is being funky with file directories and whatnot.
This isn't super urgent, putting off until later.
We could put the "documentation" as README
files in each directory.
It might be worthwhile to write a script to build this documentation, to include the functions and info from the classes.
Relevant info on how such a script would work https://stackoverflow.com/questions/46972403/extract-docstring-form-a-python-file-using-grep-or-awk
README content for the scripts
directory
scripts/unit_tests.ps1 <testing_subdirectory>
tests/
directorytesting_subdirectory
is provided, only runs that directory's tests. Otherwise runs all testsscripts/style_tests.ps1 <module>
module
is provided, runs the tests for that module. Otherwise runs the test for all modulespython visualize_results.py -m <visualization_method>
visualization_method
is elo, graph the Elo rankings over the course of the simulationvisualization_method
is matchups, plot the matchup matrix heatmapsscipts/clear_logs.ps1
logs
directorypython scripts/retrieve_data.py
Documentation to be generated using https://github.com/aturfah/docstring_builder/ (Shameless self-promotion)
Demoting this to pending
status, there are more important things to do.
Documentation for scripts/
added with #147
Using Sphinx (and the napoleon extension), we should make documentation for this project.
Adding to 1.6.0 because we just finished cleaning up the documentation, so this shouldn't be too bad.