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
Open it up in an editor and find the line with
julia --project=.. -e 'using Publish, USER; deploy(USER; root="/USER.jl", label="dev")'
and edit the USER to be what is needed to build your project correctly.
Why USER instead of YourPackageName, or something similar? I found this very confusing. I'm willing to rewrite this part of the documentation if my understanding of what you mean is correct. Maybe also add a comment in the .yml file immediately before the line:
#IMPORTANT replace USER with the name of your project
julia --project=.. -e 'using Publish, USER; deploy(USER; root="/USER.jl", label="dev")'
Also, the information about how to edit the Publish.yml file is only in the dev documentation, not in the 0.1.0 version. Somebody who doesn't look at the dev docs, e.g. me for quite a while, will have no idea how to modify the Publish.yml file to get their documentation to deploy correctly on github.
Shouldn't this part of the documentation also be in the 0.1.0 version of the docs?
This is another source of error that could be detected by a check_for_errors() program, that would look up the project name and check to see if the substitution for USER had been made in the Publish.yml file and warn the user if it hasn't. Or maybe make the change automatically and rewrite the Publish.yml file.
If you are okay with the idea I'll take a crack at writing this check_for_errors() program.
The text was updated successfully, but these errors were encountered:
on this page https://michaelhatherly.github.io/Publish.jl/dev/docs/getting_started.html there is this line:
Why USER instead of YourPackageName, or something similar? I found this very confusing. I'm willing to rewrite this part of the documentation if my understanding of what you mean is correct. Maybe also add a comment in the .yml file immediately before the line:
Also, the information about how to edit the Publish.yml file is only in the dev documentation, not in the 0.1.0 version. Somebody who doesn't look at the dev docs, e.g. me for quite a while, will have no idea how to modify the Publish.yml file to get their documentation to deploy correctly on github.
Shouldn't this part of the documentation also be in the 0.1.0 version of the docs?
This is another source of error that could be detected by a check_for_errors() program, that would look up the project name and check to see if the substitution for USER had been made in the Publish.yml file and warn the user if it hasn't. Or maybe make the change automatically and rewrite the Publish.yml file.
If you are okay with the idea I'll take a crack at writing this check_for_errors() program.
The text was updated successfully, but these errors were encountered: