Skip to content

Commit d1cb454

Browse files
Merge pull request #101 from lammpstutorials/fix-links
fixed href links
2 parents 4823bbf + 85b5bec commit d1cb454

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

docs/sphinx/source/tutorial2/tutorial.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ as well as the identity of the atoms that are linked by ``bonds``, ``angles``,
7777

7878
.. |unbreakable_data| raw:: html
7979

80-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/unbreakable.data" target="_blank">unbreakable.data</a>
80+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/unbreakable.data" target="_blank">unbreakable.data</a>
8181

8282
.. admonition:: Note
8383
:class: non-title-info
@@ -381,7 +381,7 @@ the **unbreakable.yaml** file can then be used to plot the stress-strain curve.
381381

382382
.. |yaml_reader| raw:: html
383383

384-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/unbreakable-yaml-reader.py" target="_blank">unbreakable-yaml-reader.py</a>
384+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/unbreakable-yaml-reader.py" target="_blank">unbreakable-yaml-reader.py</a>
385385

386386
.. figure:: figures/CNT-unbreakable-stress-strain-dm.png
387387
:class: only-dark
@@ -430,11 +430,11 @@ and must be placed next to **breakable.lmp**.
430430

431431
.. |breakable_lmp| raw:: html
432432

433-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/breakable.lmp" target="_blank">breakable.lmp</a>
433+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/breakable.lmp" target="_blank">breakable.lmp</a>
434434

435435
.. |CH_airebo| raw:: html
436436

437-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/CH.airebo" target="_blank">CH.airebo</a>
437+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/CH.airebo" target="_blank">CH.airebo</a>
438438

439439
.. admonition:: Note
440440
:class: non-title-info
@@ -458,7 +458,7 @@ the :math:`x`-axis, to allow for larger deformation of the CNT.
458458

459459
.. |breakable_data| raw:: html
460460

461-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/breakable.data" target="_blank">breakable.data</a>
461+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/breakable.data" target="_blank">breakable.data</a>
462462

463463
Start the simulation
464464
--------------------
@@ -546,7 +546,7 @@ curve reveals a linear (elastic) regime where
546546

547547
.. |unbreakable_yaml_reader| raw:: html
548548

549-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/unbreakable-yaml-reader.py" target="_blank">unbreakable-yaml-reader.py</a>
549+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/unbreakable-yaml-reader.py" target="_blank">unbreakable-yaml-reader.py</a>
550550

551551
.. figure:: figures/CNT-breakable-stress-energy-dm.png
552552
:class: only-dark
@@ -597,4 +597,4 @@ force fields with explicit bonds.
597597
598598
.. |breakable_with_tip| raw:: html
599599

600-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial2/breakable-with-tip.lmp" target="_blank">breakable-with-tip.lmp</a>,
600+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial2/breakable-with-tip.lmp" target="_blank">breakable-with-tip.lmp</a>,

docs/sphinx/source/tutorial3/tutorial.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ distances, etc). Thus add to **water.lmp** the line:
5959

6060
.. |parameters_inc_3| raw:: html
6161

62-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial3/parameters.inc" target="_blank">parameters.inc</a>
62+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial3/parameters.inc" target="_blank">parameters.inc</a>
6363

6464
.. code-block:: lammps
6565
@@ -105,7 +105,7 @@ or the IDs of the atoms that are connected by bonds and angles.
105105

106106
.. |water_mol_3| raw:: html
107107

108-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial3/water.mol" target="_blank">water.mol</a>
108+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial3/water.mol" target="_blank">water.mol</a>
109109

110110
.. figure:: figures/PEG-density-dm.png
111111
:class: only-dark
@@ -271,7 +271,7 @@ commands to **merge.lmp**:
271271

272272
.. |peg_mol_3| raw:: html
273273

274-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial3/peg.mol" target="_blank">peg.mol</a>
274+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial3/peg.mol" target="_blank">peg.mol</a>
275275

276276
.. code-block:: lammps
277277
@@ -500,7 +500,7 @@ Then, replace the existing ``dump`` and ``dump_modify`` commands with:
500500

501501
.. |pull_with_tip_lmp_3| raw:: html
502502

503-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial3/pull-with-tip.lmp" target="_blank">pull-with-tip.lmp</a>
503+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial3/pull-with-tip.lmp" target="_blank">pull-with-tip.lmp</a>
504504

505505
.. code-block:: lammps
506506

docs/sphinx/source/tutorial4/tutorial.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ bonds, and angles. Add the following lines to **create.lmp**:
100100

101101
.. |water_mol_4| raw:: html
102102

103-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial4/water.mol" target="_blank">water.mol</a>
103+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial4/water.mol" target="_blank">water.mol</a>
104104

105105
.. code-block:: lammps
106106
@@ -152,11 +152,11 @@ must be located next to **create.lmp**. The **parameters.inc** file contains the
152152

153153
.. |parameters_inc_4| raw:: html
154154

155-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial4/parameters.inc" target="_blank">parameters.inc</a>
155+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial4/parameters.inc" target="_blank">parameters.inc</a>
156156

157157
.. |groups_inc_4| raw:: html
158158

159-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial4/groups.inc" target="_blank">groups.inc</a>
159+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial4/groups.inc" target="_blank">groups.inc</a>
160160

161161
.. code-block:: lammps
162162

