Sync edgetx to Gitea
@@ -0,0 +1,71 @@
|
||||
# EdgeTX Developer Documentation
|
||||
|
||||
This folder contains the source for the EdgeTX developer documentation site, built with [MkDocs](https://www.mkdocs.org/) using the [Material theme](https://squidfunk.github.io/mkdocs-material/).
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Install the required packages from the repo root. Using [`uv`](https://docs.astral.sh/uv/getting-started/installation/) is recommended:
|
||||
|
||||
```bash
|
||||
uv pip install -r docs-requirements.txt
|
||||
```
|
||||
|
||||
Or with plain pip:
|
||||
|
||||
```bash
|
||||
pip install -r docs-requirements.txt
|
||||
```
|
||||
|
||||
[`mike`](https://github.com/jimporter/mike) is included as a dependency — it manages versioned deployments of the site (e.g. publishing a new release). You won't need it for local editing or preview.
|
||||
|
||||
## Local preview
|
||||
|
||||
Serve the docs locally with live reload:
|
||||
|
||||
```bash
|
||||
mkdocs serve
|
||||
```
|
||||
|
||||
Then open [http://127.0.0.1:8000](http://127.0.0.1:8000) in your browser. The site will automatically refresh as you edit files.
|
||||
|
||||
## Building
|
||||
|
||||
To build a static copy of the site into the `site/` directory:
|
||||
|
||||
```bash
|
||||
mkdocs build
|
||||
```
|
||||
|
||||
CI runs `mkdocs build --strict` on pull requests, which treats warnings (e.g. broken internal links) as errors. It's worth running this locally before submitting a PR to catch any issues early:
|
||||
|
||||
```bash
|
||||
mkdocs build --strict
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
The docs are deployed automatically via GitHub Actions (`.github/workflows/docs.yml`):
|
||||
|
||||
- Pushes to `main` are deployed as the `latest` version.
|
||||
- Release tags (e.g. `v2.11.0`) are deployed as a numbered version (e.g. `v2.11`) and aliased as `stable`.
|
||||
|
||||
## Project structure
|
||||
|
||||
```
|
||||
docs/
|
||||
├── assets/ # Images, stylesheets
|
||||
├── building/ # Build guides (Windows, Linux, macOS, CodeSpaces)
|
||||
├── contributing/ # Git workflow and contribution guides
|
||||
├── development/ # Developer reference (CLI, protocols, etc.)
|
||||
├── hardware/ # Radio specs and hardware reference
|
||||
├── mods/ # Hardware modification guides
|
||||
└── troubleshooting/ # Troubleshooting guides
|
||||
```
|
||||
|
||||
Site navigation is defined in [`mkdocs.yml`](../mkdocs.yml) at the repo root.
|
||||
|
||||
## Adding or editing pages
|
||||
|
||||
1. Create or edit a `.md` file in the appropriate subfolder.
|
||||
2. If adding a new page, add it to the `nav:` section in `mkdocs.yml`.
|
||||
3. Preview with `mkdocs serve` and verify with `mkdocs build --strict` before submitting a PR.
|
||||
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 250 KiB |
|
After Width: | Height: | Size: 435 KiB |
|
After Width: | Height: | Size: 557 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 269 KiB |
|
After Width: | Height: | Size: 285 KiB |
|
After Width: | Height: | Size: 291 KiB |
|
After Width: | Height: | Size: 252 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 390 KiB |
|
After Width: | Height: | Size: 559 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 344 KiB |
|
After Width: | Height: | Size: 374 KiB |
|
After Width: | Height: | Size: 364 KiB |
|
After Width: | Height: | Size: 251 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 529 KiB |
|
After Width: | Height: | Size: 433 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 169 KiB |
|
After Width: | Height: | Size: 362 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 243 KiB |