-julia --project=. -e 'using Pkg; Pkg.add(["OrdinaryDiffEq", "Plots", "SummationByPartsOperators"])' # Install additional packages</code></pre><p>If you use other packages for executing DispersiveShallowWater.jl, you can add them to the project in the <code>run</code> directory in an analogous way as above. To use the Julia project within <code>run</code>, be sure to start the Julia REPL by</p><pre><code class="language-sh hljs">julia --project=.</code></pre><p>if already inside the the <code>run</code> directory or <code>julia --project=run</code> if in the main directory of the repo.</p><h2 id="Preview-of-the-documentation"><a class="docs-heading-anchor" href="#Preview-of-the-documentation">Preview of the documentation</a><a id="Preview-of-the-documentation-1"></a><a class="docs-heading-anchor-permalink" href="#Preview-of-the-documentation" title="Permalink"></a></h2><p>If you want to build the documentation locally, you can run</p><pre><code class="language-sh hljs">julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'</code></pre><p>once from the DispersiveShallowWater.jl main directory to tell <a href="https://documenter.juliadocs.org/stable/man/guide/">Documenter.jl</a> to build the documentation of your local clone. To build the documentation, run</p><pre><code class="language-sh hljs">julia --project=docs --color=yes docs/make.jl</code></pre><p>The resulting <code>.html</code> files can then be found in <code>docs/build/</code> and you can look at them by opening them in a browser.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../overview/">« Overview</a><a class="docs-footer-nextpage" href="../ref-trixibase/">TrixiBase »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Monday 27 May 2024 07:51">Monday 27 May 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments