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

Hotfix: Docusaurus broken imports #6

Merged
merged 7 commits into from
Jul 24, 2023

Conversation

BorjaZarco
Copy link
Contributor

Changes

  • Add prebuild script that copies community files from root folder to static files
  • Ignore files on static/gitignore
  • Add docusaurus check GH action on pull request submitted
  • Update file import. Now files are imported from static folder

@BorjaZarco
Copy link
Contributor Author

BorjaZarco commented Jul 24, 2023

After some more thorough investigation. Broken links were appearing because the CONTRIBUTING markdown on the root folder had a link to the CODE_OF_CONDUCT file.

Since the links are case-sensitive, this caused a broken link. Ultimately, I opted for a single community page that redirects to the original CODE OF CONDUCT and CONTRIBUTING guides on Git Hub. This may be a temporal solution while we find a sustainable way of having those files on Docusaurus too (without having to duplicate them and maintain 2 files)

@BorjaZarco BorjaZarco merged commit 9777553 into main Jul 24, 2023
1 check passed
@BorjaZarco BorjaZarco deleted the hotfix/docusaurus-broken-imports branch July 24, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants