Skip to content

Commit d1e8f99

Browse files
committed
chore: update docs config
1 parent da0b691 commit d1e8f99

File tree

6 files changed

+34
-16
lines changed

6 files changed

+34
-16
lines changed

.vscode/tasks.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,27 @@
4747
"problemMatcher": [],
4848
"group": "none",
4949
"label": "Dart: doc",
50-
"detail": "View the documentation.",
50+
"detail": "Generate the documentation.",
5151
"icon": {
5252
"color": "terminal.ansiGreen",
5353
"id": "book"
5454
}
5555
},
56+
{
57+
"type": "dart",
58+
"command": "dart",
59+
"cwd": ".",
60+
"args": ["run", "dhttpd", "--path", "doc/api"],
61+
"problemMatcher": [],
62+
"group": "none",
63+
"label": "Dart: docs via dhttpd",
64+
"detail": "View the generateed documentation.",
65+
"isBackground": true,
66+
"icon": {
67+
"color": "terminal.ansiGreen",
68+
"id": "server"
69+
}
70+
},
5671
{
5772
"type": "flutter",
5873
"command": "flutter",

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</h1>
77
<div align="center">
88
<h2 align="center">
9-
Pirate Code 3.0 - An App for the <a href="https://psdr3.org/"><strong>Pattonville School District</strong></a>
9+
Pirate Wallet - An App for the <a href="https://psdr3.org/"><strong>Pattonville School District</strong></a>
1010
</h2>
1111
<div align="center">
1212
<a target="_self" href="https://github.com/PSDTools/app">
@@ -25,25 +25,21 @@
2525
[![spelling][ci_spell_badge]][ci_spell_link]
2626
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
2727

28-
A (Very Good) ~~new~~ Flutter project initially generated by the by the [Very Good CLI][very_good_cli_link] 🤖
29-
3028
## More Information
3129

32-
We don't believe that READMEs should be a 15 Terabyte[^1] file, so we broke it up.
30+
We don't believe that a README should be an extremely large file mostly just full of contribution information, so we broke it up.
3331

34-
- For more information about this project, and how to get started, look at our [wiki](https://github.com/PSDTools/app/wiki).
32+
- For more information about this project, and how to get started, look at the [`doc/`][doc] folder.
3533
- For more information about us, check out our [organization readme](https://github.com/PSDTools#welcome-to-the-team-). Finally,
3634
- For more information about our progress, you could take a peek at our meta-project board.
3735

38-
[^1]: Not that ours was before... but it was getting on the larger side.
39-
4036
[ci_dart_badge]: https://github.com/PSDTools/app/actions/workflows/dart.yaml/badge.svg?branch=main
4137
[ci_dart_link]: https://github.com/PSDTools/app/actions/workflows/dart.yaml
4238
[ci_spell_badge]: https://github.com/PSDTools/app/actions/workflows/markdown.yaml/badge.svg?branch=main
4339
[ci_spell_link]: https://github.com/PSDTools/app/actions/workflows/markdown.yaml
4440
[coverage_badge]: https://img.shields.io/badge/coverage-30%25-CB2431.svg
4541
[deploys_badge]: https://api.netlify.com/api/v1/badges/25b0c44e-21b7-423c-a914-32aa4b23b708/deploy-status
4642
[deploys_link]: https://app.netlify.com/sites/pattonville-wallet/deploys
43+
[doc]: ./doc/
4744
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
4845
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis
49-
[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli

dartdoc_options.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,26 @@ dartdoc:
99
"Testing":
1010
markdown: doc/tests.md
1111
name: Testing, Testing, 1, 2, 3
12-
Translations:
12+
"Translations":
1313
markdown: doc/translations.md
1414
name: Translations
15-
Server:
15+
"Server":
1616
markdown: doc/docker.md
1717
name: Appwrite
18+
"Providers":
19+
markdown: doc/providers-diagram.md
20+
name: Providers Diagram
1821
categoryOrder:
1922
- "Getting Started"
2023
- "Testing"
2124
- "Translations"
22-
- "C4Diagram"
2325
- "Server"
26+
- "C4Diagram"
27+
- "Providers"
2428
showUndocumentedCategories: true
25-
includeExternal: ["test/helpers/*.dart"]
29+
includeExternal:
30+
- test/helpers/pump_app.dart
31+
- test/helpers/riverpod.dart
2632
linkToSource:
2733
uriTemplate: "https://github.com/psdtools/app/blob/main/%f%#L%l%"
2834
root: "."

doc/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ You **must** use the default settings in order to allow binding to `localhost:80
1010
## Install Appwrite Server
1111

1212
To install Appwrite using Docker, run the following command,
13-
substituting `1.4.1` with the newest Appwrite Server version supported by the Appwrite SDK currently in use:
13+
substituting `1.4.9` with the newest Appwrite Server version supported by the Appwrite SDK currently in use:
1414

1515
```sh
16-
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="install" appwrite/appwrite:1.4.1
16+
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="install" appwrite/appwrite:1.4.9
1717
```
1818

1919
## Create a new Appwrite Project

lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
///
33
/// {@category Getting Started}
44
/// {@category C4Diagram}
5+
/// {@category Providers}
56
library;
67

78
import "app/app.dart";

lib/utils/api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// This library contains utilities for the Appwrite API.
22
///
3-
/// {@Category Server}
3+
/// {@category Server}
44
library;
55

66
import "package:appwrite/appwrite.dart";

0 commit comments

Comments
 (0)