All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Removed
for now removed features.Fixed
for any bug fixes.Security
in case of vulnerabilities.
- lock some deps from dependencies list
- change mdast related lib to remark ecosystem
- enforce some styles in case third party style conflicts
- prefix all css variables
- optimizeDeps @mdx-js/react
- sidebar highlight now support zhCN
- Fix chokidar still watching in build command
- min-height 400px set for Pc Liveblock and overflow: auto
- Support Chinese as Route path with
encodeURI
- exclude @mdx-js/react from vite pre-bundling
- Change StyledComponents naming
- Change enum styling from color red to font-weight bold
- Update react-router to v6
- Lock MDX version.
- Lock Vite vesion.
- Now use iframe for pc sandboxes.
- Fix
package.json#exports
path - Remove useless LOG_LEVEL design, need add more cli options
- Add error logging in config reading
- add LOG_LEVEL=VERBOSE to node env will print more info
- extract
SharedConfig
to share type betweenUserConfig
UserFileConfig
ResolvedUserConfig
- fix iframe tools cannot be click through issue
- console more info for unmatched sandbox
docit.config.js
now supportsvite
options- Iframe now has a tool bar which can view qrcode and open in new tab
- remove outer div of sandbox
- changed toc and sidebar style
- adjust mobile view sandbox code height to 640px
- hide toc when no toc at all
- Decode moduleId to get the correct module
- Bump vite version to 2.9.5
- live block now render mobile view in an isolated iframe
- js error when parsing toc
- Not web console will print out docit version
- Add
TOC
section
- sidebar anchors now have hover and active style
- using
div
instead ofp
- fix
types
is missing inpackage.json
- fix react-frame-component does not provide an export named
default
- add
exports
inpackage.json
start
api will start server
- add
defineConfig
, to help write config file. - add
ESM
info inReadMe
anddocs
- now support
socials
indocit.config.js
file. - export more types
- more docs
- use
yarn release
to publish packages
- Republish & fix scripts
- Now respect docit.config.js#title field, update document.title
- More docs on Syntax
- Using English as first language, fix api table doc
- Document style tuning
- rewrite sidebar style
- rewrite mobile view style
- Fix wrong doc paths
- using iframe to provide a css sandbox for imported components
- make code block content to a virtual file import as a raw js sandbox
- total rewrite layouts, using calc instead of fixed layout, and prepare for
element.scrollIntoView
feature - add a
live mobile
view to support responsive component view - add
CHANGELOG.md
- Styling for docs
- First Time release beta version