-
Notifications
You must be signed in to change notification settings - Fork 25
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
Auto-generate API documentation. Refactor code. #40
Conversation
@@ -10,9 +10,7 @@ Getting Started | |||
sys.path.append(ROOT_PATH) | |||
from fauxfactory import FauxFactory | |||
|
|||
FauxFactory generates random data for your automated tests easily! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already stated in introduction.
Not all docstrings have been reworked. Only the docstrings for three (?) functions and methods have been reworked. |
Generate API documentation directly from docstrings. Re-write several docstrings to be clearer and use Sphinx directives. Refactor the logic behind `codify` and `FauxFactory.generate_string`.
else: | ||
raise Exception("%s is not a supported string type." % str_type) | ||
method = getattr(cls, 'generate_{}'.format(str_type_lower)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Niice
ACK |
Auto-generate API documentation. Refactor code.
Generate API documentation directly from docstrings. Re-write several docstrings
to be clearer and use Sphinx directives.
Refactor the logic behind
codify
andFauxFactory.generate_string
.