Skip to content

Commit

Permalink
Update docs for new features.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1mmy committed Jul 13, 2012
1 parent d1e091c commit 32206de
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/client/concepts.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ <h2 id="templates">Templates</h2>
Today, the only templating system that has been packaged for Meteor is
Handlebars. Let us know what templating systems you'd like to use with
Meteor. Meanwhile, see
the <a href="http://www.handlebarsjs.com/">Handlebars
documentation.</a>
the <a href="http://www.handlebarsjs.com/">Handlebars documentation</a>
and <a href="https://github.com/meteor/meteor/wiki/Handlebars">Meteor
Handlebars extensions</a>.
{{/note}}

A template with a `name` of `hello` is rendered by calling the
Expand Down
1 change: 1 addition & 0 deletions docs/client/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ var toc = [
"backbone",
"bootstrap",
"coffeescript",
"force-ssl",
"jquery",
"less",
"sass",
Expand Down
1 change: 1 addition & 0 deletions docs/client/packages.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ <h1 id="packages">Packages</h1>
{{> pkg_backbone}}
{{> pkg_bootstrap}}
{{> pkg_coffeescript}}
{{> pkg_force_ssl}}
{{> pkg_jquery}}
{{> pkg_less}}
{{> pkg_sass}}
Expand Down
23 changes: 23 additions & 0 deletions docs/client/packages/force-ssl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<template name="pkg_force_ssl">
{{#better_markdown}}
## `force-ssl`

This package causes Meteor to redirect insecure connections (HTTP) to a
secure URL (HTTPS). Use this package to ensure that communication to the
server is always encrypted to protect users from active spoofing
attacks.

To simplify development, unencrypted connections from `localhost` are
always accepted over HTTP.

Application bundles (`meteor bundle`) do not include an HTTPS server or
certificate. A proxy server that terminates SSL in front of a Meteor
bundle must set the standard `x-forwarded-proto` header for the
`force-ssl` package to work.

Applications deployed to `meteor.com` subdomains with
`meteor deploy` are automatically served via HTTPS using Meteor's
certificate.

{{/better_markdown}}
</template>
8 changes: 7 additions & 1 deletion docs/client/packages/stylus.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
automatically compiled to CSS and the results are included in the client
CSS bundle.

The `stylus` package also includes `nib` support. Add `@import 'nib'` to
your `.styl` files to enable cross-browser mixins such as
`linear-gradient` and `border-radius`.

See <a href="http://learnboost.github.com/stylus/">http://learnboost.github.com/stylus</a>
for documentation of the Stylus language.
for documentation of the Stylus language,
and <a href="http://visionmedia.github.com/nib/">http://visionmedia.github.com/nib</a>
for documentation of the nib extensions.

{{/better_markdown}}
</template>

0 comments on commit 32206de

Please sign in to comment.