Sébastien Lorber

Results 1447 comments of Sébastien Lorber

> A new "created" metadata (using git history) > The "created" metadata can be used to differentiate between "new" pages and "deprecated" pages. As we discussed on discord, I'm not...

@andrewnicols what I understand: We have a page "Docs Introduction": https://docusaurus.io/docs/docs-introduction It has a description (here inferred from content, but it does not matter): "The docs feature provides users with...

All this is quite opiniated, but remember that in any case you can add custom mediaqueries or customize the existing widths by overriding css variables. Ideally I'd like to see...

> However, for a docs site, there is a usability benefit in having the sidebar next to the content area. It's possible to achieve that with swizzling and CSS, as...

Couldn't this work? https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/website/src/pages/play.tsx ```tsx function Play(): JSX.Element { return ( {(): JSX.Element => { const Playground = lazy(() => import("../components/Playground")); return ( ); }} ); } ``` This API...

> This is a good solution for React pages, but not for Markdown pages where you don't have access to the wrapping component. In the long term I think we...

I think we can re-open and do this: - md page `frontMatter.wrapperClassName` => apply to Layout wrapperClassName (instead of html, for consistency with DocPage) - md page `frontMatter.htmlClassName` (new) -...

Also remember that we have to consider React hydration: on first page load, the correct tab must be selected even before React hydrates (ie you can't just useEffect, you also...

Thanks for creating a package @sjwall ! btw you can add it there: https://docusaurus.io/community/resources