Skip to content

Releases: ember-learn/ember-cli-addon-docs

v0.5.3

28 Aug 20:56
9ecdebe
Compare
Choose a tag to compare

Bugfixes.

v0.5.2

20 Aug 17:37
668c10e
Compare
Choose a tag to compare

Changes

  • We changed our Tailwind build to use a docs- prefix instead of ad-, since ad- was getting picked up and ignored by ad blockers.

Breaking changes

  • None.

v0.5.1

20 Aug 14:38
517c686
Compare
Choose a tag to compare

Enhancements and changes

  • Addon Docs comes with automatic support for versioned documentation, and in this release we've reorganized the site structure for those versions a bit. The biggest change is that the "latest" version of your docs (typically the most recently tagged release), which used to live under the URL /latest, now lives at the root of your site. (For example, www.ember-cli-mirage.com instead of www.ember-cli-mirage.com/latest). Other versions now live under a /versions namespace.

    This version should automatically migrate previous versions of your project to use the new structure. It also redirect old links from /latest to the new root location. If something isn't working right, please reach out to us in an issue here or in #ec-addon-docs in Slack.

  • Addon Docs uses utility CSS classes to style its components (DocsHero, DocsDemo, etc.). These classes are provided by TailwindCSS and have names like text-center. These classes should be considered private to Addon Docs, but due to CSS's global nature these generic names have been conflicting with addon authors' own CSS classes.

    In this release we've updated our Tailwind build to prefix all class names with ad-. There should be no upgrade steps for you unless you were relying on the included Tailwind build to style your dummy app. If so, you'll need to provide those classes yourself. The ad- classes should also not be relied upon and should still be considered private. This is so we can change them – and in fact we will be soon, as the ad- prefix is considered advertisement CSS and blocked by certain ad-blockers.

    Update: We have released 0.5.2, which changes the prefix to docs-, since ad- was causing so much trouble.

  • <DocsDemo> can accept additional CSS classes for customization.

Breaking changes

None.

Other

  • Fixed a bug where API reference pages weren't showing up in search.
  • Other bugfixes & upgrades.

v0.5.0

20 Aug 13:20
Compare
Choose a tag to compare

Breaking changes

  • Live examples (docs-demo.live-example) have been removed due to complexity and filesize. We are investigating alternatives, including the ability to embed Twiddles.

Other

  • Bugfixes

v0.4.3

31 May 20:19
c312255
Compare
Choose a tag to compare

Incorporates ember-fetch-adapter in order to properly request assets such as the API docs data in Fastboot.

v0.4.1

24 Apr 01:03
Compare
Choose a tag to compare

Adds a version selector to the top navbar.

Other changes:

  • Main navigation is now independently scrollable
  • Bugfixes

v0.4.0

21 Apr 17:26
Compare
Choose a tag to compare
  • We dropped official support for Node 4
  • Bugfixes

v0.3.0

26 Mar 04:00
Compare
Choose a tag to compare
  • [ BREAKING ] If you have any config for ember-router-scroll in your dummy app's config/environment, you can remove it. (The <body> element is the only scrollable element now.)
  • [ BREAKING ] Renames {{docs-navbar}} to {{docs-header}}
  • [ BREAKING ]The setup for your dummy app's /docs/template.hbs is simpler and should be updated. Check out the docs for example usage.
  • The navigation section of {{docs-viewer}} has a new contextual component {{viewer.section}} that you should use to group your guides. (The nav layout was designed to expect a section for the first item). See the docs for example usage.
  • [ BREAKING ] Removes yield for alt-logo in docs-hero. The block below the byline is now yielded. (We will introduce a new api for custom project logos later).
  • Adds style arg to docs-hero which can be "light" or "dark". Defaults to "light".

v0.2.4

20 Mar 00:39
29d6b9f
Compare
Choose a tag to compare

Fix #106: EMFILE errors when trying to build on APFS without Watchman installed

v0.1.4

05 Mar 17:38
Compare
Choose a tag to compare

Breaking change: You now must always pass the file extension into the DocsSnippet component: {{docs-snippet name='foo.js'}}

Addon docs now works in Fastboot

And more bug fixes.