Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Commit d44ea85

Browse files
committed
Append .html to links.
1 parent 2d58e71 commit d44ea85

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Links, Blogs, Wiki's, and Stuff
1313
-------------------------------
1414

1515
<dl>
16-
<dt><a href="/news">News and Notes</a></dt>
16+
<dt><a href="/news.html">News and Notes</a></dt>
1717
<dd>Official News and other contributed articles</dd>
1818

1919
<dt><a href="http://wiki.github.com/datamapper/dm-core">Wiki</a></dt>

contribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Git - Edge DataMapper
3434
---------------------
3535

3636
DataMapper development uses [Git](http://git-scm.com/) SCM.
37-
Please see [using git](/using-git) to learn how to contribute.
37+
Please see [using git](/using-git.html) to learn how to contribute.
3838
For detailed instructions how to get a proper development setup for
3939
datamapper up and running, have a look at the [edge guide](http://github.com/datamapper/dm-dev).
4040

docs/dm_more/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ validations based on the properties specified and also allows assignment of
3232
manual validations. It also supports contextual validation, allowing a resource
3333
to be considered valid for some purposes but not others.
3434

35-
### [dm-timestamps](/docs/dm_more/timestamps)
35+
### [dm-timestamps](/docs/dm_more/timestamps.html)
3636

3737
This defines callbacks on the common timestamp properties, making them
3838
auto-update when the models are created or updated. The targeted properties are
3939
`:created_at` and `:updated_at` for DateTime properties and `:created_on` and
4040
`:updated_on` for Date properties.
4141

42-
### [dm-aggregates](/docs/dm_more/dm-aggregates)
42+
### [dm-aggregates](/docs/dm_more/dm-aggregates.html)
4343

4444
This provides methods for database calls to aggregate functions such as `count`,
4545
`sum`, `avg`, `max` and `min`. These aggregate functions are added to both
4646
collections and Models.
4747

48-
### [dm-types](/docs/dm_more/types)
48+
### [dm-types](/docs/dm_more/types.html)
4949

5050
This provides several more allowable property types. `Enum` and `Flag` allow a
5151
field to take a few set values. `URI`, `FilePath`, `Regexp`, `EpochTime` and

docs/dm_more/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ no matter what the ruby object is, or which data-store is used as the backend.
1919
dm-types
2020
--------
2121

22-
In [DM More](/docs/dm_more) there is the dm-types gem, which supplies several
22+
In [DM More](/docs/dm_more/) there is the dm-types gem, which supplies several
2323
more types that map less common ruby classes to data-store values or take care
2424
of serializing them to text based formats.
2525

docs/index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ created_at: Fri Nov 30 15:29:01 +1030 2007
1111
<dl>
1212
<dt><a href="http://rubydoc.info/gems/dm-core/1.1.0/frames">API</a></dt>
1313
<dd>The API for the current gem release.</dd>
14-
<dt><a href="/why">Why DataMapper?</a></dt>
14+
<dt><a href="/why.html">Why DataMapper?</a></dt>
1515
<dd>If you haven't read this yet, you should, right now!</dd>
16-
<dt><a href="/getting-started">Getting Started</a></dt>
16+
<dt><a href="/getting-started.html">Getting Started</a></dt>
1717
<dd>A whirlwind tour of DM. This is the place to start if you haven't used the library before.</dd>
18-
<dt><a href="/docs/install">Common installation issues</a></dt>
18+
<dt><a href="/docs/install.html">Common installation issues</a></dt>
1919
<dd>Troubleshooting installation, with instructions for specific platforms.</dd>
20-
<dt><a href="/docs/properties">Properties</a></dt>
20+
<dt><a href="/docs/properties.html">Properties</a></dt>
2121
<dd>Properties declared in your model map to the fields in the database.</dd>
22-
<dt><a href="/docs/create_and_destroy">Creating, Saving, Updating and Destroying Records</a></dt>
22+
<dt><a href="/docs/create_and_destroy.html">Creating, Saving, Updating and Destroying Records</a></dt>
2323
<dd>Obviously you're going to be doing a lot of this :)</dd>
24-
<dt><a href="/docs/validations">Validations</a></dt>
24+
<dt><a href="/docs/validations.html">Validations</a></dt>
2525
<dd>Auto-validations, manual validations, contextual validations</dd>
26-
<dt><a href="/docs/find">Finding and Counting Records</a></dt>
26+
<dt><a href="/docs/find.html">Finding and Counting Records</a></dt>
2727
<dd>There are lots of nice ways to find records.</dd>
28-
<dt><a href="/docs/associations">Associations</a></dt>
28+
<dt><a href="/docs/associations.html">Associations</a></dt>
2929
<dd>Models can be associated to each other in various ways using the <code>has</code> keyword</dd>
30-
<dt><a href="/docs/callbacks">Hooks</a></dt>
30+
<dt><a href="/docs/callbacks.html">Hooks</a></dt>
3131
<dd>Hooks, AKA Callbacks, allow you to "advise other methods" by running methods before or after calling other methods.</dd>
32-
<dt><a href="/docs/misc">Misc. Features</a></dt>
32+
<dt><a href="/docs/misc.html">Misc. Features</a></dt>
3333
<dd>Paranoia, Timezone Handling, Single Table Inheritance, and Multiple Repositories.</dd>
34-
<dt><a href="/docs/legacy">Working with Legacy Schemas</a></dt>
34+
<dt><a href="/docs/legacy.html">Working with Legacy Schemas</a></dt>
3535
<dd>Adapting data-store naming conventions to your own property names.</dd>
3636
<dt><a href="/docs/dm_more/">More</a></dt>
3737
<dd>Plugins galore for DataMapper.</dd>

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ created_at: Tue Dec 04 13:20:00 +1030 2007
88
{{ page.title }}
99
================
1010

11-
If you've followed the [install instructions](/getting-started) but run
11+
If you've followed the [install instructions](/getting-started.html) but run
1212
into problems, you can find some tips below.
1313

1414
Dependencies

docs/misc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Multiple Data-Store Connections
7272

7373
DataMapper sports a concept called a context which encapsulates the data-store
7474
context in which you want operations to occur. For example, when you setup a
75-
connection in [getting-started](/getting-started), you were defining a
75+
connection in [getting-started](/getting-started.html), you were defining a
7676
context known as `:default`
7777

7878
{% highlight ruby linenos %}

getting-started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ You need to make sure to do this before you use your models, i.e. before you act
137137

138138
**Note**: that currently you **must** setup a `:default` repository to work
139139
with DataMapper (and to be able to [use additional differently named
140-
repositories](/docs/misc)). This might change in the future.
140+
repositories](/docs/misc.html)). This might change in the future.
141141

