1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Jamie Culpon c495502c8f Support publishing to personal pages sites in quickstart
Previously pelican-quickstart would assume that the site it created for GitHub
Pages should be published to the gh-pages branch. This is correct for project
pages, but not correct for personal pages. Personal pages, which live in a
user's special username.github.io repository, are instead deployed to the
master branch. This means that if you did pelican-quickstart and tried to
publish your new personal site with make github you'd see nothing (or whatever
old pages site you had floating around in master).

ghp-import already supports publishing to different branches, so publishing
to the correct branch is just a matter of correct configuration and updating
the Makefile to pass the branch along to ghp-import. pelican-quickstart now
asks if the user wants to publish to GitHub Pages, and if so, asks if this
is a personal page and chooses the correct branch appropriately. I preferred
this approach to prompting for an arbitrary branch because I felt that
choosing the branch would feel more intimidating to someone using
pelican-quickstart for the first time.

This essentially ports changes I made to my personal pages site at
jculpon@82cae477a9e8712b90654f6432464369ebcc7ae5
2013-12-06 17:39:51 -08:00
..
tests The modified attribute no longer has a default value. 2013-11-17 23:40:11 +01:00
themes The modified attribute no longer has a default value. 2013-11-17 23:40:11 +01:00
tools Support publishing to personal pages sites in quickstart 2013-12-06 17:39:51 -08:00
__init__.py Fix typo in manual 2013-11-01 16:59:45 -04:00
contents.py The modified attribute no longer has a default value. 2013-11-17 23:40:11 +01:00
generators.py Make marking articles as drafts case-insensitive 2013-12-04 09:32:52 -08:00
log.py fix for issue #761: handle unicode correctly in summary for Markdown 2013-04-03 19:38:42 -04:00
paginator.py Create new formatting context dict instead of using self.__dict__ 2013-08-03 13:49:43 -07:00
readers.py Merge pull request #1161 from florianjacob/modified_no_default 2013-11-20 08:56:11 -08:00
rstdirectives.py Support for pygment defaults and relevant documentation 2013-09-15 23:13:17 -07:00
server.py Fixing #1038 by allowing nice URLs. 2013-08-12 19:23:57 +01:00
settings.py Support for pygment defaults and relevant documentation 2013-09-15 23:13:17 -07:00
signals.py Add a content_written signal 2013-08-17 12:48:34 +02:00
urlwrappers.py Allow text substitutions when generating slugs 2013-07-04 12:17:21 +01:00
utils.py Preserve file metadata (esp. timestamps) when copy static files to output folder. 2013-10-15 10:37:03 +08:00
writers.py The modified attribute no longer has a default value. 2013-11-17 23:40:11 +01:00