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

add argparse argument for relative urls #1592

Merged
merged 1 commit into from Feb 17, 2015

Conversation

Projects
None yet
2 participants
@ingwinlu
Contributor

ingwinlu commented Jan 17, 2015

This PR adds the --relative-urls option to argparse.
Useful when combined with the -r flag, enabling easy local development without touching the configuration files.

@justinmayer justinmayer added this to the 3.6 milestone Feb 7, 2015

@justinmayer

This comment has been minimized.

Member

justinmayer commented Feb 17, 2015

Thanks for the enhancement, Winlu!

justinmayer added a commit that referenced this pull request Feb 17, 2015

Merge pull request #1592 from ingwinlu/add_argparse_relative
Add argparse argument for relative URLs

@justinmayer justinmayer merged commit 5912608 into getpelican:master Feb 17, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@ingwinlu ingwinlu deleted the ingwinlu:add_argparse_relative branch Feb 18, 2015

avaris added a commit to avaris/pelican that referenced this pull request Mar 14, 2015

Use `--relative-urls` only if it is specified
Otherwise, `RELATIVE_URLS` in the config file is ignored and
`RELATIVE_URLS` is set to `False` if `--relative-urls` is not
specified.

Fixes an issue introduced in getpelican#1592
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment