From 546955c1e6ac06db0db70c4cbe32126e6fbb1989 Mon Sep 17 00:00:00 2001 From: jmartfrut Date: Mon, 23 Nov 2026 16:13:12 +0100 Subject: [PATCH] Drop the .jl suffix from the repository name in links The repository is renamed MultiSimOLab/HyperFEMTutorials: it is not a registered package, so the .jl suffix is not needed. Update the links in the README, the documentation (repo, canonical URL, notebook and nbviewer links, deploydocs) and CITATION.cff. GitHub Pages does not redirect, so the documentation moves to multisimolab.github.io/HyperFEMTutorials/. --- CITATION.cff | 4 ++-- README.md | 12 ++++++------ docs/make.jl | 10 +++++----- docs/src/index.md | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 8e09228..d4d8bef 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,9 +1,9 @@ cff-version: 1.2.0 message: "If you use HyperFEM or these tutorials, please cite the article below and Gridap." -title: "HyperFEMTutorials.jl: tutorials of HyperFEM.jl" +title: "HyperFEMTutorials: tutorials of HyperFEM.jl" authors: - name: MultiSimOLab -repository-code: "https://github.com/MultiSimOLab/HyperFEMTutorials.jl" +repository-code: "https://github.com/MultiSimOLab/HyperFEMTutorials" license: MIT preferred-citation: type: article diff --git a/README.md b/README.md index ac113c0..9e58342 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ # HyperFEM tutorials -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://multisimolab.github.io/HyperFEMTutorials.jl/dev/) -[![CI](https://github.com/MultiSimOLab/HyperFEMTutorials.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/MultiSimOLab/HyperFEMTutorials.jl/actions/workflows/CI.yml?query=branch%3Amain) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://multisimolab.github.io/HyperFEMTutorials/dev/) +[![CI](https://github.com/MultiSimOLab/HyperFEMTutorials/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/MultiSimOLab/HyperFEMTutorials/actions/workflows/CI.yml?query=branch%3Amain) Tutorials of [HyperFEM.jl](https://github.com/MultiSimOLab/HyperFEM.jl), a library of the [Gridap](https://github.com/gridap/Gridap.jl) ecosystem for the finite-element simulation of multiphysics problems with @@ -11,7 +11,7 @@ hyperelastic materials: thermo-, electro- and magneto-mechanics at finite strain and solvers for large systems. Every tutorial is a self-contained Julia script in [`src/`](src/). The -[documentation](https://multisimolab.github.io/HyperFEMTutorials.jl/dev/) turns each one into a page that explains the +[documentation](https://multisimolab.github.io/HyperFEMTutorials/dev/) turns each one into a page that explains the problem, the equations and every step of the code, with a Jupyter notebook generated from the same script. Each script ends with quantitative checks of its result (exact solutions, published benchmarks, conservation laws), which are also the test suite of this repository. @@ -21,8 +21,8 @@ the test suite of this repository. Julia 1.12 or later is needed. Clone the repository and install the dependencies (HyperFEM 0.3, HyperFEMKernels 0.2.6, Gridap 0.20.8, …): ``` -git clone https://github.com/MultiSimOLab/HyperFEMTutorials.jl.git -cd HyperFEMTutorials.jl +git clone https://github.com/MultiSimOLab/HyperFEMTutorials.git +cd HyperFEMTutorials julia --project=. -e 'using Pkg; Pkg.instantiate()' ``` @@ -81,7 +81,7 @@ julia -t 4 --project=. -e 'using Pkg; Pkg.test()' runs every tutorial in its reduced case. `HYPERFEM_TUTORIALS_GROUP` (`basics`, `coupled`, `contact`, `fluids`, `solvers`, `dynamics`) and `HYPERFEM_TUTORIALS_ONLY` (e.g. `E02,E10`) select tutorials; `HYPERFEM_TUTORIALS_PETSC=0` -skips the parts that use PETSc. See [Running and testing](https://multisimolab.github.io/HyperFEMTutorials.jl/dev/running/). +skips the parts that use PETSc. See [Running and testing](https://multisimolab.github.io/HyperFEMTutorials/dev/running/). ## How to cite diff --git a/docs/make.jl b/docs/make.jl index f351195..4a49b8b 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -9,9 +9,9 @@ const ROOT = dirname(@__DIR__) include(joinpath(ROOT, "src", "HyperFEMTutorials.jl")) using .HyperFEMTutorials: TUTORIALS -const REPO = "https://github.com/MultiSimOLab/HyperFEMTutorials.jl" -const SITE = "https://multisimolab.github.io/HyperFEMTutorials.jl/dev" -const NBVIEWER = "https://nbviewer.org/urls/multisimolab.github.io/HyperFEMTutorials.jl/dev/notebooks" +const REPO = "https://github.com/MultiSimOLab/HyperFEMTutorials" +const SITE = "https://multisimolab.github.io/HyperFEMTutorials/dev" +const NBVIEWER = "https://nbviewer.org/urls/multisimolab.github.io/HyperFEMTutorials/dev/notebooks" available = filter(t -> isfile(joinpath(ROOT, "src", t.file)), TUTORIALS) stem(t) = splitext(t.file)[1] @@ -52,7 +52,7 @@ push!(pages, "Running and testing" => "running.md") makedocs(; sitename = "HyperFEM tutorials", authors = "MultiSimOLab", - repo = Remotes.GitHub("MultiSimOLab", "HyperFEMTutorials.jl"), + repo = Remotes.GitHub("MultiSimOLab", "HyperFEMTutorials"), format = Documenter.HTML(; prettyurls = get(ENV, "CI", "false") == "true", canonical = SITE, edit_link = "main", size_threshold_warn = 400 * 2^10, size_threshold = 800 * 2^10, mathengine = Documenter.MathJax3()), @@ -61,4 +61,4 @@ makedocs(; checkdocs = :none, ) -deploydocs(; repo = "github.com/MultiSimOLab/HyperFEMTutorials.jl.git", devbranch = "main", push_preview = false) +deploydocs(; repo = "github.com/MultiSimOLab/HyperFEMTutorials.git", devbranch = "main", push_preview = false) diff --git a/docs/src/index.md b/docs/src/index.md index d05c25d..c5592b4 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -5,7 +5,7 @@ Tutorials of [HyperFEM.jl](https://github.com/MultiSimOLab/HyperFEM.jl), a libra hyperelastic materials: thermo-, electro- and magneto-mechanics at finite strains, contact, fluids, transient problems and solvers for large systems. -Every tutorial is a self-contained Julia script in the [`src/`](https://github.com/MultiSimOLab/HyperFEMTutorials.jl/tree/main/src) +Every tutorial is a self-contained Julia script in the [`src/`](https://github.com/MultiSimOLab/HyperFEMTutorials/tree/main/src) folder of the repository. Its page explains the problem, the equations and every step of the code, and links to a Jupyter notebook generated from the same script. Each script ends with quantitative checks of its result (exact solutions, published benchmarks, conservation laws), which are also the test suite of the repository. @@ -13,8 +13,8 @@ solutions, published benchmarks, conservation laws), which are also the test sui ## Getting started ``` -git clone https://github.com/MultiSimOLab/HyperFEMTutorials.jl.git -cd HyperFEMTutorials.jl +git clone https://github.com/MultiSimOLab/HyperFEMTutorials.git +cd HyperFEMTutorials julia --project=. -e 'using Pkg; Pkg.instantiate()' julia -t 4 --project=. src/E02_Hyperelastic_stretch.jl ```