Skip to content

Commit a14c935

Browse files
authored
Merge pull request #305 from mbinet/cleanup-readme
Readme cleanup + Table of contents
2 parents b7ba5c5 + 7469733 commit a14c935

File tree

2 files changed

+57
-19
lines changed

2 files changed

+57
-19
lines changed

CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Development
2+
3+
* `git clone` this repository
4+
* `npm install`
5+
* `bower install`
6+
* `ember server`
7+
* Visit your app at http://localhost:4200.
8+
9+
## Running Tests
10+
11+
* `ember test`
12+
* `ember test --server`
13+
14+
## Building
15+
16+
* `ember build`
17+
18+
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).

README.md

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,45 @@
55

66
[moment.js](http://momentjs.com) template helpers and computed property macros for Ember
77

8+
## Table of Contents
9+
10+
<!-- toc -->
11+
- [Installing](#installing)
12+
- [Upgrading](#upgrading)
13+
- [Usage](#usage)
14+
- [Computed Property Macros](#computed-property-macros)
15+
- [Helpers](#helpers)
16+
* [moment](#moment)
17+
* [utc](#utc)
18+
* [moment-format](#moment-format)
19+
* [moment-from / moment-from-now](#moment-from--moment-from-now)
20+
* [moment-to / moment-to-now](#moment-to--moment-to-now)
21+
* [moment-duration](#moment-duration)
22+
* [moment-calendar](#moment-calendar)
23+
* [moment-diff](#moment-diff)
24+
* [is-before / is-after / is-same / is-same-or-before / is-same-or-after](#is-before--is-after--is-same--is-same-or-before--is-same-or-after)
25+
* [is-between](#is-between)
26+
* [now](#now)
27+
* [unix](#unix)
28+
* [Common optional named arguments](#common-optional-named-arguments)
29+
- [ES6 Moment](#es6-moment)
30+
- [Configuration Options](#configuration-options)
31+
* [Include Moment Timezone](#include-moment-timezone)
32+
* [Global Default Output Format](#global-default-output-format)
33+
* [Global Allow Empty Dates](#global-allow-empty-dates)
34+
* [i18n support](#i18n-support)
35+
+ [Cherry pick locales (optimal)](#cherry-pick-locales-optimal)
36+
+ [Include all locales into build](#include-all-locales-into-build)
37+
+ [Write all the locales to a folder relative to `dist`](#write-all-the-locales-to-a-folder-relative-to-dist)
38+
* [Configure default runtime locale/timeZone](#configure-default-runtime-localetimezone)
39+
+ [Globally set locale](#globally-set-locale)
40+
+ [Globally set time zone](#globally-set-time-zone)
41+
- [Frequently Asked Questions](#frequently-asked-questions)
42+
- [Development](#development)
43+
- [Running Tests](#running-tests)
44+
- [Building](#building)
45+
<!-- tocstop -->
46+
847
## Installing
948

1049
`ember install ember-moment`
@@ -479,25 +518,6 @@ If you are knowingly passing null, undefined, or an empty string and want to ign
479518
{{moment-format '' allow-empty=true}} {{!-- <nothing> --}}
480519
````
481520

482-
## Development
483-
484-
* `git clone` this repository
485-
* `npm install`
486-
* `bower install`
487-
* `ember server`
488-
* Visit your app at http://localhost:4200.
489-
490-
## Running Tests
491-
492-
* `ember test`
493-
* `ember test --server`
494-
495-
## Building
496-
497-
* `ember build`
498-
499-
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).
500-
501521
[npm]: https://www.npmjs.org/package/ember-moment
502522
[npm-badge]: https://img.shields.io/npm/v/ember-moment.svg?style=flat-square
503523
[travis]: https://travis-ci.org/stefanpenner/ember-moment

0 commit comments

Comments
 (0)