Releases: umijs/dumi
Releases · umijs/dumi
v1.0.0-beta.16
Fixed
- Catch error when get updated time for doc file
- React curly brackets escape error (still need to optimize)
v1.0.0-beta.15
Improvements
- Add edit link for the "Edit on GitHub" link
Fixed
- Error after click anchor link
v1.0.0-alpha.17
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
Features
- Support to write frontmatters in the embedded demo
Breaking Change (maybe a half)
- Support to configure
transform
CSS property via thetransform
frontmatter, code block modifier andcode
tag property, use to switchtransform: translate(0, 0)
for demo wrapper element to change CSS containing block (catchfixed
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
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
v1.0.0-alpha.12
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
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
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
- Alias
src
first of root path ifsrc
path exists, #52, by @chenshuai2144
v1.0.0-alpha.7
Fixed
title
undefined error when generate sub routesslugs
undefined error when render affix menu in layout