-
Create root directory
src/ -
Inside
src/start julia and create the sub-projects(@v1.9) pkg> generate PkgCore (@v1.9) pkg> generate PkgOther -
To be able to create dependencies between packages, add them to a local registry. Something as wallytutor-registry can be used to generate a local registry.
-
Under each package directory add the dependencies of other sub-packages. Assuming you are working on
PkgOther, you can now add core with:(@v1.9) pkg> activate . Activating project at `D:\MultiPkgTutorial.jl\src\PkgOther` (PkgOther) pkg> add PkgCore Resolving package versions...
-
After modifications to
PkgCore, these must commited to a new version and registry updated.
Documentation will be treated as a project itself.
- Create a
docsdirectory in the root of the repository. - Create a
Project.tomlfile with only a[deps]section. - Running Julia from within the
docs/directory, activate the project with] activate .and add the sub-packages as dependencies. - After each sub-package update, consider refreshing the local registry then
] updatein the documentation project. - Create a
gh-pagesbranch of the repository as here. - In repository settings configure pages deployment from the newly created branch.