Skip to content

Commit

Permalink
Pld docs adjustment (#3540)
Browse files Browse the repository at this point in the history
* sync typo

* correct heading title

* update header definition for p2p

* upgrade packages
  • Loading branch information
pld authored Oct 4, 2024
1 parent 8cf03cf commit c3166d3
Show file tree
Hide file tree
Showing 4 changed files with 3,625 additions and 3,534 deletions.
2 changes: 1 addition & 1 deletion docs/engineering/app/configuring/config-types/sync.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Syncronization
title: Synchronization
---

# Sync configuration
Expand Down
9 changes: 6 additions & 3 deletions docs/engineering/app/configuring/p2p_sync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OpenSRP supports device-to-device syncing through an additional library. To add

To enable P2P sync we need to make changes to enable viewing P2P UI elements and configure what to sync over P2P.

### Navigation configurations
### Example P2P configuration

```json
{
Expand Down Expand Up @@ -41,7 +41,7 @@ actions | Action to be performed when once clicks on the display above. See act
DEVICE_TO_DEVICE_SYNC application workflow can be triggered via configurable actions as indicated in the sample navigation configuration above.
:::

#### Resources to sync
### Resources to sync

You also need to define which resources to be synced. This configuration should be added as part of [Application configuration](https://docs.opensrp.io/engineering/android-app/configuring/config-types/application)

Expand All @@ -63,5 +63,8 @@ You also need to define which resources to be synced. This configuration should
]
}
```
This can be simplified by a sample workflow show on the image below.

### Example P2P sync workflow

The workflow below shows an example of syncronzing data from device to device.
![P2P_SYNC](/img/p2p.png)
Loading

0 comments on commit c3166d3

Please sign in to comment.