docs/sphinx/source/tutorial5/tutorial.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ charge of :math:`q = 1.1\,\text{e}`, and all oxygen atoms have a charge of :math
3535

3636
.. |silica_data_5| raw:: html
3737

38-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial5/silica.data" target="_blank">silica.data</a>
38+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial5/silica.data" target="_blank">silica.data</a>
3939

4040
.. admonition:: Note
4141
:class: non-title-info
@@ -66,7 +66,7 @@ equilibrate the charge.
6666

6767
.. |reaxCHOFe_inc_5| raw:: html
6868

69-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial5/reaxCHOFe.inc" target="_blank">reaxCHOFe.inc</a>
69+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial5/reaxCHOFe.inc" target="_blank">reaxCHOFe.inc</a>
7070

7171
Next, add the following commands to the **relax.lmp** file to track the
7272
evolution of the charges during the simulation:

docs/sphinx/source/tutorial6/tutorial.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Ensure that the |SiO_1990_vashishta_6| file is located in the same directory as
5050

5151
.. |SiO_1990_vashishta_6| raw:: html
5252

53-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial6/SiO.1990.vashishta" target="_blank">SiO.1990.vashishta</a>
53+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial6/SiO.1990.vashishta" target="_blank">SiO.1990.vashishta</a>
5454

5555
Next, add a ``dump image`` command to **generate.lmp** to follow the
5656
evolution of the system with time:
@@ -253,7 +253,7 @@ must be downloaded and located next to **gcmc.lmp**.
253253

254254
.. |H2O_mol_6| raw:: html
255255

256-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial6/H2O.mol" target="_blank">H2O.mol</a>
256+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial6/H2O.mol" target="_blank">H2O.mol</a>
257257

258258
Before going further, we need to make a few changes to our data file.
259259
Currently, the **cracking.data** file includes only two atom types, but we require four.

docs/sphinx/source/tutorial7/tutorial.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Then, run the WHAM algorithm by typing the following command in the terminal:
438438

439439
.. |umbrella_sampling_meta| raw:: html
440440

441-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial7/umbrella-sampling.meta" target="_blank">umbrella-sampling.meta</a>
441+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial7/umbrella-sampling.meta" target="_blank">umbrella-sampling.meta</a>
442442

443443
.. code-block:: bash
444444

docs/sphinx/source/tutorial8/tutorial.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ CNT. Add the following line to **mixing.lmp**:
3838

3939
.. |CNT_data_8| raw:: html
4040

41-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/CNT.data" target="_blank">CNT.data</a>
41+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/CNT.data" target="_blank">CNT.data</a>
4242

4343
.. code-block:: lammps
4444
@@ -51,7 +51,7 @@ we will use the |styrene_mol_8| molecule template file. Include the following co
5151

5252
.. |styrene_mol_8| raw:: html
5353

54-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/styrene.mol" target="_blank">styrene.mol</a>
54+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/styrene.mol" target="_blank">styrene.mol</a>
5555

5656
.. code-block:: lammps
5757
@@ -175,39 +175,39 @@ for polymer.
175175

176176
.. |M_M_pre_mol_8| raw:: html
177177

178-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-M_pre.mol" target="_blank">M-M_pre.mol</a>
178+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-M_pre.mol" target="_blank">M-M_pre.mol</a>
179179

180180
.. |M_M_post_mol_8| raw:: html
181181

182-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-M_post.mol" target="_blank">M-M_post.mol</a>
182+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-M_post.mol" target="_blank">M-M_post.mol</a>
183183

184184
.. |M_M_rxnmap_8| raw:: html
185185

186-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-M.rxnmap" target="_blank">M-M.rxnmap</a>
186+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-M.rxnmap" target="_blank">M-M.rxnmap</a>
187187

188188
.. |M_P_pre_mol_8| raw:: html
189189

190-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-P_pre.mol" target="_blank">M-P_pre.mol</a>
190+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-P_pre.mol" target="_blank">M-P_pre.mol</a>
191191

192192
.. |M_P_post_mol_8| raw:: html
193193

194-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-P_post.mol" target="_blank">M-P_post.mol</a>
194+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-P_post.mol" target="_blank">M-P_post.mol</a>
195195

196196
.. |M_P_rxnmap_8| raw:: html
197197

198-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/M-P.rxnmap" target="_blank">M-P.rxnmap</a>
198+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/M-P.rxnmap" target="_blank">M-P.rxnmap</a>
199199

200200
.. |P_P_pre_mol_8| raw:: html
201201

202-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/P-P_pre.mol" target="_blank">P-P_pre.mol</a>
202+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/P-P_pre.mol" target="_blank">P-P_pre.mol</a>
203203

204204
.. |P_P_post_mol_8| raw:: html
205205

206-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/P-P_post.mol" target="_blank">P-P_post.mol</a>
206+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/P-P_post.mol" target="_blank">P-P_post.mol</a>
207207

208208
.. |P_P_rxnmap_8| raw:: html
209209

210-
<a href="../../../../../.dependencies/lammpstutorials-inputs/tutorial8/P-P.rxnmap" target="_blank">P-P.rxnmap</a>
210+
<a href="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials-inputs/refs/heads/main/tutorial8/P-P.rxnmap" target="_blank">P-P.rxnmap</a>
211211

212212
Simulating the reaction
213213
-----------------------

0 commit comments

Comments
 (0)