Brent Jackson

Results 132 comments of Brent Jackson

Yeah, we've been looking into ways to handle this and using something like `minimatch` for file patterns – the biggest issue is the webpack's `require.context` has to have a static...

Either `render` or `Component` should work, but `Component` is probably a simpler, more React-like approach. As for props to MDX components, that isn’t supported yet – was a feature in...

It's undocumented and experimental, but you can return a `path` in `getInitialProps` as seen here: https://github.com/c8r/blog/blob/master/pages/post.js#L20 – You'll also want to return a subroutes `routes` array in order for the...

Related to #87 - I’m working on a better setup that should allow for completely unstyled setups

Thanks for reporting this! We dug into this a little bit but couldn't reproduce on our end. By the looks of this, I suspect it might be something related to...

Thanks! I'm not seeing anything that looks like it'd be duplicating the `` in the `index.js` file. And just to double check the filename is (lowercased) `index.js`, right? Generally I'd...

This looks great, thanks! > get npm run build to work, (I couldn't get it to work on master either, something about the xo/ basename, so I think it's fine?...

Thanks! I've been thinking about this a bit, so it's helpful to get another persepective on this. With the current state of x0, it tries to do the following: 1....

> I'd consider breaking down SidebarLayout into lower-level components that people can build on if they want: for example, by using the SidebarLayout prev/next footer in their own custom layouts....

Based on some of the thinking in this issue and some other conversations, the current direction for building docs in a similar way to x0 can be found here: https://github.com/jxnblk/mdx-docs...