142142
Define your models
143143
------------------
@@ -177,16 +177,16 @@ end
177177

178178
The above example is simplified, but you can also specify more options such as
179179
constraints for your properties. DataMapper supports a lot of different
180-
[property](/docs/properties) types natively, and more through
181-
[dm-types](/docs/dm_more/types).
180+
[property](/docs/properties.html) types natively, and more through
181+
[dm-types](/docs/dm_more/types.html).
182182

183183
An important thing to note is that every model *must* have a key in
184184
order to be valid. If a model has no key, there's no way to identify a
185185
resource and thus no way to update its persistent state within the
186186
backend datastore. DataMapper will raise a `DataMapper::IncompleteModelError`
187187
when trying to `auto_migrate!` a model that has no key declared.
188188

189-
Have a look at [property](/docs/properties) to learn about the different
189+
Have a look at [property](/docs/properties.html) to learn about the different
190190
ways of declaring keys for your models.
191191

192192
Associations
@@ -199,7 +199,7 @@ re-open the classes.
199199
### One To Many
200200

201201
Posts can have comments, so we’ll need to setup a simple
202-
[one-to-many](/docs/associations#has_n_and_belongs_to_or_onetomany) association
202+
[one-to-many](/docs/associations.html#has_n_and_belongs_to_or_onetomany) association
203203
between then:
204204

205205
{% highlight ruby %}
@@ -216,7 +216,7 @@ end
216216

217217
Has and belongs to many Categories can have many Posts and Posts can have many
218218
Categories, so we’ll need a
219-
[many to many](/docs/associations#has_n_through_or_onetomanythrough) relationships
219+
[many to many](/docs/associations.html#has_n_through_or_onetomanythrough) relationships
220220
commonly referred to “has and belongs to many”. We’ll setup a quick model to
221221
wrap our join table between the two so that we can record a little bit of
222222
meta-data about when the post was categorized into a category.
@@ -310,7 +310,7 @@ also can be used on an individual model (e.g. `Post.auto_migrate!`)
310310
Create your first resource
311311
--------------------------
312312

313-
Using DataMapper to [create](/docs/create_and_destroy#creating) a resource (A
313+
Using DataMapper to [create](/docs/create_and_destroy.html#creating) a resource (A
314314
resource is an instance of a model) is simple
315315

316316
{% highlight ruby %}

why.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ develop independently of your models using Migrations.
3232

3333
To support data-stores which you don't have the ability to manage yourself, it's
3434
simply a matter of telling DataMapper where to look. This makes DataMapper
35-
a good choice when [Working with legacy databases](/docs/legacy)
35+
a good choice when [Working with legacy databases](/docs/legacy.html)
3636

3737
{% highlight ruby linenos %}
3838
class Post
@@ -266,14 +266,14 @@ this limitations by using DataMapper's feature that allows you to query
266266
models by their associations, as described briefly in the chapter below.
267267

268268
You can also find more information about this feature on the
269-
[Finders](/docs/find) and the [Associations](/docs/associations) pages.
269+
[Finders](/docs/find.html) and the [Associations](/docs/associations.html) pages.
270270

271271
Querying models by their associations
272272
-------------------------------------
273273

274274
DataMapper allows you to create and search for any complex object graph simply by providing a nested hash of conditions. The following example uses a typical Customer - Order domain model to illustrate how nested conditions can be used to both create and query models by their associations.
275275

276-
For a complete definition of the Customer - Order domain models have a look at the [Finders](/docs/find) page.
276+
For a complete definition of the Customer - Order domain models have a look at the [Finders](/docs/find.html) page.
277277

278278
{% highlight ruby linenos %}
279279
# A hash specifying one customer with one order
@@ -326,7 +326,7 @@ Customer.all(Customer.orders.order_lines.item.sku.like => "%BLUE%")
326326
{% endhighlight %}
327327

328328
You can even chain calls to `all` or `first` to continue refining your query or
329-
search within a scope. See [Finders](/docs/find) for more information.
329+
search within a scope. See [Finders](/docs/find.html) for more information.
330330

331331

332332
Identity Map

0 commit comments

Comments
 (0)