Skip to content

Commit c5b7fd2

Browse files
committed
fix broken anchors
1 parent bf2fe16 commit c5b7fd2

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

railseventstore.org/docs/advanced-topics/custom-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Those repositories were written by community members and are not guaranteed to b
3232

3333
## Writing your own repository
3434

35-
If you want to write your own repository, we provide [a suite of tests that you can re-use](https://github.com/RailsEventStore/rails_event_store/blob/master/ruby_event_store/lib/ruby_event_store/spec/event_repository_lint.rb). Just [require](https://github.com/RailsEventStore/rails_event_store/blob/a6ffb8a535373023296222bbbb5dd6ee131a6792/rails_event_store_active_record/spec/event_repository_spec.rb#L3) and [include it](https://github.com/RailsEventStore/rails_event_store/blob/a6ffb8a535373023296222bbbb5dd6ee131a6792/rails_event_store_active_record/spec/event_repository_spec.rb#L26) in your repository spec. Make sure to meditate on which [expected_version option](..core-concepts/expected-version/) you are going to support and how.
35+
If you want to write your own repository, we provide [a suite of tests that you can re-use](https://github.com/RailsEventStore/rails_event_store/blob/master/ruby_event_store/lib/ruby_event_store/spec/event_repository_lint.rb). Just [require](https://github.com/RailsEventStore/rails_event_store/blob/a6ffb8a535373023296222bbbb5dd6ee131a6792/rails_event_store_active_record/spec/event_repository_spec.rb#L3) and [include it](https://github.com/RailsEventStore/rails_event_store/blob/a6ffb8a535373023296222bbbb5dd6ee131a6792/rails_event_store_active_record/spec/event_repository_spec.rb#L26) in your repository spec. Make sure to meditate on which [expected_version option](./../core-concepts/expected-version/) you are going to support and how.
3636

3737
## Using RubyEventStore::InMemoryRepository for faster tests
3838

railseventstore.org/docs/advanced-topics/instrumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ The aggregate root repository instrumentation is not enabled automaticly here. T
205205
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
206206
| :aggregate | An instance of an aggregate whose events are being stored |
207207
| :stream | A stream name to which events are stored |
208-
| :version | An [expected version](../core-concepts/expected-version#explicit-number-integer-from-1) of the stream to which events are stored |
208+
| :version | An [expected version](./../core-concepts/expected-version#integer) of the stream to which events are stored |
209209
| :stored_events | An array of events that are stored as a result of actions performed on this aggregate |
210210

211211
```ruby

railseventstore.org/docs/core-concepts/browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Rails.application.routes.draw { mount RailsEventStore::Browser => "/res" if Rail
1818

1919
It is assumed that you have Rails Event Store configured at `Rails.configuration.event_store`, in [recommended](../getting-started/install/) location.
2020

21-
The `RailsEventStore::Browser` is just a wrapper around `RubyEventStore::Browser::App` with default options suitable for most applications. Read below the [Rack](#sinatra-rack), in case you need this browser outside as a standalone application or you have a different event store location.
21+
The `RailsEventStore::Browser` is just a wrapper around `RubyEventStore::Browser::App` with default options suitable for most applications. Read below the [Rack](#rack), in case you need this browser outside as a standalone application or you have a different event store location.
2222

2323
### Rack
2424

railseventstore.org/versioned_docs/version-1.3.1/advanced/browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Rails.application.routes.draw { mount RailsEventStore::Browser => "/res" if Rail
1818

1919
It is assumed that you have Rails Event Store configured at `Rails.configuration.event_store`, in [recommended](../getting-started/install) location.
2020

21-
The `RailsEventStore::Browser` is just a wrapper around `RubyEventStore::Browser::App` with default options suitable for most applications. Read below the [Rack](#sinatra-rack), in case you need this browser outside as a standalone application or you have a different event store location.
21+
The `RailsEventStore::Browser` is just a wrapper around `RubyEventStore::Browser::App` with default options suitable for most applications. Read below the [Rack](#sinatra--rack), in case you need this browser outside as a standalone application or you have a different event store location.
2222

2323
### Sinatra / Rack
2424

railseventstore.org/versioned_docs/version-1.3.1/getting-started/subscribe.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ unsubscribe = event_store.subscribe(InvoiceReadModel.new, to: [InvoiceCreated, I
3737

3838
and then execute returned lambda both subscriptions will be removed.
3939

40-
It you need temporary subscription to be defined [read more here](/docs/v1/subscribe/#temporary-subscriptions).
40+
It you need temporary subscription to be defined [read more here](#temporary-subscriptions).
4141

4242
## Synchronous handlers
4343

@@ -122,7 +122,7 @@ class SyncHandler
122122
end
123123
```
124124

125-
<h3 id="fresh-handler-state">Fresh handler state</h3>
125+
### Fresh handler state
126126

127127
If you subscribe an instance of a class (`SyncHandler.new`), the same object is going to be called with new events.
128128

@@ -282,7 +282,7 @@ event_store
282282

283283
You start the temporary subscription by providing a block `within` which the subscriptions will be active. Then you can chain `subscribe` and `subscribe_to_all_events` as many times as you want to register temporary subscribers. When you are ready call `call` to evaluate the provided block with the temporary subscriptions.
284284

285-
<h2 id="async-handlers">Async handlers</h2>
285+
## Async handlers
286286

287287
It's possible to also subscribe asynchronous handlers to events. To implement asynchronous dispatcher for a background jobs library of your choice firstly you need to implement scheduler class that will enqueue asynchrounous handlers as background jobs.
288288

railseventstore.org/versioned_docs/version-1.3.1/tutorials/pubsub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ module YourAppName
103103
end
104104
```
105105

106-
Make sure to read about [fresh handler state](/docs/v1/subscribe/#fresh-handler-state) to avoid potential issues from using the same listener for many published events.
106+
Make sure to read about [fresh handler state](./../getting-started/subscribe/#fresh-handler-state) to avoid potential issues from using the same listener for many published events.
107107

108108
## Handling Events Asynchronously
109109

110-
Asynchronous handlers are described in [Async handlers section](/docs/v1/subscribe/#async-handlers)
110+
Asynchronous handlers are described in [Async handlers section](./../getting-started/subscribe/#async-handlers)

0 commit comments

Comments
 (0)