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
Create a file called docs/pages/test.png in a content directory within your gravitational/docs clone.
Add the following content to the page:
---
title: test
description: test
---
This is an image:
![my image](../fake.png)
Start the dev server via yarn dev and navigate to localhost:3000/docs/test
The error is:
Error: Image with src "../fake.png" is missing required "width" property.
For a docs author who isn't familiar with this error, it can be difficult to debug. We should stat the file path of an image first to make sure it exists, and if not, show a more descriptive error.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
docs/pages/test.png
in a content directory within yourgravitational/docs
clone.Start the dev server via
yarn dev
and navigate tolocalhost:3000/docs/test
The error is:
For a docs author who isn't familiar with this error, it can be difficult to debug. We should stat the file path of an image first to make sure it exists, and if not, show a more descriptive error.
The text was updated successfully, but these errors were encountered: