Skip to content

Commit cca174a

Browse files
committed
feat(docs): basics rewrite, mermaid zoom, sidebar restructure, dev tooling
Content - docs/guides/basics.md rewritten from a sparse stub into a proper domain overview: airline-structure flowchart, subfleet-keystone diagram, admin setup-order checklist, per-entity admin notes (Airline / Airport / Subfleet / Aircraft / Fare / Rank / Flight / PIREP / Bid / Award / User), pilot-loop scoped diagram (admin vs pilot scope with cross-scope refs), flight-types IATA SSIM table, glossary of confusing pairs. - Sidebar restructured: top-level sections collapse into phpvms / ACARS / Developers, with files moved into installation/ subdir, intro.md renamed to welcome.md, new whats-new.md. - Lowercase 'phpVMS' -> 'phpvms' across 75 files (preserved in 3 JSON sample-data instances in v7.x API docs). - Internal cross-doc links audited: all absolute /path links converted to relative ./file.md or ../dir/file.md form. Theme - Mermaid click-to-zoom modal: src/clientModules/mermaidZoom.js injects fullscreen viewer with drag-pan + scroll-zoom + pinch-zoom + toolbar (in/out/reset/close). Modal SVG sits on a white card (light) or surface-color (dark) so transparent areas don't show the dark backdrop. - gtag defensive shim: window.gtag no-op fallback in headTags so adblocker / extension users don't see 'window.gtag is not a function' on every route change. Dev tooling - npm run dev: nodemon wrapper auto-restarts docusaurus when sidebars.js / docusaurus.config.js / src/clientModules change. --no-open keeps the browser from re-launching on every restart. - nodemon.json holds the watch config. - Switched ci script from yarn to npm (yarn.lock removed earlier during npm cleanup; package.json deps de-yarn'd). - Added react/react-dom were yarn artifacts and have been removed; npm 7+ resolves them via peer-dep auto-install.
1 parent 652ae00 commit cca174a

78 files changed

Lines changed: 1327 additions & 699 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/acars/client/configuration.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: Configuration
77
## Get the URL and API Key
88

99
You can either enter your URL and API key manually or download the settings
10-
config file from your phpVMS profile. To download the config file, visit your VA
10+
config file from your phpvms profile. To download the config file, visit your VA
1111
and go to your profile:
1212

1313
![](../img/profile-config-download.png)

‎docs/acars/client/flying.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ supported:
3636
1. X-Plane (`.fms`)
3737
1. MSFS (`.pln`)
3838
1. Simbrief (`.xml`, exported from the SimBrief site or the SimBrief Downloader.
39-
There is a "phpVMS" flight plan type that's available)
39+
There is a "phpvms" flight plan type that's available)
4040

4141
The routes/navpoints are then loaded from the flight plan, along with the TOD
4242
(from MSFS/Simbrief), and filed along with your PIREP.

‎docs/acars/customization.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ resized down to fit. Fill in the URLs to your logos. They should be PNG format
1010
(transparency is supported):
1111

1212
- **Splash Screen Banner** _Premium License Required_ - This replaces the large
13-
phpVMS splash screen. 500x375 recommended for best look, anything larger will
13+
phpvms splash screen. 500x375 recommended for best look, anything larger will
1414
be scaled down to the size.
1515
- **Splash Screen Logo** - This adds a small logo to the bottom right of the
1616
splash screen. This can be combined with the splash screen banner. This will

‎docs/acars/overview.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: overview
33
title: Overview
44
---
55

6-
The ACARS application is designed to run with phpVMS 7 to automatically report
6+
The ACARS application is designed to run with phpvms 7 to automatically report
77
your pilot reports from the new Microsoft Flight Simulator, Prepar3d, FSX and
88
X-Plane.
99

‎docs/acars/plugins/getting-started.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ This PDK includes build scripts to:
2424

2525
First, fork the [acars-pdk](https://github.com/phpvms/acars-pdk) repository.
2626
Follow the setup below. Then start editing the scripts in the `/src` directory,
27-
depending on what you want to do. Then, you upload it, and phpVMS will
27+
depending on what you want to do. Then, you upload it, and phpvms will
2828
distribute it to all of your pilots.
2929

3030
- Complete the setup, including the `.env` file
3131
- Disable downloading the latest updates
3232
- Run `npm run dev` to then test in ACARS
3333
- Run `npm run dist` to create the ZIP
3434
- Upload this zip somewhere
35-
- Update the phpVMS ACARS Admin to point to the above URL
35+
- Update the phpvms ACARS Admin to point to the above URL
3636
- ???
3737
- Profit!
3838

‎docs/api/auth.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Authentication
44
---
55

66
Each user is given an API key (and can regenerate it) when they register.
7-
Requests to a phpVMS API will require an `X-API-Key` header, with this key.
7+
Requests to a phpvms API will require an `X-API-Key` header, with this key.
88
Addons can take advantage of this by adding the `api.auth` middleware to their
99
route group.
1010

‎docs/api/overview.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: overview
33
title: Overview
44
---
55

6-
phpVMS includes a REST API that can be used for retrieving or saving
6+
phpvms includes a REST API that can be used for retrieving or saving
77
information.
88

99
---

‎docs/config/backups.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Backups
44
sidebar_title: Backups
55
---
66

7-
phpVMS uses [`spatie/laravel-backup`](https://github.com/spatie/laravel-backup)
7+
phpvms uses [`spatie/laravel-backup`](https://github.com/spatie/laravel-backup)
88
to perform backups. By default, this feature is disabled, but you can activate
99
it if you want to create backups of your files and database.
1010

@@ -29,7 +29,7 @@ BACKUP_NOTIFICATIONS_MAIL_TO=yourEmail@example.com
2929
```
3030

3131
For this feature to work, you need to have email configured (see
32-
[here](/config/email)).
32+
[here](./email.md)).
3333

3434
## Advanced Configuration
3535

@@ -52,7 +52,7 @@ notifications.
5252

5353
If you choose the `discord` channel, you need to configure
5454
`BACKUP_DISCORD_WEBHOOK_URL` with the webhook URL where you want to receive
55-
notifications. See [here](/config/notifications#discord) to create a webhook.
55+
notifications. See [here](./notifications.md#discord) to create a webhook.
5656

5757
### Disks
5858

@@ -65,7 +65,7 @@ BACKUP_DISKS=local,r2
6565
```
6666

6767
To use a remote disk like Amazon S3, CloudFlare R2 or SFTP, you must configure
68-
the details in `.env` properly. By default phpVMS v7 supports Amazon S3,
68+
the details in `.env` properly. By default phpvms v7 supports Amazon S3,
6969
CloudFlare R2 and SFTP. As an example; To use CloudFlare R2, a bucket should be
7070
configured in your account along with an S3 compatible API and below details
7171
should be in your `.env` file
@@ -85,7 +85,7 @@ and other online sources.
8585

8686
### Backup Retention Configuration
8787

88-
By default, phpVMS keeps backups for the last 7 days and retains a maximum of
88+
By default, phpvms keeps backups for the last 7 days and retains a maximum of
8989
5000 MB of backup data. You can adjust these settings to customize the retention
9090
period and maximum size.
9191

‎docs/config/email.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ options:
3434

3535
```bash title=".env"
3636
MAIL_MAILER=smtp
37-
MAIL_FROM_NAME='phpVMS No-Reply'
37+
MAIL_FROM_NAME='phpvms No-Reply'
3838
MAIL_FROM_ADDRESS='no-reply@phpvms.net'
3939
MAIL_HOST=
4040
MAIL_PORT=
@@ -90,7 +90,7 @@ configuration, which looks something like:
9090

9191
```bash title=".env"
9292
MAIL_MAILER=smtp
93-
MAIL_FROM_NAME='phpVMS Admin'
93+
MAIL_FROM_NAME='phpvms Admin'
9494
MAIL_FROM_ADDRESS='no-reply@phpvms.net'
9595
MAIL_HOST=smtp.mailtrap.io
9696
MAIL_PORT=2525

‎docs/config/files.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,17 @@ sidebar_title: Config Files
66

77
# Admin Panel Settings
88

9-
A lot of settings can be located in the phpVMS Admin panel, under settings.
9+
A lot of settings can be located in the phpvms Admin panel, under settings.
1010

1111
---
1212

1313
## Configuration Files
1414

1515
Laravel has a lot of basic configuration in PHP files in the `/config`
1616
directory. In order to not overwrite these on an update, there is a way to
17-
override these in a `.env` file in the root of your phpVMS install that is
17+
override these in a `.env` file in the root of your phpvms install that is
1818
generated by the installer. This contains information such as the database,
19-
mail, and select configs from the `/config` directory. This file is used as an
20-
override (in the previous version of phpVMS, the `local.config.php` file is the
21-
same concept).
19+
mail, and select configs from the `/config` directory.
2220

2321
:::caution
2422

@@ -27,7 +25,7 @@ file. This file will not be overwritten on an update.
2725

2826
:::
2927

30-
See [Laravel configuration files](https://laravel.com/docs/9.x/configuration)
28+
See [Laravel configuration files](https://laravel.com/docs/13.x/configuration)
3129
for additional documentation.
3230

3331
---

0 commit comments

Comments
 (0)