Commit Graph

174 Commits

Author SHA1 Message Date
Frederic Hemberger
6714e5c7f5 Set flag in preview mode and re-generate files before deployment if necessary 2011-11-29 15:13:50 +01:00
Frederic Hemberger
f1ebf35869 Introduce distinction between preview/productive site generation
Posts which contain the YAML attribute `published: false` are usually
not generated by Jekyll. With this patch they can be previewed just
like published posts on localhost using `rake watch`or `rake preview`.

NOTICE: Before pushing to the productive environment, use `rake generate`
to update the public directory and remove posts which are flagged not to be
published.
2011-11-23 14:37:30 +01:00
Frederic Hemberger
ffa68a1fe3 Fixes typo in :push task 2011-10-17 08:18:41 +02:00
Frederic Hemberger
fc138b2e35 Adds more flexibility to :new_page task
Page filenames/directories are lowercased and sanitized by default to
allow a greater flexibility:

- new_page["/path/to/file"] # => source/path/to/file/index.markdown
- new_page["path/to/file"] # => source/path/to/file/index.markdown
- new_page["my path/my file"] # => source/my-path/my-file/index.markdown
- new_page["lorem.ipsum.dolor"] # => source/lorem-dot-ipsum.dolor
- new_page["Questions & Answers"] # => source/questions-and-answers/index.markdown
2011-10-16 16:22:37 +02:00
Frederic Hemberger
82942bd088 Replaces system call with cross-platform cp_r, fixes #200 2011-10-16 13:07:31 +02:00
Frederic Hemberger
4b87a2fb7d Removes 'titlecase' from page name, fixes #202 2011-10-16 11:49:18 +02:00
Frederic Hemberger
fe19c2aaae Removes duplicate mkdir_p 2011-10-16 11:43:55 +02:00
Brandon Mathis
86c72a4ca6 ensures compiled /source/stylesheets/screen.css exists before running watch and preview tasks, fixes #214 2011-10-11 15:14:41 -05:00
Frederic Hemberger
35ebe0d647 Allows '-' in deployment branch names, fixes #213 2011-10-11 14:20:52 +02:00
Brandon Mathis
09057190d9 fixed issue where update_source failed if source/index was any extension other than .html 2011-10-01 23:36:52 -05:00
Brandon Mathis
d833d9fe78 wildcards broke rake update_source. fixes that 2011-10-01 21:42:24 -05:00
Brandon Mathis
bdf904adff Retains customized favicon on update_source fixes #189, Copies index.* from source.old fixes #188 2011-09-30 08:08:07 -05:00
Brandon Mathis
3bd4ed026e Merge branch 'master' of github.com:imathis/octopress into compass 2011-09-28 14:51:24 -05:00
Manu
af1f2af48f Typo. 2011-09-26 00:16:15 +03:00
Manu
a4177e1471 Changed it so the ssh port is configurable as well. (As I ran into the same issue already described at https://github.com/imathis/octopress/issues/30 ) 2011-09-26 00:13:42 +03:00
Frederic Hemberger
3ad7715901 Fix generation of stylesheets 2011-09-24 11:31:57 +02:00
Brandon Mathis
aa1abd0827 now Github pages :push task forces 2011-09-22 16:16:54 -05:00
Brandon Mathis
4d49149404 renamed github pages configuration task 2011-09-22 04:45:44 -05:00
Frederic Hemberger
ab61a62d30 Removes compass_compiler.rb 2011-09-22 11:43:33 +02:00
Brandon Mathis
fcb730b5bf Restored copying public into _deploy. fixes #169 2011-09-22 04:43:09 -05:00
Brandon Mathis
4efb29394f improved github configuration raketask 2011-09-22 04:41:40 -05:00
Frederic Hemberger
92ff4a9c67 copydot task can be called with parameters, no need for separate copydot_deploy 2011-09-22 10:17:31 +02:00
Brandon Mathis
a5d55fe80f Fixed issue where dotfiles were not being copied to _deploy for github pages deployments 2011-09-21 18:54:54 -05:00
Brandon Mathis
5b2b0c508b fixed issue where public was being copied into _deploy 2011-09-21 18:44:21 -05:00
Tom Miller
ec91c370d5 Removing glob because globbing does not pick up dotfiles. 2011-09-19 22:46:21 -05:00
Frederic Hemberger
31adeee1df Wraps git commit message in double quotes, fixes #139 2011-09-18 14:07:43 +02:00
Frederic Hemberger
f6bf894387 Aligns naming of .pygments-cache, .gist-cache and .sass-cache 2011-09-18 13:45:25 +02:00
Chris Sims
1a562b9580 Fixes #150. Strip leading path before checking for excluded file. 2011-09-17 18:34:09 -05:00
Brandon Mathis
48cd2793cf added itegration to gen_deploy 2011-09-12 14:51:49 -05:00
fhemberger
565648300b Fix an issue in 'watch' and 'preview' where main process is terminated with child processes still running 2011-09-12 21:36:14 +02:00
fhemberger
04973e0948 Move generate + deploy to separate task 2011-09-12 20:48:26 +02:00
fhemberger
960a57c256 Generate site before deploying, execute tasks in sequence 2011-09-12 19:49:18 +02:00
fhemberger
5c275542c3 Copy dotfiles also for subdirectories 2011-09-12 19:46:11 +02:00
Brandon Mathis
7c1c24f899 moved from Posix::Span to Process.span, fixing #46 2011-09-08 11:54:18 -05:00
Brandon Mathis
b812500f39 Updated new_post and new_page taks to use new ask method for dialogs 2011-09-04 08:47:36 -05:00
Brandon Mathis
ed0c220523 Merge branch 'master' of https://github.com/fhemberger/octopress into fhemberger-master
Conflicts:
	plugins/category_generator.rb
2011-09-04 08:37:22 -05:00
fhemberger
f03c4cdb2a install: Adds confirmation before overwriting existing source_dir 2011-09-04 14:25:04 +02:00
Brandon Mathis
3f07677276 Added prompt for overwriting posts and pages when a new_post and new_page tasks are run and the file already exists. Fixes #130 2011-09-03 08:06:36 -05:00
Brandon Mathis
724fd1dbc8 fixed bug where update_source Rake task was not copying over changes from .themes 2011-09-02 17:24:42 -05:00
Ryan Gibbons
aa095689e4 not using cd in copydot, breaks chained task when further cd's are called 2011-08-28 22:29:30 -05:00
Brandon Mathis
9b52d40a54 removed octopress.org rsync deploy config from Rakefile. Oops 2011-08-25 16:58:02 -04:00
Brandon Mathis
35a158dd14 Somehow I replaced Rakefile with oder version, oops 2011-08-25 10:52:43 -04:00
Brandon Mathis
b38b613908 Added warning if users try to add posts, pages, or generate their site
before installing an Octopress theme, fixes #116
2011-08-25 10:45:01 -04:00
Brandon Mathis
94fcb60958 removed unnecessary mkdir_p in update_style, fixed #67 2011-08-25 10:25:41 -04:00
Brandon Mathis
ebd5fb002b sleeps wait, cleaned up rake preview and rake watch a bit 2011-08-25 10:05:22 -04:00
Benjamin R Doerr
efb7522491 Do not rely on system specifc syntax for preview or watch. 2011-08-23 22:56:06 -04:00
Benjamin R Doerr
5f08abe6dd Removes system specific File IO from Rakefile, rather we make use of FileUtils. 2011-08-22 23:05:55 -04:00
Ben Doerr
9d57455e0f Makes update_source and update_style much more windows friendly. 2011-08-23 03:22:18 -03:00
Brandon Mathis
9f830dd96f added support for deploying "dot" files (eg. .htaccess), fixes #104 2011-08-21 18:38:18 -04:00
Pavel Pravosud
5ec1f014a0 added stringex gem for permalink url generation 2011-08-20 10:24:15 +07:00
Brandon Mathis
59521e3db8 added blog_index_dir configuration and improved update_source 2011-08-16 01:50:34 -04:00
Brandon Mathis
5958810eb2 Merge branch 'master' of github.com:imathis/octopress 2011-08-11 19:56:54 -04:00
Brandon Mathis
313c3859aa now using rack instead of Jekyll's webrick server, fixes #90 2011-08-11 19:56:25 -04:00
marutanm
a817f99785 fix rake-list 2011-08-11 21:13:30 +09:00
Brandon Mathis
0e072543da added support for preserving customized source/index.html during template updates. Moved the blog index code to a partial in source/_includes/blog_index.html 2011-08-10 18:15:10 -04:00
Brandon Mathis
5d24e0ba2b udpated rake udpate_source task to preserve custom includes instaed of preserving navigation and footer 2011-07-31 13:24:56 -04:00
Brandon Mathis
df86e647b1 Rake task update_source now preserves footer as well as navigation 2011-07-28 22:12:50 -04:00
Brandon Mathis
0911eabb9b fixed update style 2011-07-27 18:34:50 -04:00
Luke Armstrong
6244feae22 Fixed rake update_source and rake update_style 2011-07-28 00:22:57 +02:00
Luke Armstrong
3d238313a7 Fixed [cp: cannot stat `.themes/classic/source/*.': No such file or directory] 2011-07-27 23:50:35 +02:00
Brandon Mathis
25704fe355 improved new_post title substitutions, fixed directories in rake update tasks 2011-07-27 16:39:50 -04:00
Mike Ballou
9189548e9d Changed description of new_page rake task, to what it does 2011-07-26 16:10:16 -07:00
Brandon Mathis
a12b0b7f6e updated push rake task to copy contents of public directory into _deploy 2011-07-26 14:32:15 -04:00
Brandon Mathis
12aed03eea updated rakefile and config to support url mapping in previous commit 2011-07-22 00:03:11 -04:00
Brandon Mathis
19df7e84d6 added source_update and sass_update rake tasks, for easily updating a blog to the latest theme 2011-07-19 22:18:34 -04:00
Brandon Mathis
cc1cfa56b2 fixed regular expression for new_page rake task 2011-07-19 17:29:23 -04:00
Brandon Mathis
6006ac8a01 new_page rake task now creates pages as page_name/index.[default_format] if no file extension is passed. By default this creates nicer urls 2011-07-19 17:01:14 -04:00
Brandon Mathis
98cfd74d9a In new_post and new_page rake tasks: adding quotes around title attribute for better compatibility with yaml 2011-07-19 16:18:40 -04:00
Brandon Mathis
4a40323166 Changed rake task 'post' to 'new_post' and updated the yaml front matter. Added 'new_page' rake task for easily adding new pages with a default yaml block 2011-07-19 16:09:42 -04:00
Brandon Mathis
17c59fb1d1 Moved plugins to root directory. I'm ditching the idea of shipping plugins with themes until it's more obviously necessary. This way it's easier to merge and update plugins. 2011-07-19 09:06:54 -04:00
Brandon Mathis
7c71582990 Merge branch 'edge' of github.com:imathis/octopress into edge 2011-07-16 14:55:37 -04:00
Brandon Mathis
1f9b596b82 1. Added rake task for simple configuration of subdirectory deployment.
2. Updated READEME documentation regarding deploying to subdirectories.
3. Fixed related mistake in pagination and header links
2011-07-16 14:52:50 -04:00
Kent Fenwick
922472517f Updated path to plugins. 2011-07-16 11:27:16 -07:00
Brandon Mathis
9e6a951826 Updated install rake task (now properly copies directory contents) Thanks @pw for the pull request fixes #32 2011-07-11 11:55:56 -04:00
Brandon Mathis
ee7b9dd958 Changed _plugins folder to plugins and updated rake tasks accordingly 2011-07-11 11:17:15 -04:00
Brandon Mathis
ea349cdfbf Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use 2011-06-29 14:01:06 -04:00
Brandon Mathis
ce6621724c Improved the post and init_deploy rake tasks 2011-06-27 22:47:40 -04:00
Brandon Mathis
6f4c842bdf fixed a bug in init_deploy task 2011-06-27 18:17:15 -04:00
Brandon Mathis
353ccfd4eb 1. Added Category support
2. Designed blog archives pages
3. Restructured Sass
4. Added Categories to rake post metadata
5. Some general style improvements
2011-06-27 15:59:21 -04:00
Brandon Mathis
a128d4990b 1. Improved Deployment and setup tasks in Rakefile
2. Improved README setup instructions
2011-06-22 23:44:02 -04:00
Brandon Mathis
a2ab1d4802 1. Reordered configs in Rakefile based on importance.
2. Refactored stylesheets to simplify dreictory trees.
2011-06-22 12:29:23 -04:00
Brandon Mathis
b9b9eb09c1 improved rake tasks for deployment, updated .gitignore 2011-06-21 16:11:07 -04:00
Brandon Mathis
21813059f2 1. Replaced Rdiscount in favor of Kramdown (better html5 support) for markdown processing.
2. Added updated instructions to the README
3. Removed unused media css directories
4. Improved use of color variables for page theming.
5. Improved Typography and blog styling.
6. Added support for simple pre and code styles
7. Misc styling and markup improvements.
2011-06-17 22:24:48 -04:00
Brandon Mathis
913fa105c4 1. Moved _plugins into themes/classic/_plugins
I think it's probably better to ship plugins with themes to make it
easier to update them.
2. Improved 'install' rake task and made nicer output
2011-06-11 15:58:53 -04:00
Brandon Mathis
14ba4cfd3c 1. Reduced dependencies and updated the gemfile
2. Added whole vendor directory to .gitignore for `bundle package` users
3. Removed guard tasks and replaced serve tasks in Rakefile.
3. Reorganized rake tasks and cleaned up the Rakefile.
2011-06-11 07:56:04 -04:00
Brandon Mathis
519e234aab Improved theme install process
added missing assets
2011-06-08 16:36:10 -04:00
Brandon Mathis
d8b796acb9 Another massive commit:
1. Major improvements to the responsive styling.
2. Toggleable sidebar
3. Upgraded to modernizr 2.0 which includes Respond.js
4. IE7-9 testing and fixes
5. New theming system which should make forkers happy
6. New rake task for installing Octopress themes
7. Magic
2011-06-07 10:45:01 -04:00
Brandon Mathis
8698a276f9 Cleaned out public from repository, updated gitignore, added syntax
highlighting tests, improved syntax highlighting and styling of pre
blocks.
Overriding dynamic gist styling.
Added a plugin for pygments caching which should speed things up
terrifically.
added ender.js as a lightweight way of scripting the DOM, events, etc.
Some general typography and semantic html improvements.
2011-05-30 00:30:16 -04:00
Brandon Mathis
c7d5365f81 major refactoring, improved file watching, changed site to public to support rack via pow (http://pow.cx) also implemented the basics of a 320 and up design refresh on the classic theme. This should make it great for mobile reading 2011-05-15 18:33:00 -04:00
Brandon Mathis
e4c2d5790b irrisponsibly massive commit 2011-04-17 22:49:30 -05:00
Kevin W. Gisi
1f4fcec53b Correctly check for failing Serve 2010-08-03 19:57:01 +08:00
Kevin W. Gisi
9bd7133953 Fixed 'rake preview on fails vanilla install' bug 2010-08-03 19:57:01 +08:00
B Mathis
76b8b8ca45 fixed rake preview and updated sass to sass3 syntax 2010-07-26 10:55:53 -05:00
dbloete
091ef1c6e1 Use Bundler for dependency management 2010-05-26 22:07:31 +08:00
dbloete
654428a309 Explicitly require the helpers 2010-05-26 05:19:22 +08:00
dbloete
e112b7e05f Fix compass/sass deprecation warnings 2010-05-26 05:18:55 +08:00
B Mathis
eefe29e5d0 now Octopress uses partials 2010-03-10 12:23:30 -06:00
Ryan Daigle
c41b9e89ae Fix sitemap regeneration 2010-02-05 09:46:36 -06:00
Ryan Daigle
2f41517191 Update to rakefile to allow working on a single post at a time (and saving regeneration time) 2010-02-05 09:45:35 -06:00
B Mathis
de113ecfeb changed default github pages deploy branch to master 2009-12-13 10:36:59 -06:00