You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Don't see the recipe you want? Add it yourself by reading the <ahref="/contributing">Contributor's Guide</a>, or request it by adding it to <ahref="/wanted-recipes">Wanted Recipes</a>.</p>
<p>Don't see the recipe you want? Add it yourself by reading the <ahref="{{ site.baseurl }}/contributing">Contributor's Guide</a>, or request it by adding it to <ahref="{{ site.baseurl }}/wanted-recipes">Wanted Recipes</a>.</p>
<p>Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the <ahref="/contributing">Contributor's Guide</a>, or request it by adding it to <ahref="/wanted-recipes">Wanted Recipes</a>.</p>
<p>Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the <ahref="{{ site.baseurl }}/contributing">Contributor's Guide</a>, or request it by adding it to <ahref="{{ site.baseurl }}/wanted-recipes">Wanted Recipes</a>.</p>
<p>Is this recipe wrong, incomplete, or non idiomatic? Help fix it by reading the <ahref="{{ site.baseurl }}/contributing">Contributor's Guide</a>!</p>
Copy file name to clipboardExpand all lines: authors-guide.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: Author's Guide
6
6
7
7
## tl;dr: Look at Other Recipes, and Blend In
8
8
9
-
Look at the source of other recipe pages and follow that page structure. Start with the [Developer's Guide](/developers-guide) to get a test version of the cookbook up and running on your machine, and get to work!
9
+
Look at the source of other recipe pages and follow that page structure. Start with the [Developer's Guide]({{ site.baseurl }}/developers-guide) to get a test version of the cookbook up and running on your machine, and get to work!
10
10
11
11
## General Guidelines
12
12
@@ -26,7 +26,7 @@ A typical cookbook page will have three sections (four if you count the title):
26
26
27
27
## Copyright Issues
28
28
29
-
Do not post code that is copyrighted by another user, unless you have permission to use that code AND to relicense that code under the [CC BY 3.0](/license) license. If you DO have permission and the author would like credit, please add them to the [authors](/authors) page.
29
+
Do not post code that is copyrighted by another user, unless you have permission to use that code AND to relicense that code under the [CC BY 3.0]({{ site.baseurl }}/license) license. If you DO have permission and the author would like credit, please add them to the [authors]({{ site.baseurl }}/authors) page.
30
30
31
31
Also, just a stylistic note, please do not yank code directly from [http://coffeescript.org/](http://coffeescript.org/) and post it with little or no discussion. The CoffeeScript Cookbook is not affiliated with them. We think they're awesome and want them to like us, too! Make sure that anything taken from [http://coffeescript.org/](http://coffeescript.org/) is permissible use and that it stands alone as a valid recipe. If the recipe is too terse, consider adding more examples and discussion.
32
32
@@ -99,7 +99,7 @@ When in doubt about what output to show, try evaluating your snippet in the coff
99
99
100
100
## How to Add a Recipe
101
101
102
-
Create a new markdown page (or copy the [Recipe Template](/recipe-template). The filename should be about the problem, e.g. `finding-last-day-of-the-month.md` or `reversing-arrays.md`. In your file, start with the following template:
102
+
Create a new markdown page (or copy the [Recipe Template]({{ site.baseurl }}/recipe-template). The filename should be about the problem, e.g. `finding-last-day-of-the-month.md` or `reversing-arrays.md`. In your file, start with the following template:
103
103
104
104
{% highlight text %}
105
105
---
@@ -175,7 +175,7 @@ See the "Weird Recipe" note above. Do real people in the real world ever hit the
175
175
176
176
## I Have A Problem/Solution, But It's Basically Just JavaScript. Should I Add It?
177
177
178
-
Yes! CoffeeScript compiles to JavaScript, and that means that some of its functionality comes straight from JavaScript. (For example, see [Reversing Arrays](/chapters/arrays/reversing-arrays).) But if you're programming in CoffeeScript and you need to reverse an array, this Cookbook should stand ready to tell you it's available to you in CoffeeScript -- even if it's just a straight call into a JavaScript library.
178
+
Yes! CoffeeScript compiles to JavaScript, and that means that some of its functionality comes straight from JavaScript. (For example, see [Reversing Arrays]({{ site.baseurl }}/chapters/arrays/reversing-arrays).) But if you're programming in CoffeeScript and you need to reverse an array, this Cookbook should stand ready to tell you it's available to you in CoffeeScript -- even if it's just a straight call into a JavaScript library.
179
179
180
180
## I Found a Typo. Is That Enough of a Fix? Does That Count?
0 commit comments