From ba4a0e8d187772f7e5197298bd4d0af95c0aae53 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Wed, 22 Mar 2023 10:01:56 +0100 Subject: [PATCH] hugo: shortcode for link to libformfactor --- hugo/content/installation/building/unix/get-source.md | 2 +- hugo/content/ref/sample/particle/ff/hard/bipyramid4.md | 2 +- hugo/content/ref/sample/particle/ff/hard/cantellatedcube.md | 2 +- hugo/content/ref/sample/particle/ff/hard/dodecahedron.md | 2 +- hugo/content/ref/sample/particle/ff/hard/icosahedron.md | 2 +- hugo/content/ref/sample/particle/ff/hard/platonicoctahedron.md | 2 +- hugo/content/ref/sample/particle/ff/hard/platonictetrahedron.md | 2 +- hugo/content/ref/sample/particle/ff/hard/prism3.md | 2 +- hugo/content/ref/sample/particle/ff/hard/prism6.md | 2 +- hugo/content/ref/sample/particle/ff/hard/pyramid2.md | 2 +- hugo/content/ref/sample/particle/ff/hard/pyramid3.md | 2 +- hugo/content/ref/sample/particle/ff/hard/pyramid4.md | 2 +- hugo/content/ref/sample/particle/ff/hard/pyramid6.md | 2 +- hugo/content/ref/sample/particle/ff/hard/truncatedcube.md | 2 +- hugo/layouts/shortcodes/link-libformfactor.html | 1 + 15 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 hugo/layouts/shortcodes/link-libformfactor.html diff --git a/hugo/content/installation/building/unix/get-source.md b/hugo/content/installation/building/unix/get-source.md index d6faf055e99..0b0da6118f0 100644 --- a/hugo/content/installation/building/unix/get-source.md +++ b/hugo/content/installation/building/unix/get-source.md @@ -7,7 +7,7 @@ weight = 20 Besides the sources of [BornAgain](https://jugit.fz-juelich.de/mlz/bornagain) you need those of our support libraries [libheinz](https://jugit.fz-juelich.de/mlz/libheinz) -and [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +and {{% link-libformfactor %}}. If in doubt, install the tarballs of the latest published release: ```bash diff --git a/hugo/content/ref/sample/particle/ff/hard/bipyramid4.md b/hugo/content/ref/sample/particle/ff/hard/bipyramid4.md index 9765498c612..5a0be0cb865 100644 --- a/hugo/content/ref/sample/particle/ff/hard/bipyramid4.md +++ b/hugo/content/ref/sample/particle/ff/hard/bipyramid4.md @@ -37,7 +37,7 @@ Class {{% ref-class "Sample/HardParticle" "Bipyramid4" %}} inherits from the int {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/cantellatedcube.md b/hugo/content/ref/sample/particle/ff/hard/cantellatedcube.md index 58dc55a175d..783cb9d60c3 100644 --- a/hugo/content/ref/sample/particle/ff/hard/cantellatedcube.md +++ b/hugo/content/ref/sample/particle/ff/hard/cantellatedcube.md @@ -35,7 +35,7 @@ As for any other [Form factor](/py/sample/particle/ff). Class {{% ref-class "Sample/HardParticle" "CantellatedCube" %}} inherits from the interface class {{% ref-class "Sample/Particle" "IFormFactor" %}}. -Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/dodecahedron.md b/hugo/content/ref/sample/particle/ff/hard/dodecahedron.md index 7f0f690176a..b31e9297920 100644 --- a/hugo/content/ref/sample/particle/ff/hard/dodecahedron.md +++ b/hugo/content/ref/sample/particle/ff/hard/dodecahedron.md @@ -31,7 +31,7 @@ As for any other [Form factor](/py/sample/particle/ff). Class {{% ref-class "Sample/HardParticle" "Dodecahedron" %}} inherits from the interface class {{% ref-class "Sample/Particle" "IFormFactor" %}}.). -Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/icosahedron.md b/hugo/content/ref/sample/particle/ff/hard/icosahedron.md index eee6dda92d2..100c7e5e72f 100644 --- a/hugo/content/ref/sample/particle/ff/hard/icosahedron.md +++ b/hugo/content/ref/sample/particle/ff/hard/icosahedron.md @@ -31,7 +31,7 @@ As for any other [Form factor](/py/sample/particle/ff). Class {{% ref-class "Sample/HardParticle" "Icosahedron" %}} inherits from the interface class {{% ref-class "Sample/Particle" "IFormFactor" %}}. -Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/platonicoctahedron.md b/hugo/content/ref/sample/particle/ff/hard/platonicoctahedron.md index fef8702ed71..e31413e4671 100644 --- a/hugo/content/ref/sample/particle/ff/hard/platonicoctahedron.md +++ b/hugo/content/ref/sample/particle/ff/hard/platonicoctahedron.md @@ -31,7 +31,7 @@ As for any other [Form factor](/py/sample/particle/ff). Class {{% ref-class "Sample/HardParticle" "PlatonicOctahedron" %}} inherits from the interface class {{% ref-class "Sample/Particle" "IFormFactor" %}}. -Form factor computation is based on the generic form factor of a polyhedron provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +Form factor computation is based on the generic form factor of a polyhedron provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/platonictetrahedron.md b/hugo/content/ref/sample/particle/ff/hard/platonictetrahedron.md index 117e721e354..0993454f02b 100644 --- a/hugo/content/ref/sample/particle/ff/hard/platonictetrahedron.md +++ b/hugo/content/ref/sample/particle/ff/hard/platonictetrahedron.md @@ -32,7 +32,7 @@ As for any other [Form factor](/py/sample/particle/ff). Class {{% ref-class "Sample/HardParticle" "PlatonicTetrahedron" %}} inherits from the interface class {{% ref-class "Sample/Particle" "IFormFactor" %}}. -Form factor computation is based on the generic form factor of a polyhedron provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +Form factor computation is based on the generic form factor of a polyhedron provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/prism3.md b/hugo/content/ref/sample/particle/ff/hard/prism3.md index 5fdb6860a44..fd5bca3c23c 100644 --- a/hugo/content/ref/sample/particle/ff/hard/prism3.md +++ b/hugo/content/ref/sample/particle/ff/hard/prism3.md @@ -33,7 +33,7 @@ Form factor is computed as $$ F(\mathbf{q})=H \space \exp\Big(iq_z\dfrac{H}{2}\Big) \space \text{sinc}\Big(q_z\dfrac{H}{2}\Big) \space F_{||}(\mathbf{q}_{||}) $$ -where the form factor $F_{||}(\mathbf{q}_{||}) $ computation is based on the generic form factor of a planar polygon provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +where the form factor $F_{||}(\mathbf{q}_{||}) $ computation is based on the generic form factor of a planar polygon provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/prism6.md b/hugo/content/ref/sample/particle/ff/hard/prism6.md index c8312b7b09d..cf4b7392220 100644 --- a/hugo/content/ref/sample/particle/ff/hard/prism6.md +++ b/hugo/content/ref/sample/particle/ff/hard/prism6.md @@ -33,7 +33,7 @@ Form factor is computed as $$ F(\mathbf{q})=H \space \exp\Big(iq_z\dfrac{H}{2}\Big) \space \text{sinc}\Big(q_z\dfrac{H}{2}\Big) \space F_{||}(\mathbf{q}_{||}) $$ -where the form factor $F_{||}(\mathbf{q}_{||}) $ computation is based on the generic form factor of a planar polygon with two-fold symmetry $(S_2)$ provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +where the form factor $F_{||}(\mathbf{q}_{||}) $ computation is based on the generic form factor of a planar polygon with two-fold symmetry $(S_2)$ provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/pyramid2.md b/hugo/content/ref/sample/particle/ff/hard/pyramid2.md index 93f51bbdb78..d51009fc8d8 100644 --- a/hugo/content/ref/sample/particle/ff/hard/pyramid2.md +++ b/hugo/content/ref/sample/particle/ff/hard/pyramid2.md @@ -36,7 +36,7 @@ Class {{% ref-class "Sample/HardParticle" "Pyramid2" %}} inherits from the inter {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/pyramid3.md b/hugo/content/ref/sample/particle/ff/hard/pyramid3.md index 7406d793d07..e67f5afe43c 100644 --- a/hugo/content/ref/sample/particle/ff/hard/pyramid3.md +++ b/hugo/content/ref/sample/particle/ff/hard/pyramid3.md @@ -38,7 +38,7 @@ Class {{% ref-class "Sample/HardParticle" "Pyramid3" %}} inherits from the inter {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/pyramid4.md b/hugo/content/ref/sample/particle/ff/hard/pyramid4.md index dbb3dad6b47..93894fd0c5d 100644 --- a/hugo/content/ref/sample/particle/ff/hard/pyramid4.md +++ b/hugo/content/ref/sample/particle/ff/hard/pyramid4.md @@ -35,7 +35,7 @@ Class {{% ref-class "Sample/HardParticle" "Pyramid4" %}} inherits from the inter {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) diff --git a/hugo/content/ref/sample/particle/ff/hard/pyramid6.md b/hugo/content/ref/sample/particle/ff/hard/pyramid6.md index 8f18dcf2426..a54980af13a 100644 --- a/hugo/content/ref/sample/particle/ff/hard/pyramid6.md +++ b/hugo/content/ref/sample/particle/ff/hard/pyramid6.md @@ -37,7 +37,7 @@ Class {{% ref-class "Sample/HardParticle" "Pyramid6" %}} inherits from the inter {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/content/ref/sample/particle/ff/hard/truncatedcube.md b/hugo/content/ref/sample/particle/ff/hard/truncatedcube.md index 723d98381fc..dd82407a240 100644 --- a/hugo/content/ref/sample/particle/ff/hard/truncatedcube.md +++ b/hugo/content/ref/sample/particle/ff/hard/truncatedcube.md @@ -35,7 +35,7 @@ Class {{% ref-class "Sample/HardParticle" "TruncatedCube" %}} inherits from the {{% ref-class "Sample/Particle" "IFormFactor" %}}. Form factor computation is based on the generic form factor of a polyhedron -provided by [libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor). +provided by {{% link-libformfactor %}}. Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/BasicTest.cpp) against diff --git a/hugo/layouts/shortcodes/link-libformfactor.html b/hugo/layouts/shortcodes/link-libformfactor.html new file mode 100644 index 00000000000..ec871470c65 --- /dev/null +++ b/hugo/layouts/shortcodes/link-libformfactor.html @@ -0,0 +1 @@ +[libformfactor](https://jugit.fz-juelich.de/mlz/libformfactor) -- GitLab