diff --git a/docs/docs/api/observable.mdx b/docs/docs/api/observable.mdx index f4ad6d5e7..6bc0d21a7 100644 --- a/docs/docs/api/observable.mdx +++ b/docs/docs/api/observable.mdx @@ -499,7 +499,7 @@ The **`mobx_codegen`** package uses an `Atom` internally for all the Here is a simple clock that relies on an `Atom` to notify every second. > Full code can be seen -> [here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/clock). +> [here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/clock). - When the clock gets observed the first time, we start the timer (`_startTimer`). diff --git a/docs/docs/api/spy.mdx b/docs/docs/api/spy.mdx index 3cd73461a..5b55abdf0 100644 --- a/docs/docs/api/spy.mdx +++ b/docs/docs/api/spy.mdx @@ -74,7 +74,7 @@ specifically captured in its sub-classes: Let us setup the spy to do some logging of the MobX activities. > This is part of the -> [mobx_examples code](https://github.com/mobxjs/mobx.dart/blob/master/mobx_examples/lib/main.dart#L26). +> [mobx_examples code](https://github.com/mobxjs/mobx.dart/blob/main/mobx_examples/lib/main.dart#L26). ```dart {7} import 'package:mobx/mobx.dart'; diff --git a/docs/docs/examples/connectivity/index.mdx b/docs/docs/examples/connectivity/index.mdx index d549c09e6..1a0684028 100644 --- a/docs/docs/examples/connectivity/index.mdx +++ b/docs/docs/examples/connectivity/index.mdx @@ -146,6 +146,6 @@ the Flutter widget tree. :::info The complete example can be seen -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/connectivity) +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/connectivity) ::: diff --git a/docs/docs/examples/counter.mdx b/docs/docs/examples/counter.mdx index 338a9d439..2a4f6f6dd 100644 --- a/docs/docs/examples/counter.mdx +++ b/docs/docs/examples/counter.mdx @@ -8,7 +8,7 @@ guide. It does add a few details that were missing over there. :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/counter). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/counter). ::: @@ -113,6 +113,6 @@ import counterGif from '../getting-started/mobx-counter.gif'; :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/counter). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/counter). ::: diff --git a/docs/docs/examples/dice/index.mdx b/docs/docs/examples/dice/index.mdx index 4f771ae96..27e777a1f 100644 --- a/docs/docs/examples/dice/index.mdx +++ b/docs/docs/examples/dice/index.mdx @@ -21,7 +21,7 @@ tap of a button and a random count is generated with every roll of dice. :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/dice). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/dice). ::: @@ -208,6 +208,6 @@ The working example will be as seen in the figure below: :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/dice). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/dice). ::: diff --git a/docs/docs/examples/form/index.mdx b/docs/docs/examples/form/index.mdx index f45c9ef1c..8687faaaa 100644 --- a/docs/docs/examples/form/index.mdx +++ b/docs/docs/examples/form/index.mdx @@ -14,7 +14,7 @@ validations when a field changes. :::info See the full code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/form). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/form). ::: @@ -229,7 +229,7 @@ special API or abstractions. The `Widget` hierarchy needed here is fairly simple with a list of `Observer` widgets for each field, wrapped in a `Column`. It is really not the most interesting part of the example and hence been left out. Do take a look at the -[source code](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/form) +[source code](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/form) to see its simplicity. @@ -245,6 +245,6 @@ plateaus very quickly and lets you focus back on building your awesome apps. :::info See the full code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/form). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/form). ::: diff --git a/docs/docs/examples/github/index.mdx b/docs/docs/examples/github/index.mdx index 524f84733..19735cb79 100644 --- a/docs/docs/examples/github/index.mdx +++ b/docs/docs/examples/github/index.mdx @@ -13,7 +13,7 @@ repositories for a user. This will also show the use of an `ObservableFuture` with an `Observer`. :::info The full source code can be seen -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/github) +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/github) ::: ## Define the observable state @@ -259,5 +259,5 @@ import githubRepos from './github-repos.gif'; :::info The full source code can be seen -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/github) +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/github) ::: diff --git a/docs/docs/examples/hacker-news/index.mdx b/docs/docs/examples/hacker-news/index.mdx index 92b04a07e..fe48cb725 100644 --- a/docs/docs/examples/hacker-news/index.mdx +++ b/docs/docs/examples/hacker-news/index.mdx @@ -12,7 +12,7 @@ defined in terms of the `ObservableFuture`. :::info The complete example can be seen -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/hackernews) +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/hackernews) ::: @@ -250,6 +250,6 @@ store it in a `List`, or even an `ObservableList`. :::info The complete example can be seen -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/hackernews) +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/hackernews) ::: diff --git a/docs/docs/examples/random-stream/index.mdx b/docs/docs/examples/random-stream/index.mdx index b85cc20be..fc3324ccc 100644 --- a/docs/docs/examples/random-stream/index.mdx +++ b/docs/docs/examples/random-stream/index.mdx @@ -15,7 +15,7 @@ observing a stream of random numbers. :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/random_stream). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/random_stream). ::: @@ -124,6 +124,6 @@ class _RandomNumberExampleState extends State { :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/random_stream). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/random_stream). ::: diff --git a/docs/docs/examples/todos/index.mdx b/docs/docs/examples/todos/index.mdx index 93ab33b11..7676cb48c 100644 --- a/docs/docs/examples/todos/index.mdx +++ b/docs/docs/examples/todos/index.mdx @@ -15,7 +15,7 @@ library. :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/todos). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/todos). ::: @@ -518,14 +518,14 @@ around the state, we rely on the `Provider` from the :::info See the complete code -[here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/todos). +[here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/todos). ::: > ### Comprehensive TodoMVC > > A more comprehensive example is available in -> [Brian Egan's Flutter Architecture Samples](https://github.com/brianegan/flutter_architecture_samples/tree/master/mobx), +> [Brian Egan's Flutter Architecture Samples](https://github.com/brianegan/flutter_architecture_samples/tree/main/mobx), > that covers few other use cases like localization, persistence, unit-testing, > navigation, etc. Do take a look -> [here](https://github.com/brianegan/flutter_architecture_samples/tree/master/mobx). +> [here](https://github.com/brianegan/flutter_architecture_samples/tree/main/mobx). diff --git a/docs/docs/guides/json-serialization.mdx b/docs/docs/guides/json-serialization.mdx index 42d68ab67..4d6a0f855 100644 --- a/docs/docs/guides/json-serialization.mdx +++ b/docs/docs/guides/json-serialization.mdx @@ -14,7 +14,7 @@ for `mobx_codegen`. Let's add support for `json_serializable` to the **todos** example. > See the complete code -> [here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/todos). +> [here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/todos). ## Adding dependency in pubspec.yaml @@ -226,4 +226,4 @@ With these changes, you should now be able to serialize the **Todos** to/from generators. > See the complete code -> [here](https://github.com/mobxjs/mobx.dart/tree/master/mobx_examples/lib/todos). +> [here](https://github.com/mobxjs/mobx.dart/tree/main/mobx_examples/lib/todos).