Skip to content

Commit 6ff9245

Browse files
committed
Revert some documentation changes
1 parent 7bda829 commit 6ff9245

5 files changed

Lines changed: 38 additions & 52 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
8-
## v1.2.1 - 2020-12-03
3+
## 1.2.1
94

105
- Allow exceptions to be rescued by Commanded's event handler ([#37](https://github.com/commanded/commanded-ecto-projections/pull/37)).
116

12-
## v1.2.0 - 2020-08-18
7+
## 1.2.0
138

149
- Support runtime projector names ([#32](https://github.com/commanded/commanded-ecto-projections/pull/32)).
1510
- Support `schema_prefix/2` function ([#33](https://github.com/commanded/commanded-ecto-projections/pull/33)).
1611

1712
---
1813

19-
## v1.1.0 - 2020-05-25
14+
## 1.1.0
2015

2116
### Enhancements
2217

@@ -25,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2520

2621
---
2722

28-
## v1.0.0 - 2019-11-21
23+
## 1.0.0
2924

3025
### Enhancements
3126

@@ -35,7 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3530

3631
---
3732

38-
## v0.8.0 - 2019-01-23
33+
## 0.8.0
3934

4035
### Enhancements
4136

@@ -62,21 +57,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6257

6358
---
6459

65-
## v0.7.1 - 2018-07-24
60+
## 0.7.1
6661

6762
### Bug fixes
6863

6964
- Ensure errors encountered while building the `Ecto.Multi` data structure within a `project` function are caught and passed to the `error/3` callback.
7065

71-
## v0.7.0 - 2018-07-22
66+
## 0.7.0
7267

7368
### Enhancements
7469

7570
- Support Commanded's event handler `error/3` callback ([#12](https://github.com/commanded/commanded-ecto-projections/pull/12)).
7671

7772
---
7873

79-
## v0.6.0 - 2017-09-29
74+
## 0.6.0
8075

8176
### Enhancements
8277

@@ -85,15 +80,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8580

8681
---
8782

88-
## v0.5.0 - 2017-09-15
83+
## 0.5.0
8984

9085
### Enhancements
9186

9287
- Allow an Ecto schema prefix to be defined in config or per handler ([#4](https://github.com/commanded/commanded-ecto-projections/pull/4)).
9388

9489
---
9590

96-
## v0.4.0 - 2017-08-03
91+
## 0.4.0
9792

9893
### Enhancements
9994

README.md

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
# Commanded Ecto Projections
22

3-
[![Build Status](https://travis-ci.com/commanded/commanded-ecto-projections.svg?branch=master)](https://travis-ci.com/commanded/commanded-ecto-projections)
4-
[![Module Version](https://img.shields.io/hexpm/v/commanded_ecto_projections.svg)](https://hex.pm/packages/commanded_ecto_projections)
5-
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/commanded_ecto_projections/)
6-
[![Total Download](https://img.shields.io/hexpm/dt/commanded_ecto_projections.svg)](https://hex.pm/packages/commanded_ecto_projections)
7-
[![License](https://img.shields.io/hexpm/l/commanded_ecto_projections.svg)](https://github.com/commanded/commanded-ecto-projections/blob/master/LICENSE)
8-
[![Last Updated](https://img.shields.io/github/last-commit/commanded/commanded-ecto-projections.svg)](https://github.com/commanded/commanded-ecto-projections/commits/master)
9-
10-
> This README and the following guides follow the `master` branch which may not be the currently published version.
11-
12-
Model projections for [Commanded](https://github.com/commanded/commanded) CQRS/ES applications using [Ecto](https://github.com/elixir-ecto/ecto) for persistence.
3+
Read model projections for [Commanded](https://github.com/commanded/commanded) CQRS/ES applications using [Ecto](https://github.com/elixir-ecto/ecto) for persistence.
134

145
Read the [Changelog](CHANGELOG.md) for recent changes and the [Hex Docs](https://hexdocs.pm/commanded_ecto_projections/) on API usage.
156

7+
> This README and the following guides follow the `master` branch which may not be the currently published version.
8+
169
### Overview
1710

18-
- [Getting started](guides/getting_started.md)
19-
- [Usage](guides/usage.md)
20-
- [Creating a read model](guides/usage.md#creating-a-read-model)
21-
- [Creating a projector](guides/usage.md#creating-a-projector)
22-
- [Supervision](guides/usage.md#supervision)
23-
- [Error handling](guides/usage.md#error-handling)
24-
- [`error/3` callback](guides/usage.md#error3-callback)
25-
- [Error handling example](guides/usage.md#error-handling-example)
26-
- [`after_update/3` callback](guides/usage.md#after_update3-callback)
27-
- [Schema prefix](guides/usage.md#schema-prefix)
28-
- [Rebuilding a projection](guides/usage.md#rebuilding-a-projection)
11+
- [Getting started](guides/Getting%20Started.md)
12+
- [Usage](guides/Usage.md)
13+
- [Creating a read model](guides/Usage.md#creating-a-read-model)
14+
- [Creating a projector](guides/Usage.md#creating-a-projector)
15+
- [Supervision](guides/Usage.md#supervision)
16+
- [Error handling](guides/Usage.md#error-handling)
17+
- [`error/3` callback](guides/Usage.md#error3-callback)
18+
- [Error handling example](guides/Usage.md#error-handling-example)
19+
- [`after_update/3` callback](guides/Usage.md#after_update3-callback)
20+
- [Schema prefix](guides/Usage.md#schema-prefix)
21+
- [Rebuilding a projection](guides/Usage.md#rebuilding-a-projection)
2922

3023
### Example projector
3124

@@ -77,5 +70,4 @@ For commercial support, and consultancy, please contact [Ben Smith](mailto:ben@1
7770

7871
Copyright (c) 2017 Ben Smith
7972

80-
This library is released under the MIT License. See the [LICENSE.md](./LICENSE.md) file
81-
for further details.
73+
This library is released under the MIT License. See the [LICENSE.md](./LICENSE.md) file for further details.
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
You should already have [Ecto](https://github.com/elixir-ecto/ecto) installed and configured before proceeding. Please follow Ecto's [Getting Started](https://hexdocs.pm/ecto/getting-started.html) guide to get going first.
44

5-
1. Add `:commanded_ecto_projections` to your list of dependencies in `mix.exs`:
5+
1. Add `:commanded_ecto_projections` to your list of dependencies in `mix.exs`:
66

77
```elixir
88
def deps do
@@ -12,14 +12,13 @@ You should already have [Ecto](https://github.com/elixir-ecto/ecto) installed an
1212
end
1313
```
1414

15-
2. Generate an Ecto migration in your app:
15+
2. Generate an Ecto migration in your app:
1616

1717
```console
1818
$ mix ecto.gen.migration create_projection_versions
1919
```
2020

21-
3. Modify the generated migration, in `priv/repo/migrations`, to create the
22-
`projection_versions` table:
21+
3. Modify the generated migration, in `priv/repo/migrations`, to create the `projection_versions` table:
2322

2423
```elixir
2524
defmodule CreateProjectionVersions do
@@ -36,13 +35,13 @@ You should already have [Ecto](https://github.com/elixir-ecto/ecto) installed an
3635
end
3736
```
3837

39-
5. Run the Ecto migration:
38+
5. Run the Ecto migration:
4039

4140
```console
4241
$ mix ecto.migrate
4342
```
4443

45-
6. Define your first read model projector:
44+
6. Define your first read model projector:
4645

4746
```elixir
4847
defmodule MyApp.ExampleProjector do
@@ -53,5 +52,4 @@ You should already have [Ecto](https://github.com/elixir-ecto/ecto) installed an
5352
end
5453
```
5554

56-
Refer to the [Usage guide](./guides/usage.md) for more detail on how to
57-
configure and use a read model projector.
55+
Refer to the Usage guide for more detail on how to configure and use a read model projector.
File renamed without changes.

mix.exs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@ defmodule Commanded.Projections.Ecto.Mixfile do
6666
extra_section: "GUIDES",
6767
extras: [
6868
"CHANGELOG.md",
69-
{:"LICENSE.md", [title: "License"]},
70-
{:"README.md", [title: "Overview"]},
71-
"guides/getting_started.md",
72-
"guides/usage.md"
69+
"guides/Getting Started.md",
70+
"guides/Usage.md"
7371
],
7472
groups_for_extras: [
75-
Introduction: Path.wildcard("guides/*.md")
73+
Introduction: [
74+
"guides/Getting Started.md",
75+
"guides/Usage.md"
76+
]
7677
],
77-
main: "readme",
78+
main: "Commanded.Projections.Ecto",
7879
canonical: "http://hexdocs.pm/commanded_ecto_projections",
7980
source_url: @source_url,
8081
source_ref: "v#{@version}",

0 commit comments

Comments
 (0)