diff --git a/book/_config.yml b/book/_config.yml index 9990554..3bd90b3 100755 --- a/book/_config.yml +++ b/book/_config.yml @@ -1,46 +1,40 @@ # Book settings # Learn more at https://jupyterbook.org/customize/config.html -title: MolSSI Jupyter Book +title: Introduction to Julia # Name of the book author: The Molecular Sciences Software Institute +copyright: "2024" -# Force re-execution of notebooks on each build. -# See https://jupyterbook.org/content/execute.html execute: execute_notebooks: force -# Define the name of the latex output file for PDF builds latex: latex_documents: targetname: book.tex -# Add a bibtex file so that we can create citations bibtex_bibfiles: - references.bib -# Information about where the book exists on the web repository: - url: https://github.com/MolSSI-Education/WORKSHOP_NAME # Online location of your book - path_to_book: book/ # Optional path to your book, relative to the repository root - branch: main # Which branch of the repository should be used when creating links (optional) + url: https://github.com/MolSSI-Education/julia-intro + path_to_book: book/ + branch: main -# Add GitHub buttons to your book -# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository html: use_issues_button: true use_repository_button: true google_analytics_id: G-FHKVGE8HKZ + extra_css: + - https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css + - https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css -extra_css: - - https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css - - https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css sphinx: config: html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js - html_theme_options: logo: image_light: images/molssi_main_logo.png image_dark: images/molssi_main_logo_inverted_white.png + \ No newline at end of file diff --git a/book/sample2.ipynb b/book/sample2.ipynb index 3919dc8..a1d958d 100644 --- a/book/sample2.ipynb +++ b/book/sample2.ipynb @@ -39,17 +39,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [ { - "ename": "", - "evalue": "", - "output_type": "error", - "traceback": [ - "\u001b[1;31mFailed to start the Kernel. \n", - "\u001b[1;31mUnable to start Kernel 'Julia 1.10.4' due to a timeout waiting for the ports to get used. \n", - "\u001b[1;31mView Jupyter log for further details." + "name": "stdout", + "output_type": "stream", + "text": [ + "Hello, World!" ] } ], @@ -57,6 +54,33 @@ "print(\"Hello, World!\")" ] }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "0.011111111111111112" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "κ = 2\n", + "L = 3\n", + "cₚ = 4\n", + "ρ = 5\n", + "t = 1\n", + "\n", + "α = κ / (cₚ * ρ)\n", + "Fo = α * t / (L^2)" + ] + }, { "cell_type": "code", "execution_count": null, @@ -67,13 +91,15 @@ ], "metadata": { "kernelspec": { - "display_name": "jupyter-book-2024", - "language": "python", - "name": "python3" + "display_name": "Julia 1.11.1", + "language": "julia", + "name": "julia-1.11" }, "language_info": { - "name": "python", - "version": "3.12.7" + "file_extension": ".jl", + "mimetype": "application/julia", + "name": "julia", + "version": "1.11.1" } }, "nbformat": 4,