Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

move /docs/_img files to /static/img folder #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zachmandeville
Copy link

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/_img to /static/img, updated any references to the old location, and removed the /docs/_img folder.

I also converted the earthstar logo to a favicon, to use that instead of the default dinosaur.

<3!

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant