Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Releases: commercetools/commercetools-docs-kit

v2.2.0

25 Mar 12:37
9b2baa6
Compare
Choose a tag to compare

2.2.0 (2020-03-25)

🚀 Type: New Feature

  • gatsby-theme-docs, ui-kit

Documentation writers can now reference multiple code examples together in the MDX files. The code examples are grouped together and enables users to switch between them via a dropdown. This is useful when there is a need to provide examples that achieve the same thing in different programming languages.

<MultiCodeExample title="Multilanguage Code Samples">
  <CodeExample path="example.js" highlightLines={[3]} />
  <CodeExample path="example.java"/>
  <CodeExample path="example.console" noPromptLines={[3, 4]} />
</MultiCodeExample>

The code example files are expected to be saved in src/code-examples.

v2.1.0

23 Mar 18:29
3d560ce
Compare
Choose a tag to compare

2.1.0 (2020-03-23)

🔮 Type: Chore

  • gatsby-theme-docs
    • #311 fix(theme): remove duplicated source filesystem config (@emmenko)

🚀 Type: New Feature

  • gatsby-theme-docs, gatsby-transformer-code-examples, ui-kit, writing-style
    • #304 feat: code examples provided on graphQL by a transformer plugin (@davifantasia)

🤖 Type: Dependencies

  • broken-link-checker, gatsby-theme-api-docs, gatsby-theme-docs, gatsby-transformer-mdx-introspection, gatsby-transformer-raml-legacy, gatsby-transformer-raml, ramldoc-generator, ui-kit, writing-style
  • gatsby-theme-docs
  • Other

v2.0.0

12 Mar 15:34
1aa34f2
Compare
Choose a tag to compare

2.0.0 (2020-03-12)

This release introduces some breaking changes, as documented below.

Changes in gatsby-transformer-mdx-introspection

The plugin got an internal re-write and the API changed a bit.

One key area in which it is different is the casing of JSX attributes/tags. This is due to dropping the HTML parsing engine, which automatically converted the case. Now, all components/attributes will use the source casing from the compiled MDX, which is usually Pascal/camelCase.

More detailed information can be found in the package README, as well as the list of supported options.

💥 Type: Breaking Change

  • gatsby-theme-api-docs, gatsby-transformer-mdx-introspection
    • #183 feat(introspection): utilize Babel parser to better parse MDX into component nodes (@jazevedo620)

🚀 Type: New Feature

  • gatsby-theme-api-docs, ramldoc-generator

The new package @commercetools-docs/ramldoc-generator provides an executable to transform any spec-compliant RAML API definition into the (also RAML-compliant) RAML document structure and layout required by the @commercetools-docs/gatsby-transformer-raml plugin.

v1.8.1

12 Mar 15:34
14581f1
Compare
Choose a tag to compare

1.8.1 (2020-02-21)

🐛 Type: Bug

  • gatsby-theme-docs
    • #293 fix(theme): css overrides for search overlay (@emmenko)

v1.8.0

19 Feb 11:20
7059a17
Compare
Choose a tag to compare

1.8.0 (2020-02-19)

🚀 Type: New Feature

  • gatsby-theme-docs
    • #175 feat(theme): restore scroll position of main navigation links, when navigating to a new page (@emmenko)

🤖 Type: Dependencies

  • Other
  • gatsby-theme-api-docs, gatsby-theme-docs

v1.7.7

17 Feb 10:08
4715501
Compare
Choose a tag to compare

1.7.7 (2020-02-17)

🔮 Type: Chore

  • #281 fix(actions): check out with depth 50 to allow proper canary versions on master branch (@emmenko)
  • #280 fix: publish canary only if lerna detects that packages changed (@emmenko)

⛑ Type: Refactoring

  • gatsby-theme-docs, ui-kit
    • #288 refactor: rendering of code block for syntax highlighting (@emmenko)

v1.7.6

07 Feb 08:46
a6c3540
Compare
Choose a tag to compare

1.7.6 (2020-02-07)

⛑ Type: Refactoring

  • gatsby-theme-docs
    • #277 refactor: use more semantic HTML elements for the search crawler (@nkuehn)
  • gatsby-theme-api-docs, gatsby-transformer-raml

🤖 Type: Dependencies

v1.7.5

03 Feb 13:10
0ae716f
Compare
Choose a tag to compare

1.7.5 (2020-02-03)

🐛 Type: Bug

  • gatsby-theme-docs
    • c7dd89f fix(theme): ensure css overwrites default one for top menu position (@emmenko)

⛑ Type: Refactoring

  • gatsby-theme-docs

v1.7.4

02 Feb 12:50
52c9c7b
Compare
Choose a tag to compare

1.7.4 (2020-02-02)

🐛 Type: Bug

  • gatsby-theme-docs
    • #266 fix(theme): to use correct selector to exclude style elements (@emmenko)
    • #265 fix(theme): to patch lobotomized owl selector to ignore style children (@emmenko)
    • #260 fix(theme): sidebar link border color (@emmenko)
  • gatsby-theme-api-docs, gatsby-transformer-raml
  • gatsby-theme-docs, ui-kit
    • #261 fix(theme): use data-link-type instead of aria role attribute (@emmenko)

v1.7.3

31 Jan 08:54
eae1b9e
Compare
Choose a tag to compare

1.7.3 (2020-01-31)

🔮 Type: Chore

  • gatsby-theme-docs
    • #258 chore(theme): enable custom apps link in top menu (@emmenko)

💅 Type: Enhancement

  • gatsby-theme-docs, ui-kit
    • #253 refactor(theme): to make the link underline style configurable via a prop (@emmenko)