Skip to content

Commit 5c1991d

Browse files
Merge pull request #293 from Exabyte-io/chore/update-jupyterlite-urls-and-cleanups
chore: update JL urls plus cleanups
2 parents 9e1d28f + 8e93cde commit 5c1991d

6 files changed

+24
-15
lines changed

lang/en/docs/includes/jupyterlite_embed.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="jupyterlite-embed-container" class="jupyterlite-embed-container" style="position: relative; width:100%; height:600px;">
22
<iframe
33
id="jupyterlite-iframe"
4-
src="{% if notebooks_path_root and notebook_name %}{{ origin_url }}/tree?path={{ notebooks_path_root }}/{{ notebook_name }}{% else %}{{ origin_url }}{% endif %}"
4+
src="{% if notebooks_path_root and notebook_name %}{{ origin_url }}?path={{ notebooks_path_root }}/{{ notebook_name }}{% else %}{{ origin_url }}{% endif %}"
55
width="100%"
66
height="100%"
77
style="border:none;"

lang/en/docs/tutorials/materials/specific/defect-point-substitution-graphene.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,18 @@ Or the user can [save or download](../../../materials-designer/header-menu/input
126126

127127
The following JupyterLite notebook demonstrates the process of creating materials with substitution defects in graphene. Select "Run" > "Run All Cells".
128128

129-
{% with origin_url="https://jupyterlite.mat3ra.com/retro/notebooks/?path=api-examples/other/materials_designer/specific_examples/defect_point_substitution_graphene.ipynb" %}
129+
{% with origin_url=config.extra.jupyterlite.origin_url %}
130+
{% with notebooks_path_root=config.extra.jupyterlite.notebooks_path_root %}
131+
{% with notebook_name='specific_examples/defect_point_substitution_graphene.ipynb' %}
130132
{% include 'jupyterlite_embed.html' %}
131133
{% endwith %}
134+
{% endwith %}
135+
{% endwith %}
136+
137+
## References
138+
139+
1. Yoshitaka Fujimoto and Susumu Saito, "Formation, stabilities, and electronic properties of nitrogen defects in graphene", Physical Review B, 2011. [DOI: 10.1103/PhysRevB.84.245446](https://journals.aps.org/prb/abstract/10.1103/PhysRevB.84.245446){:target='_blank'}.
140+
132141

133142
## Tags
134143

lang/en/docs/tutorials/materials/specific/defect-surface-adatom-graphene.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,8 @@ The interactive JupyterLite notebook for creating Graphene structures with metal
221221

222222
## References
223223

224-
1. **Kevin T. Chan, J. B. Neaton, and Marvin L. Cohen**,
225-
"First-principles study of metal adatom adsorption on graphene" Phys. Rev. B 77, 235430, 2008
226-
[DOI: 10.1103/PhysRevB.77.235430](https://doi.org/10.1103/PhysRevB.77.235430){:target='_blank'}.
224+
1. **Kevin T. Chan, J. B. Neaton, and Marvin L. Cohen**, "First-principles study of metal adatom adsorption on graphene" Phys. Rev. B 77, 235430, 2008 [DOI: 10.1103/PhysRevB.77.235430](https://doi.org/10.1103/PhysRevB.77.235430){:target='_blank'}.
227225

228226
## Tags
229227

230-
`adatom`, `graphene`, `metal`, `surface`, `defect`
228+
`adatom`, `graphene`, `metal`, `surface`, `defect`

lang/en/docs/tutorials/materials/specific/defect-surface-island-titanium-nitride.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,9 @@ The following JupyterLite notebook demonstrates the process of creating material
172172
{% endwith %}
173173
{% endwith %}
174174

175-
<!--
176-
{# TODO: Update the origin_url
177-
{% with origin_url="https://jupyterlite.mat3ra.com/retro/notebooks/?path=api-examples/other/materials_designer/specific_examples/defect_surface_island_titanium_nitride.ipynb" %}
178-
{% include 'jupyterlite_embed.html' %}
179-
{% endwith %}
180-
#}
181-
-->
175+
## References
176+
177+
1. D. G. Sangiovanni, A. B. Mei, D. Edström, L. Hultman, V. Chirita, I. Petrov, and J. E. Greene, "Effects of surface vibrations on interlayer mass transport: Ab initio molecular dynamics investigation of Ti adatom descent pathways and rates from TiN/TiN(001) islands", Physical Review B, 2018. [DOI: 10.1103/PhysRevB.97.035406](https://journals.aps.org/prb/abstract/10.1103/PhysRevB.97.035406){:target='_blank'}.
182178

183179
## Tags
184180

lang/en/docs/tutorials/materials/specific/interface-bilayer-twisted-commensurate-lattices-molybdenum-disulfide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,7 @@ The interactive JupyterLite notebook for creating twisted bilayer MoS2 structure
145145

146146
1. Kaihui Liu, Liming Zhang, Ting Cao, Chenhao Jin, Diana Qiu, Qin Zhou, Alex Zettl, Peidong Yang, Steve G. Louie & Feng Wang, "Evolution of interlayer coupling in twisted molybdenum disulfide bilayers" Nature Communications volume 5, Article number: 4966 (2014) [DOI: 10.1038/ncomms5966](https://doi.org/10.1038/ncomms5966)
147147
2. Cao, Y., Fatemi, V., Fang, S. et al. Unconventional superconductivity in magic-angle graphene superlattices. Nature 556, 43–50 (2018). [DOI: 10.1038/nature26160](https://doi.org/10.1038/nature26160)
148+
149+
## Tags
150+
151+
`2d-materials`, `layers`, `bilayer`, `twisted`, `commensurate`, `molybdenum`, `disulfide`

mkdocs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ extra:
4747
provider: google
4848
property: UA-69270713-5
4949
jupyterlite:
50-
origin_url: https://jupyterlite.mat3ra.com/lab
51-
notebooks_path_root: api-examples/other/materials_designer
50+
origin_url: https://jupyterlite.mat3ra.com/retro/notebooks
51+
# Ucomment to use lab instead of notebook
52+
# origin_url: https://jupyterlite.mat3ra.com/lab/tree
53+
notebooks_path_root: made
5254

5355
markdown_extensions:
5456
- admonition

0 commit comments

Comments
 (0)