Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcremer committed Aug 28, 2024
1 parent 0866529 commit 551252e
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 221 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d72289a
eb8a4d87
Binary file added images/esdl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 50 additions & 1 deletion intro-pkg.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,40 @@
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
/* CSS for syntax highlighting */
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
pre.numberSource code > span
{ position: relative; left: -4em; counter-increment: source-line; }
pre.numberSource code > span > a:first-child::before
{ content: counter(source-line);
position: relative; left: -1em; text-align: right; vertical-align: baseline;
border: none; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
}
pre.numberSource { margin-left: 3em; padding-left: 4px; }
div.sourceCode
{ }
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
}
</style>


Expand Down Expand Up @@ -195,11 +229,14 @@
<h2 id="toc-title">On this page</h2>

<ul>
<li><a href="#activating-your-environment" id="toc-activating-your-environment" class="nav-link active" data-scroll-target="#activating-your-environment">Activating your environment</a></li>
<li><a href="#repl-package-manager-mode" id="toc-repl-package-manager-mode" class="nav-link active" data-scroll-target="#repl-package-manager-mode">REPL package manager mode</a>
<ul class="collapse">
<li><a href="#activating-your-environment" id="toc-activating-your-environment" class="nav-link" data-scroll-target="#activating-your-environment">Activating your environment</a></li>
<li><a href="#package-handling" id="toc-package-handling" class="nav-link" data-scroll-target="#package-handling">Package handling</a>
<ul class="collapse">
<li><a href="#further-reading" id="toc-further-reading" class="nav-link" data-scroll-target="#further-reading">Further reading</a></li>
</ul></li>
</ul></li>
</ul>
</nav>
</div>
Expand All @@ -225,15 +262,27 @@ <h1 class="title">Introduction to the Package Manager</h1>
</header>


<p>This is only a small glimpse in the Julia package manager. For an in depth intro see <a href="https://jkrumbiegel.com/pages/2022-08-26-pkg-introduction/">Pkg.jl and Julia Environments for Beginners</a>.</p>
<section id="repl-package-manager-mode" class="level1">
<h1>REPL package manager mode</h1>
<p>There are two ways to interact with the package manager. Either programmatically by loading it in via <code>using Pkg</code> or by switching to the pkg mode in the REPL. Here we will use the REPL mode. To switch to the pkg mode use the closing square bracket.</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>]</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>This will switch the prompt of your REPL and now you can do package management tasks.</p>
<section id="activating-your-environment" class="level2">
<h2 class="anchored" data-anchor-id="activating-your-environment">Activating your environment</h2>
</section>
<section id="package-handling" class="level2">
<h2 class="anchored" data-anchor-id="package-handling">Package handling</h2>
<section id="further-reading" class="level3">
<h3 class="anchored" data-anchor-id="further-reading">Further reading</h3>
<ul>
<li><a href="">Pkg.jl documentation</a></li>
<li><a href="https://jkrumbiegel.com/pages/2022-08-26-pkg-introduction/">Pkg.jl and Julia Environments for Beginners</a></li>
<li><a href="https://modernjuliaworkflows.org/writing/#environments">Modern Julia workflows on environments</a></li>
</ul>


</section>
</section>
</section>

Expand Down
Loading

0 comments on commit 551252e

Please sign in to comment.