-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.1.2 pre-release
- Loading branch information
Showing
14 changed files
with
2,222 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
from __future__ import print_function | ||
from docfly import Docfly | ||
import os, shutil | ||
import docfly | ||
|
||
# Uncomment this if you follow Sanhe's Sphinx Doc Style Guide | ||
#--- Manually Made Doc --- | ||
# doc = docfly.DocTree("source") | ||
# doc.fly(table_of_content_header="Table of Content (目录)") | ||
|
||
#--- Api Reference Doc --- | ||
package_name = "uszipcode" | ||
|
||
try: | ||
shutil.rmtree(os.path.join("source", package_name)) | ||
except Exception as e: | ||
print(e) | ||
|
||
docfly = Docfly( | ||
package_name, | ||
doc = docfly.ApiReferenceDoc( | ||
package_name, | ||
dst="source", | ||
ignore=[ | ||
"%s.zzz_manual_install.py" % package_name, | ||
"%s.packages" % package_name, | ||
"%s.zzz_manual_install.py" % package_name, | ||
] | ||
) | ||
docfly.fly() | ||
doc.fly() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ searchengine | |
============ | ||
|
||
.. automodule:: uszipcode.searchengine | ||
:members: | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
elementary_path unittest. | ||
""" | ||
|
||
if __name__ == "__main__": | ||
import py | ||
py.test.cmdline.main("--tb=native") # use native python trace back |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.