You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, the mdoc version is 2.5.2 and the Docusaurus version is 1.14.7.
Some details
When publishing a site to Github pages, the publish-gh-pages script ignores the options passed to the docusaurus-build (--skip-image-compression in my case). Running docusaurusCreateSite from mdoc before docusaurusPublishGhpages also doesn't help. However, when running docusaurusCreateSite locally, docusaurus-build uses the passed options properly, and ./website/build/foo/img contains uncompressed images.
The text was updated successfully, but these errors were encountered:
Hey there. I found that every site under the Center organization has compressed images on their websites. I dug into the
Docusaurus
andmdoc
and haven't found a way to workaround this.For example, in
bloop
:The original img: https://github.com/scalacenter/bloop/blob/main/website/static/img/build-tools-logos.png (37.7 KB)
The actual on the site: https://github.com/scalacenter/bloop/blob/gh-pages/img/build-tools-logos.png (28.8 KB)
Set up
In my case, the
mdoc
version is2.5.2
and theDocusaurus
version is1.14.7
.Some details
When publishing a site to Github pages, the
publish-gh-pages
script ignores the options passed to thedocusaurus-build
(--skip-image-compression
in my case). RunningdocusaurusCreateSite
frommdoc
beforedocusaurusPublishGhpages
also doesn't help. However, when runningdocusaurusCreateSite
locally,docusaurus-build
uses the passed options properly, and./website/build/foo/img
contains uncompressed images.The text was updated successfully, but these errors were encountered: