Sébastien Lorber
Sébastien Lorber
Yes, I think handling `siteConfig.stylesheets`, `siteConfig.scripts` and `siteConfig.head` in the same way makes sense. The 2 former are just shortcuts for the later which is more low-level and flexible. I'm...
Hey @maxhr , sorry for the delay. To me, it is not necessarily the best idea to put the docs outside the site folder, and can lead to subtle bugs...
Yes, the problem can be seen here BTW: https://deploy-preview-6320--docusaurus-2.netlify.app/docs/markdown-features/assets/#files We can maybe add a new "hidden" prop in `` similar to the existing undocumented `autoAddBaseUrl`, something like `autoApplyTrailingSlash`, and then...
@stnor to avoid an absolute url, you should be able to put the file in `/static/folder/file.xyz` and ref it with `[download file](pathname:///folder/file.xyz)`
Regarding your repro steps: that's not exactly how it's designed to work. - The "persisted version" is only persisted when the user explicitly clicks on a v19 link (ie selecting...
What about using the plugin API? https://docusaurus.io/docs/api/plugin-methods/lifecycle-apis#injectHtmlTags ```js function MySitePlugin(context, options) { return { name: 'my-site-plugin', injectHtmlTags({content}) { return { headTags: [ { tagName: 'link', attributes: { rel: 'preconnect', href:...
> All that stylesheets does is to add a link tag with a default ref="stylesheet attribute. I understand, I mean later we may want to do something more like ensuring...
Yes indeed, on versioning even if `sidebarPath: undefined` is set, running the versioning cli would still generate a sidebar file in `versioned_sidebars`, and all "versioned versions" (not `./docs`) are expected...
Duplicate of https://github.com/facebook/docusaurus/issues/4415
> https://github.com/facebook/docusaurus/issues/4415 is about when the main page container is shorter than the sidebar The example page is https://docusaurus.io/docs/markdown-features and the content is not smaller than the sidebar. If you...