This repository was archived by the owner on Apr 7, 2022. It is now read-only.
move /docs/_img files to /static/img folder - #1
Open
zachmandeville wants to merge 3 commits into
Open
Conversation
this is the way docusaurus recommends storing images, and gives an easier way to reference the images in the markdown. This also allows you to reference the image directly as a url.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
I started this PR to help with earthstar-project/earthstar issue #120. The README in that repo still uses images in the docs folder because the images were not accessible via https://earthstar-docs.netlify.app. I believe this is due to them being in a different directory from what docusaurus expects. Images in the /static/img directory are accessible via that url, for example:

And so if it is a help, I moved the images in
/docs/_imgto/static/img, updated any references to the old location, and removed the/docs/_imgfolder.I also converted the earthstar logo to a favicon, to use that instead of the default dinosaur.
<3!