diff --git a/package.json b/package.json index 19988ed..6d91266 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,7 @@ "name": "ember-printable-pages", "version": "1.0.2", "description": "An addon for creating printable documents using ember components", - "keywords": [ - "ember-addon", - "pagination", - "printable-files" - ], + "keywords": ["ember-addon", "pagination", "printable-files"], "repository": "https://github.com/forge512/ember-printable-pages", "license": "MIT", "author": "Forge 512", @@ -58,7 +54,7 @@ "ember-auto-import": "^2.4.2", "ember-classic-decorator": "^3.0.0", "ember-cli": "~3.28.5", - "ember-cli-addon-docs": "^5.0", + "ember-cli-addon-docs": "^5.1", "ember-cli-addon-docs-yuidoc": "^1.0.0", "ember-cli-dependency-checker": "^3.2.0", "ember-cli-deploy": "^1.0.2", diff --git a/tests/dummy/app/templates/application.hbs b/tests/dummy/app/templates/application.hbs index 90d8991..bf8b549 100644 --- a/tests/dummy/app/templates/application.hbs +++ b/tests/dummy/app/templates/application.hbs @@ -1,4 +1,4 @@ -{{page-title 'Dummy'}} +{{page-title 'Ember Printable Pages'}} {{outlet}} - \ No newline at end of file + diff --git a/tests/dummy/app/templates/docs.hbs b/tests/dummy/app/templates/docs.hbs index c470468..9fdb4ab 100644 --- a/tests/dummy/app/templates/docs.hbs +++ b/tests/dummy/app/templates/docs.hbs @@ -2,20 +2,20 @@ - {{nav.section "Overview"}} - {{nav.item "Introduction" "docs.index"}} - {{nav.item "Installation" "docs.installation"}} - {{nav.item "Quick Start" "docs.getting-started"}} - {{nav.item "Limitations" "docs.limitations"}} + + + + + - {{nav.section "Cookbook"}} - {{nav.item "Rerendering" "docs.rerendering"}} - {{nav.item "Layout Customization" "docs.layout-customization"}} - {{nav.item "Title Pages" "docs.title-pages"}} - {{nav.item "Page Numbers" "docs.page-numbers"}} - {{nav.item "Table of Contents" "docs.table-of-contents"}} - {{nav.item "Continued Sections" "docs.continued-sections"}} - {{nav.item "Tracking Render Progress" "docs.render-progress"}} + + + + + + + + diff --git a/tests/dummy/app/templates/docs/getting-started.hbs b/tests/dummy/app/templates/docs/getting-started.hbs index 776a0e9..1fbb629 100644 --- a/tests/dummy/app/templates/docs/getting-started.hbs +++ b/tests/dummy/app/templates/docs/getting-started.hbs @@ -1,14 +1,18 @@

Quick Start

-

In its simplest form a Printable Page is a document containing chapters.

-

Each chapter defines headers, footers, and one or more sections.

- Printable Pages will layout your document so that page breaks - do not occur in the middle of a section. + Printable Pages enables the declarative definition of a document and then + it manages the layout for you. A Printable Pages 'document' consists of + one or more chapters with page headers & footers and body sections.

+

+ See the Demo for an interactive demo. +

+ +

Simplest Implementation

- + - +

Repeating Content

@@ -29,7 +33,7 @@

- + - +

Multiple Columns

@@ -49,7 +53,7 @@

- + - + diff --git a/tests/dummy/app/templates/docs/index.hbs b/tests/dummy/app/templates/docs/index.hbs index 4deada7..3573d95 100644 --- a/tests/dummy/app/templates/docs/index.hbs +++ b/tests/dummy/app/templates/docs/index.hbs @@ -6,12 +6,11 @@
  • Define your document using the declarative power of handlebars
  • -
  • Reuse your existing component
  • -
  • Include page headers and footers (impossible to achieve with CSS alone)
  • -
  • Define document or chapter title pages
  • +
  • Reuse your existing components
  • +
  • Include page headers and footers
  • +
  • Define document and/or chapter title pages
  • Supports multicolumn layouts
  • Easy to test
  • -
  • Fast
  • Progressive rendering (users see progress as pages are generated)
  • Makes it easy to provide an in-app preview
diff --git a/tests/dummy/app/templates/docs/layout-customization.hbs b/tests/dummy/app/templates/docs/layout-customization.hbs index 1ebdc61..fcc5c26 100644 --- a/tests/dummy/app/templates/docs/layout-customization.hbs +++ b/tests/dummy/app/templates/docs/layout-customization.hbs @@ -17,7 +17,7 @@

- + - + diff --git a/yarn.lock b/yarn.lock index 7185a06..cc4428e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5715,7 +5715,7 @@ ember-cli-addon-docs-yuidoc@^1.0.0: lodash "^4.17.20" yuidocjs "^0.10.2" -ember-cli-addon-docs@^5.0: +ember-cli-addon-docs@^5.1: version "5.1.0" resolved "https://registry.yarnpkg.com/ember-cli-addon-docs/-/ember-cli-addon-docs-5.1.0.tgz#0804ff9e5d5e0a4a939a35cdd269d0adf3ac7b4f" integrity sha512-O2xmirToqwKcemMuQbrlneDy6O3YI6RvjOkrKx+16em2/I28n6mUChKwquIh0PePhVQQMNn9313XEt/dENSr/w==