-
Notifications
You must be signed in to change notification settings - Fork 2
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
The first release v0.1.0 #21
Conversation
Depends JuliaRegistries/General#4117 |
@@ -0,0 +1,3 @@ | |||
[deps] | |||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | |||
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I started to feel I am an idiot already.
It's not documented that well, but docs should have its own |
I doubt that because the example will be run and it will need all dependencies. |
- stage: "Documentation" | ||
os: linux | ||
script: | ||
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build()' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it's this line saying that you get the dependencies related to this particular package. If you need something else, e.g. Documenter.jl which was in REQUIRE
earlier, that needs to specifically require using docs/Project.toml
. So basically we don't want that our package depends on Documenter.jl, but the documentation can depend on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or in other words, if you run julia --activate=docs/
and try to run the example in there, it should fail because the packages are not installed into that virtual environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's why I felt like an idiot because I couldn't figure out why it's failing.
No description provided.