This repository has been archived by the owner on Jan 24, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Component Props not rendering #825
Comments
fi3ework
added a commit
to fi3ework/docz
that referenced
this issue
Apr 23, 2019
transform Windows backslash to Unix slash
Could be fixed in next released version. |
Closing, follow this issue in #777 💪 |
pedronauck
pushed a commit
that referenced
this issue
Jul 11, 2019
pedronauck
added a commit
that referenced
this issue
Jul 18, 2019
* feat(docz-core): add initial gatsby bundler algorithm * chore: update yarn.lock * feat: docz running using gatsby under the hood * chore(docz-core): refactor devserver machine * chore(docz-core): some improvements * fix(docz-core): some adjustments * fix(babel-plugin-export-metadata): disable enumerable for __filemeta * chore: update dependencies * feat(docz-core): add doczrc config watcher on dev * chore(docz-core): remove unnecessary file * fix: packages rollup config * feat(docz-core): add build and serve command with gatsby * chore: update dependencies * chore(docz-core): remove unnecessary babel config * feat: dynamic src and root path * chore: update dependencies * feat: add typescript support (need fix) * chore: use emotion instead of styled-components * chore: add first steps with theme-ui * chore(docz-theme-default): some modes adjustments * chore: use theme default as theme component shadowing * feat: add main package improvements * chore: update dependencies * chore: update dependencies * chore: remove styled-components from examples * feat: add new theme sidebar * fix(gatsby-theme-docz): entry not in context * chore(gatsby-theme-docz): change project structure * fix: eslint configs * chore(gatsby-theme-docz): change main layout * feat(gatsby-theme-docz): add new Props component * feat(gatsby-theme-docz): add new Pre component * chore: update dependencies * feat: add new Playground component * feat(gatsby-theme-docz): add blockquote styles * chore(gatsby-theme-docz): just some adjustments * feat(gatsby-theme-docz): add some improvements * chore: udpate dependencies * feat: a lot of improvements * chore: update dependencies * chore: some improvements * chore: update dependencies * feat: adapt core plugins to gatsby hooks * feat(docz-core): watch gatsby config files * fix: no-undef eslint rule * feat(gatsby-theme-docz): improve code highlight * chore: just some adjustments * fix(gatsby-theme-docz): prisms theme by themeConfig * feat(docz-core): watch custom theme files * chore: update dependencies * chore: update dependencies * fix: some typescript adjustments * feat(docz-core): ensure files before running machine * chore: remove codesandbox feature * feat: some playground improvements * feat: open browser integration * chore: remove unused config arguments * chore: update dependencies * fix(babel-plugin-export-metadata): transform to Unix slash (#825) (#829) transform Windows backslash to Unix slash * feat(gatsby-theme-docz): add showLiveError on Playground * feat: add markdown parsing on props description * fix(remark-docz): fix alias in the src of a mdx's image #897 * fix(docz): component Props false positives when looking in state * fix: remove react & react-dom from dependencies #924 * fix(babel-plugin-export-metadata): fix root relative path * feat(gatsby-theme-docz): add iframe and re-resizable on playground * chore: some adjustments * fix(docz): parse description of props * feat(gatsby-theme-docz): improve documentation * docs(gatsby-theme-docz): improve readme * chore(gatsby-theme-docz): add menu button outside header * docs: update README * chore: update migration guide * chore: some changes on migration guide * fix: on create webpack plugin hook * docs: add some info on migration guide * docs: improve some docs * feat(gatsby-theme-docz): add custom logo support * chore: some improvements * chore(babel-plugin-export-metadata): update snapshots * chore: update snapshots * chore: exclude some files from examples * chore: update dependencies * fix(docz-core): create deps algorithm * fix(docz): props markdown compiler * fix(gatsby-theme-docz): resizable import * chore(gatsby-theme-docz): logo font family * chore: remove docz-theme-default dependency * chore(docz): remove async playground * docs(gatsby-theme-docz): some changes * chore: update dependencies * docs: some adjustments * fix: resizable props import
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The component props isn't rendering.
On prop component the stateProps key have "/" as path separator (unix slash):
And in the filename is used the "" as path separator (windows backslash):
The path validation must be agnostic, so maybe in the conditional found the path separator
on both must be normalized to a unix slash.
I'm using:
regards,
Júlio Lopes
PS: Nice job...
The text was updated successfully, but these errors were encountered: