Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added box styling to all documentation pages and fixed a cross-browse…
…r navigation margin issue.
- Loading branch information
Dave Moore
authored and
Dave Moore
committed
Sep 16, 2011
1 parent
e21343d
commit 9245714
Showing
21 changed files
with
197 additions
and
179 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[:h3 "after"] | ||
|
||
[:p "Declares a function that is invoked after each characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a function that is invoked after each characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
|
||
[:code " | ||
<pre>(after (println \"A spec has just been evaluated\"))</pre>"] | ||
[:code "(after (println \"A spec has just been evaluated\"))"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[:h3 "after-all"] | ||
|
||
[:p "Declares a function that is invoked once after all the characteristics in the containing describe scope have been evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a function that is invoked once after all the characteristics in the containing describe scope have been evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
|
||
[:code " | ||
<pre>(after-all (println \"That's all folks.\"))</pre>"] | ||
[:code "(after-all (println \"That's all folks.\"))"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[:h3 "around"] | ||
|
||
[:p "Declares a function that will be invoked around each characteristic of the containing describe scope. The characteristic will be passed in and the around function is responsible for invoking it."] | ||
|
||
[:code " | ||
<pre>(declare *the-answer*) ; outside of a describe | ||
(around [it] | ||
(binding [*the-answer* 42] | ||
(it))) | ||
(it \"knows the answer\" | ||
(should= 42 *the-answer*))</pre>"] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a function that will be invoked around each characteristic of the containing describe scope. The characteristic will be passed in and the around function is responsible for invoking it."] | ||
|
||
[:code "(declare *the-answer*) ; outside of a describe<br /> | ||
<br /> | ||
(around [it]<br /> | ||
(binding [*the-answer* 42]<br /> | ||
(it)))<br /> | ||
<br /> | ||
(it \"knows the answer\"<br /> | ||
(should= 42 *the-answer*))"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[:h3 "before"] | ||
|
||
[:p "Declares a function that is invoked before each characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a function that is invoked before each characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
|
||
[:code " | ||
<pre>(before (println \"A spec is about to be evaluated\"))</pre>"] | ||
[:code "(before (println \"A spec is about to be evaluated\"))"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[:h3 "before-all"] | ||
|
||
[:p "Declares a function that is invoked once before any characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a function that is invoked once before any characteristic in the containing describe scope is evaluated. The body may consist of any forms, presumably ones that perform side effects."] | ||
|
||
[:code " | ||
<pre>(before-all (println \"May the spec'ing begin!\"))</pre>"] | ||
[:code "(before-all (println \"May the spec'ing begin!\"))"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[:h3 "Documentation"] | ||
|
||
[:p "Here you can review all of the Speclj Components in detail. Click the sidebar to start."] | ||
[:p "This documentation covers each Speclj component individually. Use this section as a reference. If you are new to Speclj and want to learn how to use it, you will benefit more from the <a href=\"/tutorial\">Tutorial</a> section. Otherwise click the links in the sidebar to see the documentation of each Speclj component."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[:h3 "it"] | ||
|
||
[:p "Declares a new characteristic (example in rspec). The first parameter name should be a string the describes the characteristic. The second parameter body may be any forms but aught to have at least one should assertion."] | ||
[:div {:id "comp_box"} | ||
[:p "Declares a new characteristic (example in rspec). The first parameter name should be a string the describes the characteristic. The second parameter body may be any forms but aught to have at least one should assertion."] | ||
|
||
[:code " | ||
<pre>(it \"adds numbers\" | ||
(should= 2 (+ 1 1)))</pre>"] | ||
[:code "(it \"adds numbers\"<br /> | ||
(should= 2 (+ 1 1)))</pre>"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[:h3 "should"] | ||
|
||
[:p "Asserts the truthy-ness of a form."] | ||
[:div {:id "comp_box"} | ||
[:p "Asserts the truthy-ness of a form."] | ||
|
||
[:code " | ||
<pre>(should true) ; passes | ||
(should false) ; fails</pre>"] | ||
[:code "(should true) ; passes<br /> | ||
(should false) ; fails</pre>"]] |
Oops, something went wrong.