-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified README.md and added documentation
- Loading branch information
Kevin De Keyser
committed
Oct 27, 2022
1 parent
3018d72
commit e1ea09e
Showing
33 changed files
with
11,249 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
# Flutter app docset generation | ||
# Flutter docset generator script | ||
|
||
This is a slightly modified standard Flutter repo with a build.sh tool that generates a Dash compatible .docset documentation for the flutter app. | ||
This is a slightly modified standard Flutter repo with a [build.sh](./build.sh) tool that generates [docset](https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/Documentation_Sets/010-Overview_of_Documentation_Sets/docset_overview.html#//apple_ref/doc/uid/TP40005266-CH13-SW6) documentation for the Flutter app. | ||
|
||
Check out [build.sh] for more details. | ||
Docset is used by [Dash](https://kapeli.com/dash) and [Zeal](https://zealdocs.org) among others. | ||
|
||
# Install requirements | ||
# Install requirements / dependencies | ||
This script uses [dashing](https://github.com/technosophos/dashing), [jq](https://stedolan.github.io/jq) and [yq](https://github.com/mikefarah/yq). | ||
Optionally, python3 is needed with the [Pillow](https://pypi.org/project/Pillow/) package for resizing the image based on the iOS AppIcon of the current app. | ||
|
||
You can install them using: | ||
``` | ||
brew install dashing jq yq | ||
# Optional for image resizing: | ||
brew install python3 | ||
pip3 install Pillow | ||
``` | ||
|
||
# Install instructions for optional flutter-stylizer: | ||
|
||
```brew install go``` | ||
Add the following 3 lines to your .zshrc (or .bashrc if you're using bash) | ||
``` | ||
export GOPATH=${HOME}/go | ||
PATH=${PATH}:${HOME}/go/bin | ||
mkdir -p ${HOME}/go/bin | ||
``` | ||
Finally, install using: | ||
`go get -u github.com/gmlewis/go-flutter-stylizer/cmd/flutter-stylizer` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>flutterdashdocumentation</string> | ||
<key>CFBundleName</key> | ||
<string>flutterdashdocumentation</string> | ||
<key>DocSetPlatformFamily</key> | ||
<string>dartlang</string> | ||
<key>isDashDocset</key> | ||
<true/> | ||
<key>DashDocSetFamily</key> | ||
<string>dashtoc</string> | ||
<key>dashIndexFilePath</key> | ||
<string>index.html</string> | ||
<key>isJavaScriptEnabled</key><false/> | ||
</dict> | ||
</plist> |
102 changes: 102 additions & 0 deletions
102
doc/flutterdashdocumentation.docset/Contents/Resources/Documents/__404error.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<!DOCTYPE html><html lang="en"><head> | ||
<meta charset="utf-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | ||
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/> | ||
<meta name="generator" content="made with love by dartdoc 6.0.0"/> | ||
<meta name="description" content="flutterdashdocumentation API docs, for the Dart programming language."/> | ||
<title>flutterdashdocumentation - Dart API docs</title> | ||
|
||
|
||
|
||
<link rel="preconnect" href="https://fonts.gstatic.com"/> | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet"/> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/> | ||
|
||
<link rel="stylesheet" href="static-assets/github.css?v1"/> | ||
<link rel="stylesheet" href="static-assets/styles.css?v1"/> | ||
<link rel="icon" href="static-assets/favicon.png?v1"/> | ||
|
||
|
||
</head> | ||
|
||
|
||
<body data-base-href="" data-using-base-href="false"> | ||
|
||
<div id="overlay-under-drawer"></div> | ||
|
||
<header id="title"> | ||
<button id="sidenav-left-toggle" type="button"> </button> | ||
<ol class="breadcrumbs gt-separated dark hidden-xs"> | ||
<li class="self-crumb">flutterdashdocumentation package</li> | ||
</ol> | ||
<div class="self-name">flutterdashdocumentation</div> | ||
<form class="search navbar-right" role="search"> | ||
<input type="text" id="search-box" autocomplete="off" disabled="" class="form-control typeahead" placeholder="Loading search..."/> | ||
</form> | ||
</header> | ||
|
||
<main> | ||
|
||
|
||
<div id="dartdoc-main-content" class="main-content"> | ||
<h1>404: Something's gone wrong :-(</h1> | ||
|
||
<section class="desc"> | ||
<p>You've tried to visit a page that doesn't exist. Luckily this site | ||
has other <a href="index.html">pages</a>.</p> | ||
<p>If you were looking for something specific, try searching: | ||
</p><form class="search-body" role="search"> | ||
<input type="text" id="search-body" autocomplete="off" disabled="" class="form-control typeahead" placeholder="Loading search..."/> | ||
</form> | ||
<p></p> | ||
|
||
</section> | ||
</div> <!-- /.main-content --> | ||
|
||
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left"> | ||
<header id="header-search-sidebar" class="hidden-l"> | ||
<form class="search-sidebar" role="search"> | ||
<input type="text" id="search-sidebar" autocomplete="off" disabled="" class="form-control typeahead" placeholder="Loading search..."/> | ||
</form> | ||
</header> | ||
|
||
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav"> | ||
<li class="self-crumb">flutterdashdocumentation package</li> | ||
</ol> | ||
|
||
|
||
<h5><span class="package-name">flutterdashdocumentation</span> <span class="package-kind">package</span></h5> | ||
<ol> | ||
<li class="section-title">Libraries</li> | ||
<li><a href="commented_floating_action_button/commented_floating_action_button-library.html">commented_floating_action_button</a></li> | ||
<li><a href="main/main-library.html">main</a></li> | ||
</ol> | ||
|
||
</div> | ||
|
||
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right"> | ||
</div> | ||
|
||
</main> | ||
|
||
<footer> | ||
<span class="no-break"> | ||
flutterdashdocumentation | ||
1.0.0+1 | ||
</span> | ||
|
||
|
||
</footer> | ||
|
||
|
||
|
||
<script src="static-assets/highlight.pack.js?v1"></script> | ||
<script src="static-assets/docs.dart.js"></script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</body></html> |
1 change: 1 addition & 0 deletions
1
doc/flutterdashdocumentation.docset/Contents/Resources/Documents/categories.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
Oops, something went wrong.