Geoffrey Booth
8fbe095e94
Improve docs ( #4396 )
...
* Replace tiny bitmaps with base64-encoded URIs
* Optimize SVGs; replace logo PNG with SVG
* Modernize favicon
* Embed CSS; a bit unorthodox, but we’re a single page so there’s no point in separate .css files and their separate HTTP requests
2016-12-07 14:23:05 -08:00
Geoffrey Booth
7d6a3b5fa4
Docs examples with quotation marks were broken. Properly escape the quotes. http://stackoverflow.com/a/1082558/223225
2016-11-30 22:23:51 -08:00
Geoffrey Booth
6d507b46d3
Bump version to 1.12.0; pass through as a variable to index.html
2016-11-30 20:48:06 -08:00
Geoffrey Booth
cf3a27259a
Exclude error messages from browser-based tests; watch test files
2016-11-30 00:31:18 -08:00
Geoffrey Booth
729fec2947
Abstract the eq and arrayEq functions, shared by Cakefile and test.html, into one file that can be included into both
2016-11-29 21:19:11 -08:00
Geoffrey Booth
06b3180223
Refactor test.html to be part of the docs output, with the tests embedded inside it; update test.html styles; move UTF-8 comment test out of test.html and into test/comments.coffee where it belongs
2016-11-29 18:13:12 -08:00
Geoffrey Booth
6d29086519
Standardize on .html file extension; move test.html into its new home
2016-11-29 08:45:46 -08:00
Geoffrey Booth
a401f587c3
Organize Cakefile: move helper functions that are only used by doc:site into the doc:site task
2016-11-29 08:39:00 -08:00
Geoffrey Booth
ac26360fdc
Replace Uglify.js with Google Closure Compiler, JS version; let NPM finally reformat package.json the way it likes ( #4376 )
2016-11-28 23:10:17 -08:00
Geoffrey Booth
02c5641b32
Fix path to browser compiler ( #4374 )
2016-11-27 20:47:54 -08:00
Geoffrey Booth
56482a3166
Docs for for…from ( #4368 )
...
* Documentation of `for...from` for iterating over generator functions
* Add note that the CoffeeScript compiler does not, in fact, generate JavaScript that runs in every JavaScript runtime 😢
2016-11-22 09:30:39 -08:00
Geoffrey Booth
cc3be717a0
Docs improvements ( #4367 )
...
* The generated JavaScript for the examples in the docs ends up within index.html, so we don’t need the intermediate generated .js files committed in the repo; also, even while .gitignored they should be under `docs`, with the rest of the generated files, not under `documentation`, where the source files are.
* Add “Existential Operator” to the table of contents. Closes #4361
* Updated output due to newer version of highlight.js
* Generated the JavaScript for the docs examples should be synchronous, so that index.html isn’t generated before the JavaScript is
* In “Try CoffeeScript,” if you press the tab key it should type a tab character. Closes #3342 .
* Rename doc example folders from `js` and `coffee` to just `examples`
* Add missing `yield` to the list of keywords to highlight until highlight.js catches up; update the class used to match highlight.js’ `keyword`
* `cake doc:site` should watch the example files too, not just index.html.js
* Remove examples folder, including underscore.coffee; remove link to annotated underscore.coffee
2016-11-20 17:05:19 -08:00
Geoffrey Booth
a49c5c5150
Revert to http://coffeescript.org until GitHub pages supports HTTPS for custom domains ( #4363 )
2016-11-17 09:57:03 -08:00
Geoffrey Booth
a95d986055
coffeescript.org goes HTTPS!
2016-11-15 21:31:53 -08:00
Geoffrey Booth
846c0e4c51
Even 1.x doesn’t need to limit generators tests to --harmony mode anymore; minor cleanup
2016-11-15 21:28:35 -08:00
Geoffrey Booth
3736b0fed1
Update cake build:browser to reflect new path to coffee-script.js
2016-11-15 21:19:43 -08:00
Geoffrey Booth
eb46975d87
Update cake doc:source to output to new docs/v{1|2}/annotated-source; collapse doc:underscore into it and generate missing underscore.html ( closes #4295 )
2016-11-15 21:16:13 -08:00
Geoffrey Booth
3739954de6
Move v1 documentation under docs/v1, with docs/index.html symlinking to docs/v1/index.html (with .nojekyll file to hopefully make the symlink work)
2016-11-15 20:54:30 -08:00
Geoffrey Booth
6f09d36ec8
Update dev dependencies; update template rendering to use new Underscore syntax
2016-11-14 21:39:25 -08:00
Geoffrey Booth
be44ebd2cd
Node 7-nightly throws deprecation warnings when calling fs non-Sync functions without callbacks; but we always want the synchronous versions, so we should just call those in the first place
2016-10-18 21:49:15 -07:00
Geoffrey Booth
a8b77fb4e7
Add modules documentation ( #4309 )
2016-09-18 20:54:44 +02:00
Andreas Lubbe
75900660fd
Merge remote-tracking branch 'A/master'
2014-09-06 11:32:25 +02:00
Jeremy Ashkenas
f0764096e9
now that github supports renames, coffeescript, not coffee-script
2014-05-08 15:07:42 -04:00
sailxjx
bfc9d4d594
fix a spell mistake in cakefile
2014-03-11 15:11:02 +08:00
Michael Ficarra
ab5728c030
fix cake install; related: #3395 , #3393
2014-03-03 13:24:20 -06:00
David Chambers
c9e87f3044
changelog: use time elements for release dates
2014-02-18 08:49:46 -08:00
David Chambers
81e2253a55
changelog: replace inline CSS
2014-02-17 21:45:49 -08:00
David Chambers
09446ad515
changelog: add anchor to each section
...
Add releaseHeader helper to avoid repetition.
2014-02-16 18:08:35 -08:00
Michael Ficarra
ed928928f6
use npm-installed docco rather than relying on globally installed docco
2014-02-01 21:06:21 -06:00
xixixao
9e5ffaea69
Use actual _.template instead of custom one
2014-01-28 18:56:43 +00:00
xixixao
f42329ca0a
Use Node instead of Ruby for documentation
2014-01-28 03:17:12 +00:00
Andreas Lubbe
f375394381
Merge https://github.com/jashkenas/coffee-script
...
Conflicts:
lib/coffee-script/lexer.js
lib/coffee-script/parser.js
lib/coffee-script/rewriter.js
src/lexer.coffee
src/rewriter.coffee
2014-01-25 19:37:35 -08:00
Michael Ficarra
08a57898a7
add CoffeeScript.register method for require.extensions registration
2013-12-08 14:21:18 -06:00
Michael Ficarra
ba4743cc83
fix auto and manual require.extensions registration; ref #3141
...
You can now `require('coffee-script/register')` to manually register,
and the compiler auto-registers when directly running a coffee file.
2013-12-08 14:19:10 -06:00
Andreas Lubbe
c02a403f2e
fixed misspelling in Cakefile
2013-12-04 21:49:17 -08:00
Andreas Lubbe
f4b850d59c
further improved readability of cakefile generator check
2013-12-02 23:33:16 -08:00
Andreas Lubbe
85c7fffd1a
improved readability of cakefile generator check
2013-11-30 20:51:53 -08:00
Andreas Lubbe
9d29a830df
entire generator test file is now ignored if generators are not available
2013-11-30 12:26:32 -08:00
Jeremy Ashkenas
b173a377a6
Fixes #3208 . You now have to require 'coffee-script/extensions' in order to be able to auto-require CoffeeScript files.
2013-10-20 11:08:13 -03:00
Jeremy Ashkenas
f2f10e85a8
Revert "remove cake build:ultraviolet"
...
This reverts commit 2e6a781014 .
2013-06-02 09:45:11 +04:00
Jeremy Ashkenas
7b14a6aad2
Fixing browser build boilerplate.
2013-06-02 09:21:36 +04:00
Jeremy Ashkenas
342306587c
Removing out of date testing cruft
2013-06-02 09:13:16 +04:00
Jeremy Ashkenas
bd451800bf
Merge pull request #3000 from sgentle/require-extensions
...
Patch module.prototype.load to enable multiple extensions like .coffee.md
2013-06-01 21:44:02 -07:00
Michael Ficarra
5496a189bc
fixes #2934
2013-05-31 16:51:30 -05:00
Michael Ficarra
2e6a781014
remove cake build:ultraviolet
2013-05-31 15:49:48 -05:00
Sam Gentle
c0aac8e598
use helpers.isCoffee in test runner
2013-05-26 00:04:18 +10:00
Sam Gentle
9b1bdd4b36
Add test for .coffee.md loading
2013-05-25 23:06:44 +10:00
Jeremy Ashkenas
69f6500ba9
rebuilt source code documentation with new version of Docco.
2013-03-11 11:37:22 +08:00
Jeremy Ashkenas
b62a90d54c
Fixes #2765 -- incorrect line number in mappings
2013-03-05 10:49:47 +13:00
Jeremy Ashkenas
d70d71f574
Merging in .coffee.md support alongside .litcoffee ... I think we'll keep .litcoffee as the canonical, however.
2013-03-01 12:46:40 +13:00