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

retype build --override will cause issue in the main page #336

Closed
vmohir opened this issue May 29, 2022 · 3 comments
Closed

retype build --override will cause issue in the main page #336

vmohir opened this issue May 29, 2022 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@vmohir
Copy link

vmohir commented May 29, 2022

When I use retype build docs --output=public/ or retype watch docs everything is fine but when I run retype build docs --output=public/ --override="{ }" the output's main page (the index.html) has the default content (only the "Welcome" title) and all the markdown in the index.md file at the root of the project is ignored.

Worth mentioning that all these commands work fine:

retype build docs --output=public/
retype build docs --override="{ }"
retype build docs
retype build docs --override="{ \"output\": \"../public\"}"
@geoffreymcgill geoffreymcgill self-assigned this May 29, 2022
@geoffreymcgill
Copy link
Collaborator

HI @vmohir. Thank you for reporting this defect. Very interesting issue. 🤔 We will investigate and fix right away. Hopefully there is a work around we can find before the fix is available publicly with the next release.

@vmohir
Copy link
Author

vmohir commented May 29, 2022

Of course! The workaround is the last command:

retype build docs --override="{ \"output\": \"../public\"}"

@geoffreymcgill
Copy link
Collaborator

Hi @vmohir. This defect has been fixed and the fix will be included in the upcoming v2.4.0 release of Retype. I don't have an exact date for the release of v2.4.0, but it should be very soon.

Once you upgrade to v2.4.0, your project with the leading _ in the folder name will just start working. No changes to your project or the exact --override flag will be required.

Hope this helps.

@geoffreymcgill geoffreymcgill added this to the v2.4 milestone Jun 5, 2022
@geoffreymcgill geoffreymcgill added the bug Something isn't working label Jun 5, 2022
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

No branches or pull requests

2 participants