David PHAM-VAN

Add gh-pages

@@ -143,4 +143,9 @@ ref: @@ -143,4 +143,9 @@ ref:
143 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/pdf/adobe_supplement_iso32000.pdf' 143 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/pdf/adobe_supplement_iso32000.pdf'
144 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf' 144 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf'
145 145
  146 +gh-pages:
  147 + cd printing/example; flutter build web
  148 + git checkout gh-pages
  149 + mv -f printing/example/build/web/* .
  150 +
146 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref 151 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref
1 # Changelog 1 # Changelog
2 2
  3 +## 3.0.1
  4 +
  5 +- Add a link to the Web example
  6 +
3 ## 3.0.0 7 ## 3.0.0
4 8
5 Breaking change: this version is only compatible with flutter >= 1.12 9 Breaking change: this version is only compatible with flutter >= 1.12
@@ -7,6 +7,8 @@ See the example on how to use the plugin. @@ -7,6 +7,8 @@ See the example on how to use the plugin.
7 7
8 <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/printing/example.png" width="300"> 8 <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/printing/example.png" width="300">
9 9
  10 +This example is also available on the web here: <https://davbfr.github.io/dart_pdf/>
  11 +
10 This plugin uses the `pdf` package <https://pub.dev/packages/pdf> 12 This plugin uses the `pdf` package <https://pub.dev/packages/pdf>
11 for pdf creation. Please refer to <https://pub.dev/documentation/pdf/latest/> 13 for pdf creation. Please refer to <https://pub.dev/documentation/pdf/latest/>
12 for documentation. 14 for documentation.
@@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to @@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to
4 homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing 4 homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing
5 repository: https://github.com/DavBfr/dart_pdf 5 repository: https://github.com/DavBfr/dart_pdf
6 issue_tracker: https://github.com/DavBfr/dart_pdf/issues 6 issue_tracker: https://github.com/DavBfr/dart_pdf/issues
7 -version: 3.0.0 7 +version: 3.0.1
8 8
9 environment: 9 environment:
10 sdk: ">=2.3.0 <3.0.0" 10 sdk: ">=2.3.0 <3.0.0"