froggy-docs 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/froggy-docs +0 -0
- package/lib/src/web_server.dart +6 -1
- package/package.json +1 -1
package/bin/froggy-docs
CHANGED
|
Binary file
|
package/lib/src/web_server.dart
CHANGED
|
@@ -29,7 +29,12 @@ const _corsHeaders = {
|
|
|
29
29
|
String get _packageDir {
|
|
30
30
|
final exePath = Platform.resolvedExecutable;
|
|
31
31
|
final exeDir = File(exePath).parent.path;
|
|
32
|
-
|
|
32
|
+
final packageDir = p.dirname(exeDir);
|
|
33
|
+
print('DEBUG: exePath = $exePath');
|
|
34
|
+
print('DEBUG: exeDir = $exeDir');
|
|
35
|
+
print('DEBUG: packageDir = $packageDir');
|
|
36
|
+
print('DEBUG: webDir = ${p.join(packageDir, 'frontend', 'web')}');
|
|
37
|
+
return packageDir;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
String get webDir => p.join(_packageDir, 'frontend', 'web');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "froggy-docs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Auto-generate API documentation from code annotations. Works with any programming language.",
|
|
5
5
|
"author": "Kaung Mrat Thu <kaungmyatthuu.dev@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Kaung-Myat/froggydocs",
|