Skip to content

Commit fb91ac4

Browse files
committed
add headers and where to get section to landing page
1 parent e58268a commit fb91ac4

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

docs/0.8/Get started.md.hbs

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,31 @@ Welcome! These pages aim to provide all the information you need to master Racti
66

77
If you see something wrong, out of date, or missing from this documentation, please check out our {{{createLink 'Known issues, FAQs, and Tips' 'known issues and FAQs'}}}, [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you!
88

9+
## Where to get Ractive
10+
11+
Ractive is published regularly to npm as both regular and dev builds. Since [unpkg](https://unpkg.com) mirrors the npm registry in link-friendly way, you can download or link to any Ractive version from there:
12+
13+
| Version | URL |
14+
| ------- | --- |
15+
| latest | https://unpkg.com/ractive |
16+
| edge | https://unpkg.com/ractive@edge |
17+
| 0.8 unreleased stable | https://unpkg.com/[email protected] |
18+
| 0.7.3 | https://unpkg.com/[email protected] |
19+
20+
## 15 second overview
21+
922
Using Ractive is very simple. An instance is created using `new Ractive({...})`
1023
with the desired options:
1124

1225
```js
1326
var ractive = new Ractive({
14-
el: 'container',
27+
target: 'container',
1528
template: '<p>\{{greeting}}, \{{recipient}}!</p>',
1629
data: { greeting: 'Hello', recipient: 'world' }
1730
});
1831
```
1932

20-
While there are no _required_ options, the three shown above - __el__ement, __template__ and __data__ - are the most common. They specify __what data__ to bind to __what template__ and __where__ it should be placed
21-
in the __html document__.
33+
While there are no _required_ options, the three shown above - __target__, __template__ and __data__ - are the most common. They specify __what data__ to bind to __what template__ and __where__ it should be placed in the __html document__.
2234

2335
A good way to get up and running is with the [60 second setup](http://ractivejs.org/60-second-setup). After that, working your way through the [interactive tutorials](http://learn.ractivejs.org) will familiarise you with the various ways you can use Ractive.
2436

@@ -27,7 +39,9 @@ all the available options.
2739

2840
If you get stuck at any point, visit the {{{createLink 'Get support'}}} page to find help.
2941

30-
*Documentation for previous versions: [0.3.9](../0.3.9), [0.4.0](../0.4.0), [0.5.x](../0.5), [0.6.x](../0.6), [0.7.x](../0.7)*
42+
## Documentation for other versions
43+
44+
*Documentation for previous versions: [0.3.9](../0.3.9), [0.4.0](../0.4.0), [0.5.x](../0.5), [0.6.x](../0.6), [0.7.x](../0.7), [0.8.x](../0.8)*
3145

3246
*Documentation for latest version: [latest](../latest)*
3347

docs/edge/Get started.md.hbs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ Welcome! These pages aim to provide all the information you need to master Racti
66

77
If you see something wrong, out of date, or missing from this documentation, please check out our {{{createLink 'Known issues, FAQs, and Tips' 'known issues and FAQs'}}}, [raise an issue on GitHub](https://github.com/ractivejs/docs.ractivejs.org/issues) or - even better - submit a pull request. Your fellow Ractive users will thank you!
88

9+
## Where to get Ractive
10+
11+
Ractive is published regularly to npm as both regular and dev builds. Since [unpkg](https://unpkg.com) mirrors the npm registry in link-friendly way, you can download or link to any Ractive version from there:
12+
13+
| Version | URL |
14+
| ------- | --- |
15+
| latest | https://unpkg.com/ractive |
16+
| edge | https://unpkg.com/ractive@edge |
17+
| 0.8 unreleased stable | https://unpkg.com/[email protected] |
18+
| 0.7.3 | https://unpkg.com/[email protected] |
19+
20+
## 15 second overview
21+
922
Using Ractive is very simple. An instance is created using `new Ractive({...})`
1023
with the desired options:
1124

@@ -26,6 +39,8 @@ all the available options.
2639

2740
If you get stuck at any point, visit the {{{createLink 'Get support'}}} page to find help.
2841

42+
## Documentation for other versions
43+
2944
*Documentation for previous versions: [0.3.9](../0.3.9), [0.4.0](../0.4.0), [0.5.x](../0.5), [0.6.x](../0.6), [0.7.x](../0.7), [0.8.x](../0.8)*
3045

3146
*Documentation for latest version: [latest](../latest)*

0 commit comments

Comments
 (0)