edits to documentation generation + doc strings