-
Notifications
You must be signed in to change notification settings - Fork 0
Hua work miscs #12
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
Merged
Merged
Hua work miscs #12
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
286cf95
save pg_rst.py for testing
3b91c10
Add PgRST class and pg_docs.py; rename rst_templates to .rst.temp
700849b
Make PgRST extend PgFile and PgUtil from rda_python_common
339600f
Make pg_rst.py directly executable with docname argument
56975f8
Change docname module path from rda_python_<docname> to rda_python_<d…
7548a12
Set DOCS['ORIGIN'] to the directory of the imported docname module
5551cc1
Default DOCS['ORIGIN'] and DOCS['DCROOT'] to current directory
8d8cda6
Anchor DOCS['TMPDIR'] to pg_rst.py's own directory at init time
dde32a9
Replace internal docs URL with readthedocs link in replace_option_link
96952aa
Add --dcroot argument for overriding the RST output root directory
3d573c5
Rename CLI argument --dcroot to --docdir
73218a8
Replace DCROOT with DOCDIR throughout
e9bc393
Use DOCDIR as the final output directory without appending docname
8dc4890
Update src/rda_python_miscs/pg_rst.py
zaihuaji a1a9b16
Update src/rda_python_miscs/pg_docs.py
zaihuaji 60e608e
Update src/rda_python_miscs/pg_docs.py
zaihuaji File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The added console script entry points to
rda_python_miscs.pg_rst:main, butpg_rst.pydoes not define amain()function (it only has anif __name__ == '__main__':block). This will makepgrstfail at runtime when installed. Expose amain()callable (and have the__main__block call it), or update the entry point to a function that exists.