Skip to content

Commit 0401859

Browse files
Update docs
1 parent 77f6c80 commit 0401859

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

docs/architecture/index.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/architecture/intents.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ After finish() in DetailActivity:
265265

266266
The `ActivityNavigator` is the core routing engine that processes intents and launches activities. It handles both explicit and implicit intent resolution.
267267

268-
**Location:** [`MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py`](MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py)
268+
**Location:** [`MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/activity_navigator.py)
269269

270270
### `startActivity(intent)`
271271

@@ -344,7 +344,7 @@ class HomeActivity(Activity):
344344

345345
The `AppManager` maintains a registry of activities and their associated actions, enabling implicit intent resolution.
346346

347-
**Location:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py`](MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py)
347+
**Location:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/content/app_manager.py)
348348

349349
### `register_activity(action, activity_cls)`
350350

@@ -610,7 +610,7 @@ class AppDetailActivity(Activity):
610610

611611
### Example 1: Settings App Navigation
612612

613-
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py`](MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py):
613+
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py):
614614

615615
```python
616616
from mpos import Intent, Activity
@@ -635,7 +635,7 @@ class SettingsActivity(Activity):
635635

636636
### Example 2: WiFi App with Result Handling
637637

638-
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py`](MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py):
638+
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py):
639639

640640
```python
641641
from mpos import Intent, Activity
@@ -674,7 +674,7 @@ class EditNetwork(Activity):
674674

675675
### Example 3: Camera QR Scanning
676676

677-
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py`](MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py):
677+
From [`MicroPythonOS/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/builtin/apps/com.micropythonos.wifi/assets/wifi.py):
678678

679679
```python
680680
from mpos import Intent, Activity
@@ -884,14 +884,13 @@ MicroPythonOS Intents are inspired by Android's Intent system but simplified for
884884

885885
The Intent system is implemented across these core files:
886886

887-
- **Intent Class:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/intent.py`](MicroPythonOS/internal_filesystem/lib/mpos/content/intent.py)
888-
- **ActivityNavigator:** [`MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py`](MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py)
889-
- **AppManager:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py`](MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py)
890-
- **Activity Integration:** [`MicroPythonOS/internal_filesystem/lib/mpos/app/activity.py`](MicroPythonOS/internal_filesystem/lib/mpos/app/activity.py)
887+
- **Intent Class:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/intent.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/content/intent.py)
888+
- **ActivityNavigator:** [`MicroPythonOS/internal_filesystem/lib/mpos/activity_navigator.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/activity_navigator.py)
889+
- **AppManager:** [`MicroPythonOS/internal_filesystem/lib/mpos/content/app_manager.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/content/app_manager.py)
890+
- **Activity Integration:** [`MicroPythonOS/internal_filesystem/lib/mpos/app/activity.py`](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/internal_filesystem/lib/mpos/app/activity.py)
891891

892892
## Related Documentation
893893

894894
- [App Lifecycle](../apps/app-lifecycle.md) - Activity lifecycle and Intent basics
895895
- [AppManager](../frameworks/app-manager.md) - Intent resolution and activity registration
896-
- [Activity](../frameworks/activity.md) - Activity class and lifecycle methods
897896
- [SettingActivity](../frameworks/setting-activity.md) - Intent extras for settings configuration

docs/os-development/installing-on-esp32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ But if you need to install a version that's not available there, or you built yo
55
1. **Get the firmware**
66

77
- Download a release binary (e.g., `MicroPythonOS_esp32_0.5.0.bin`)
8-
- Or build your own [on MacOS](macos.md) or [Linux](linux.md)
8+
- Or build your own [on MacOS](../os-development/macos.md) or [Linux](../os-development/macos.md)
99

1010
2. **Put the ESP32 in Bootloader Mode**
1111

docs/other/merge-checklist.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ Before merging a pull request, we should consider the following:
22

33
Making sure to update related things:
44

5-
- has CHANGELOG.md been updated?
6-
- has MAINTAINERS.md been updated?
7-
- has the app's version number been incremented?
8-
- has the [https://GitHub.com/MicroPythonOS/docs](documentation) been updated?
5+
- has [CHANGELOG.md](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/CHANGELOG.md) been updated?
6+
- has [MAINTAINERS.md](https://github.com/MicroPythonOS/MicroPythonOS/blob/main/MAINTAINERS.md) been updated?
7+
- has the app's version number (META-INF/MANIFEST.JSON) been incremented?
8+
- has the [documentation](https://GitHub.com/MicroPythonOS/docs) been updated?
99

1010
Making sure the logic is sound:
1111

0 commit comments

Comments
 (0)