From d565e9d0dccefdb6aa341602f4890a4c1f441dc6 Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Fri, 2 Aug 2013 10:00:25 -0700 Subject: [PATCH 1/2] Removing OSX files from repo. Updating .gitignore to not track these files. --- public/static/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 public/static/.DS_Store diff --git a/public/static/.DS_Store b/public/static/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Mon, 5 Aug 2013 21:45:01 +0800 Subject: [PATCH 2/2] Fix example in docs that wouldn't work in practice The pflag package used in hugo has to use the "=" sign for double dash options such as --source. Thus the original example `--source ~/mysite` is already incorrect. Adding the = sign though woul not fix things in this case, since `--source=~/mysite` does not get resolved to /home/username/mysite, but looks for the ./~/mysite directory within the current directory. To resolve this, either the directory name has to be changed in the docs not to use the "~" sign, or have to change to use the single dash version of the command line flag. The latter seems to be more in line with the rest of the example. Leaving `--watch` as a double dash option to minimize the change, though it could be either way, since the follow up example uses the single dash version of both. --- content/doc/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/doc/usage.md b/content/doc/usage.md index 4de760892..b0d862e0c 100644 --- a/content/doc/usage.md +++ b/content/doc/usage.md @@ -37,7 +37,7 @@ immediately, tell Hugo to watch for changes. **It will recreate the site faster than you can tab over to your browser to view the changes.** - $ hugo --source ~/mysite --watch + $ hugo -s ~/mysite --watch Watching for changes. Press ctrl+c to stop 15 pages created 0 tags created