From 07704b598cf2be7f33c974f1cee64ae819e33b37 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 00:41:42 -0700 Subject: [PATCH 01/11] Fixed url paths in index.html. --- content/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/index.html b/content/index.html index 6a4cc4f..f68fa51 100644 --- a/content/index.html +++ b/content/index.html @@ -88,17 +88,17 @@ [Jekyll]: http://jekyllrb.com [evil twin]: http://ringce.com/blog/2009/introducing_hyde [Jinja2]: {{ links.jinja2 }} -[object model]: [[template/#variables]] +[object model]: [[templates/#variables]] [hyde]: https://github.com/hyde/hyde -[install]: [[install]] -[metadata]: [[plugins/metadata]] +[install]: [[install.html]] +[metadata]: [[plugins/metadata.html]] [plugins]: [[plugins]] [python]: http://python.org -[server]: [[server]] -[sorter]: [[plugins/sorter]] +[server]: [[server.html]] +[sorter]: [[plugins/sorter.html]] [static cons]: [[static/#cons]] -[static pros]: [static/#pros]] -[forking]: [[contribute]] -[commandline]: [[commands]] +[static pros]: [[static/#pros]] +[forking]: [[contribute.html]] +[commandline]: [[commands.html]] [pypi]: http://pypi.python.org/pypi/hyde [templ]: [[templates]] From 8c51b99029ce9aa17ab9731a0c1b60516919681f Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 00:44:13 -0700 Subject: [PATCH 02/11] Add workaround for bug in lessc 1.1.2 See: https://github.com/cloudhead/less.js/issues/133 lessc would error out and hyde would not complete successfully in version 1.1.2 of lessc when transforming mixins.less. --- content/media/css/inc/mixins.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/media/css/inc/mixins.less b/content/media/css/inc/mixins.less index c305fcf..5fa134f 100644 --- a/content/media/css/inc/mixins.less +++ b/content/media/css/inc/mixins.less @@ -96,7 +96,8 @@ a img { .opacity(@op:100) { - filter:alpha(opacity=@op); + // Work around, see https://github.com/cloudhead/less.js/issues/133 + filter: e(%("alpha(opacity=%s)", @op)); -moz-opacity:@op/100; -khtml-opacity:@op/100; opacity:@op/100; @@ -153,4 +154,4 @@ a img { -o-transform: translate(@move_x, @move_y); -ms-transform:translate(@move_x, @move_y); transform: translate(@move_x, @move_y); -} \ No newline at end of file +} From 70797f7bf26ff1406e482572aae13e0cba01b9ed Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 00:47:14 -0700 Subject: [PATCH 03/11] Update site.yaml config to point to global lessc. --- site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site.yaml b/site.yaml index b9bd888..021a625 100644 --- a/site.yaml +++ b/site.yaml @@ -73,7 +73,7 @@ grouper: name: templating guide less: - app: ~/local/bin/lessc + app: /usr/bin/lessc markdown: extensions: - def_list From 9a7c951bdf626a521b19d9bd9edbde87db4e8d4a Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 00:47:36 -0700 Subject: [PATCH 04/11] Add contribute.html --- content/contribute.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 content/contribute.html diff --git a/content/contribute.html b/content/contribute.html new file mode 100644 index 0000000..e69de29 From b54d9dc86756909e640a23a126385b110692b4ac Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 00:48:24 -0700 Subject: [PATCH 05/11] Add README.md --- README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 From 96c316ce22f9a55718d6523c2a42f9b43618410a Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:27:14 -0700 Subject: [PATCH 06/11] Update README file. --- README.md | 0 README.rst | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) delete mode 100644 README.md create mode 100644 README.rst diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..03f3cd7 --- /dev/null +++ b/README.rst @@ -0,0 +1,37 @@ +Version 0.8.3 + +Welcome to the Hyde Documentation! +================================== + +Here you will find the source for the hyde documentation. Fork it if you want to +help out, or study it to learn more about how hyde works. + +Prerequisites +------------- +- `less`_ + The less plugin to hyde is used to generate the CSS for the hyde + documentation. + +Generating +------------ +:: + + hyde -s ~/docs gen +The documentation will be created in the 'deploy' directory. + +Serving the docs +---------------- +:: + + hyde -s ~/docs serve + open http://localhost:8080 + +Links +----- + +1. `Changelog`_ +2. `Authors`_ + +.. _less: http://lesscss.org/ +.. _Authors: https://github.com/hyde/hyde/blob/master/AUTHORS +.. _Changelog: https://github.com/hyde/hyde/blob/master/CHANGELOG.rst From 0a9a1a3add4594cc4047c688b60046add26beb5d Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:27:29 -0700 Subject: [PATCH 07/11] Add AUTHORS file. --- AUTHORS.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 AUTHORS.rst diff --git a/AUTHORS.rst b/AUTHORS.rst new file mode 100644 index 0000000..d1cde9a --- /dev/null +++ b/AUTHORS.rst @@ -0,0 +1,20 @@ +Hyde is developed and maintained by `Lakshmi Vyasarajan`_. The new version of +Hyde is sponsored by `Flowplayer`_ and `Tero Piirainen`_. + +This version would not exist without the contributions from the +`original hyde project`_. + +Contributors +------------ + +- |demizer|_ + + * General documentation fixes. + +.. _Lakshmi Vyasarajan: http://twitter.com/lakshmivyas +.. _Flowplayer: http://flowplayer.org +.. _Tero Piirainen: http://cloudpanic.com +.. _original hyde project: http://github.com/lakshmivyas/hyde +.. |demizer| replace:: Jesus Alvarez +.. _demizer: https://demizerone.com + From ea3d940b588f2afa9de55bb8110d45612f24d4e6 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:27:42 -0700 Subject: [PATCH 08/11] Add CHANGELOG file. --- CHANGELOG.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 CHANGELOG.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..9cecb64 --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,6 @@ +Version 0.8.4 +============= + +Thanks to @demizer + +* Various documentation fixes. From c970507ca625b20ad73350f67596be48c43730aa Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:29:17 -0700 Subject: [PATCH 09/11] Fix url path to AUTHORS file. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 03f3cd7..f5f7e97 100644 --- a/README.rst +++ b/README.rst @@ -33,5 +33,5 @@ Links 2. `Authors`_ .. _less: http://lesscss.org/ -.. _Authors: https://github.com/hyde/hyde/blob/master/AUTHORS -.. _Changelog: https://github.com/hyde/hyde/blob/master/CHANGELOG.rst +.. _Authors: https://github.com/hyde/docs/blob/master/AUTHORS.rst +.. _Changelog: https://github.com/hyde/docs/blob/master/CHANGELOG.rst From 01b5c43afeb5be7449b87279e056c530a425b967 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:34:32 -0700 Subject: [PATCH 10/11] Add 'Now What?' section to the README. --- README.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f5f7e97..748dc14 100644 --- a/README.rst +++ b/README.rst @@ -26,9 +26,15 @@ Serving the docs hyde -s ~/docs serve open http://localhost:8080 +Now what? +------------ +- Explore +- Add stuff +- Fix things that are broken +- See the TODO for guidance + Links ----- - 1. `Changelog`_ 2. `Authors`_ From 21f76db89cd6d4a418d702b7213ba978d115ef4a Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Sun, 17 Jul 2011 01:36:06 -0700 Subject: [PATCH 11/11] Fixed website link in AUTHORS. --- AUTHORS.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index d1cde9a..9064ef9 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -16,5 +16,5 @@ Contributors .. _Tero Piirainen: http://cloudpanic.com .. _original hyde project: http://github.com/lakshmivyas/hyde .. |demizer| replace:: Jesus Alvarez -.. _demizer: https://demizerone.com +.. _demizer: http://demizerone.com