Skip to content

Conversation

@KnutAM
Copy link
Collaborator

@KnutAM KnutAM commented Jun 24, 2021

Following discourse I ran
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' [1]
This adds MaterialModels to the docs/Project.toml. Then, running
julia --project=docs/ docs/make.jl [2]
builds the documentation locally just fine.

So I guess [1] is only required the first time to generate the Manifest (and download packages if required) and [2] each time one wants to build the docs?

We could also include a compat section for documenter as in Fredrik's post above I guess...
(Sorry about the back and forth, did not realize [compat] was already there from before...)


[compat]
Documenter = "0.26"
Documenter = "0.26"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Documenter = "0.26"
Documenter = "0.27"

@kimauth
Copy link
Owner

kimauth commented Aug 13, 2021

I think for building the docs locally you still need to make sure you add MaterialModels with a path (either local, i.e. ".." or to this github repo), for me it complained that the package is not a registered package when I tried to instantiate.

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.

2 participants