Skip to content

Releases: umijs/dumi

v1.0.0-beta.16

03 Mar 08:45
Compare
Choose a tag to compare
v1.0.0-beta.16 Pre-release
Pre-release

Fixed

  • Catch error when get updated time for doc file
  • React curly brackets escape error (still need to optimize)

v1.0.0-beta.15

03 Mar 08:47
Compare
Choose a tag to compare
v1.0.0-beta.15 Pre-release
Pre-release

Improvements

  • Add edit link for the "Edit on GitHub" link

Fixed

  • Error after click anchor link

v1.0.0-alpha.17

01 Feb 10:28
Compare
Choose a tag to compare
v1.0.0-alpha.17 Pre-release
Pre-release

Features

  • Support to add locale prefix for frontmatter of demo
  • Support to write markdown in desc field of demo frontmatter

Improvements

  • Include src folder of lerna packages by default

v1.0.0-alpha.16

17 Jan 04:24
Compare
Choose a tag to compare
v1.0.0-alpha.16 Pre-release
Pre-release

Features

  • Support to write frontmatters in the embedded demo

Breaking Change (maybe a half)

  • Support to configure transform CSS property via the transform frontmatter, code block modifier and code tag property, use to switch transform: translate(0, 0) for demo wrapper element to change CSS containing block (catch fixed element), the following ways to do the same thing:
``` jsx
/**
 * transform: true
 */
// source code
```
``` jsx | transform
// source code
```
<code src="path/to/demo" transform>

In the previous versions, the transform: translate(0, 0) is enable by default, but in the v1.0.0-alpha.16 it is not, so if you have been write a demo that contains fixed element, and you still want to position it according to the demo wrapper element, you need to enable transform via the above ways after upgrade.

v1.0.0-alpha.14

13 Jan 04:32
Compare
Choose a tag to compare
v1.0.0-alpha.14 Pre-release
Pre-release

Features

  • Support use README.md with locale suffix as the locale root path

Improvements

  • Default to sort by ASCII of filename for routes if it has not order config

Fixed

  • Menu broken bug when using multi-language with the group feature
  • Locale select state error for default theme

v1.0.0-alpha.13

11 Jan 03:07
Compare
Choose a tag to compare
v1.0.0-alpha.13 Pre-release
Pre-release

Features

  • Support to write multi-language documentation, #45 , #58

v1.0.0-alpha.12

03 Jan 06:12
Compare
Choose a tag to compare
v1.0.0-alpha.12 Pre-release
Pre-release

Fixed

  • Improve the way to symlink automatically to avoid GitLab CI bug
  • Side menu z-index bug on mobile devices, #56 , by @chenshuai2144
  • Group order not working bug, #57
  • Group entry file case-sensitive bug when generating routes

v1.0.0-alpha.10

27 Dec 14:22
Compare
Choose a tag to compare
v1.0.0-alpha.10 Pre-release
Pre-release

Features

  • Add icon for external links, #54 , by @kakuyogy
  • Support to configure legacy path for md (use to migrating from old doc tool)
  • Fallback to README.md if there has no index route

Fixed

  • Repeat generate bug for route redirects
  • Slug text bug if using inline code in title

Improvements

  • Refactor routes generate logic, prepare for i18n routes
  • Add test case for routes generator

v1.0.0-alpha.9

23 Dec 17:24
Compare
Choose a tag to compare
v1.0.0-alpha.9 Pre-release
Pre-release

Features

  • Responsibility for the built-in default theme, #49, by @chenshuai2144
  • npm link automatically for current package(s), use for resolve module path when writing demo

Improvements

v1.0.0-alpha.7

20 Dec 14:00
Compare
Choose a tag to compare
v1.0.0-alpha.7 Pre-release
Pre-release

Fixed

  • title undefined error when generate sub routes
  • slugs undefined error when render affix menu in layout