Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going to the /docs page without a pages directory or content shows a blank screen #1130

Open
boyney123 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1170
Open

Going to the /docs page without a pages directory or content shows a blank screen #1130

boyney123 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1170
Labels
bug Something isn't working

Comments

@boyney123
Copy link
Collaborator

I tried this:

If there is no custom page, just take the user to the first content in the sidebar.

This happened:

As above.

I expected this:

No response

Is there a workaround?

No response

Anything else?

No response

EventCatalog Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@boyney123 boyney123 added the bug Something isn't working label Feb 7, 2025
carlosallexandre added a commit to carlosallexandre/eventcatalog that referenced this issue Feb 18, 2025
This removes the empty markdown file that were previously added by
`ensureAstroCollectionNotEmpty` when no index page was specified by
the user. This introduce `default-docs.mdx` as fallback to prevent
blank /docs page. This approach ensures a better UX without redirecting
to the first collection item, as an initial empty project may not have
any items to navigate to.

Closes event-catalog#1130.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant