Skip to content

Commit

Permalink
some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanpodila committed Dec 29, 2023
1 parent f832957 commit b72a335
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 35 deletions.
6 changes: 4 additions & 2 deletions docs/docs/api/observers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## import { PubBadge } from '../../src/components/Shield';
---
title: Observers
---

## title: Observers
import { PubBadge } from '../../src/components/Shield';

## Observer Widget

Expand Down
8 changes: 4 additions & 4 deletions docs/docs/examples/connectivity/index.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## import { PubBadge } from '../../../src/components/Shield';

title: Connectivity slug: /examples/connectivity

---
title: Connectivity
slug: /examples/connectivity
---

import { PubBadge } from '../../../src/components/Shield';
import { Profile } from '../../../src/components/Testimonial';
import connectivityGif from './connectivity.gif';

Expand Down
8 changes: 4 additions & 4 deletions docs/docs/examples/dice/index.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## import { PubBadge } from '../../../src/components/Shield';

title: Dice slug: /examples/dice

---
title: Dice
slug: /examples/dice
---

import { PubBadge } from '../../../src/components/Shield';
import { Profile } from '../../../src/components/Testimonial';
import diceJpg from './dice.gif';

Expand Down
14 changes: 8 additions & 6 deletions docs/docs/examples/github/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## import { PubBadge } from '../../../src/components/Shield';

title: GitHub Repos slug: /examples/github-repos description: In this example,
we will fetch the repositories for a github user. This will also show the use of
an ObservableFuture with an Observer.

---
title: GitHub Repos
slug: /examples/github-repos
description:
In this example, we will fetch the repositories for a github user. This will
also show the use of an ObservableFuture with an Observer.
---

import { PubBadge } from '../../../src/components/Shield';

In this example, we will use the <PubBadge name="github" /> package to fetch the
repositories for a user. This will also show the use of an `ObservableFuture`
Expand Down
14 changes: 8 additions & 6 deletions docs/docs/examples/todos/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## import { PubBadge } from '../../../src/components/Shield';

title: Todos slug: /examples/todos description: In this example, we will build
the classic TodoMVC, which has become the default way of showcasing the
capabilities of a state-management library.

---
title: Todos
slug: /examples/todos
description:
In this example, we will build the classic TodoMVC, which has become the
default way of showcasing the capabilities of a state-management library.
---

import { PubBadge } from '../../../src/components/Shield';

In this example, we will build the classic [TodoMVC](http://todomvc.com/), which
has become the default way of showcasing the capabilities of a state-management
Expand Down
11 changes: 6 additions & 5 deletions docs/docs/guides/cheat-sheet.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
## import { PubBadge } from '../../src/components/Shield';

slug: /guides/cheat-sheet title: MobX Cheat Sheet 🚀 description: The MobX.dart
cheat sheet

---
slug: /guides/cheat-sheet
title: MobX Cheat Sheet 🚀
description: The MobX.dart cheat sheet
---

import { PubBadge } from '../../src/components/Shield';

MobX has a pretty small API surface and tries to get out of your way as much as
possible. Although minimal, there are few concepts you should be familiar with.
Expand Down
9 changes: 5 additions & 4 deletions docs/docs/guides/json-serialization.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## import { PubBadge } from '../../src/components/Shield';

slug: /guides/json title: JSON Serialization of Stores

---
slug: /guides/json
title: JSON Serialization of Stores
---

import { PubBadge } from '../../src/components/Shield';

The <PubBadge name="json_serializable" /> package is a popular way to
encode/decode between json representations of your models. It works by attaching
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/guides/organizing-stores.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## import { PubBadge } from '../../src/components/Shield';

slug: /guides/stores title: Organizing Stores

---
slug: /guides/stores
title: Organizing Stores
---

import { PubBadge } from '../../src/components/Shield';
import storeHierarchy from './store-hierarchy.png';
import dependencyOrder from './dependency-order.png';

Expand Down

0 comments on commit b72a335

Please sign in to comment.