Skip to content
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

[TIMOB-4598] Markdown won't be run on ignored files anymore. #188

Merged
merged 2 commits into from Jul 7, 2011
Merged

[TIMOB-4598] Markdown won't be run on ignored files anymore. #188

merged 2 commits into from Jul 7, 2011

Conversation

dawsontoth
Copy link
Contributor

Added a check to see if the current file should be run through markdown or ignored.

http://jira.appcelerator.org/browse/TIMOB-4598

(Note: this is the Android version of this original ticket: http://jira.appcelerator.org/browse/TIMOB-4554 that has this pull request: #184)

@@ -157,6 +157,7 @@ def docgen(module_dir, dest_dir):
return

for file in os.listdir(doc_dir):
if file in ignoreFiles: continue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semi-colon shouldn't be needed here. Anyway, would you mine putting the continue on the next line? PEP 8 discourages compound statements, and I tend to agree. It's anal, I know. :) Guido doesn't like them: "Compound statements (multiple statements on the same line) are generally discouraged." http://www.python.org/dev/peps/pep-0008/

@dawsontoth
Copy link
Contributor Author

@billdawson: Done.

@billdawson
Copy link
Contributor

You rock!

@billdawson
Copy link
Contributor

Accepted. Code review good. Functional: I reproduced original error (the presence .DS_Store gives an error when running ant). With Dawson's change, no error and documentation/ in the packaged ZIP looks good. (I was using the android UrbanAirship module as example.)

@marshall
Copy link
Contributor

marshall commented Jul 7, 2011

code review accepted

billdawson added a commit that referenced this pull request Jul 7, 2011
[TIMOB-4598] Markdown won't be run on ignored files anymore.
@billdawson billdawson merged commit 391a94c into tidev:master Jul 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants