From 924328c023bc33be14bfabda6163fbc8031f298c Mon Sep 17 00:00:00 2001 From: mtfishman Date: Tue, 26 Nov 2024 11:23:08 -0500 Subject: [PATCH 1/2] Refactor workflow for making the README --- make_readme.jl => docs/make_readme.jl | 0 templates/{readme => docs}/README.md | 0 templates/{readme => docs/docs}/make_readme.jl | 0 templates/examples/examples/Project.toml | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename make_readme.jl => docs/make_readme.jl (100%) rename templates/{readme => docs}/README.md (100%) rename templates/{readme => docs/docs}/make_readme.jl (100%) diff --git a/make_readme.jl b/docs/make_readme.jl similarity index 100% rename from make_readme.jl rename to docs/make_readme.jl diff --git a/templates/readme/README.md b/templates/docs/README.md similarity index 100% rename from templates/readme/README.md rename to templates/docs/README.md diff --git a/templates/readme/make_readme.jl b/templates/docs/docs/make_readme.jl similarity index 100% rename from templates/readme/make_readme.jl rename to templates/docs/docs/make_readme.jl diff --git a/templates/examples/examples/Project.toml b/templates/examples/examples/Project.toml index b41660f..da87355 100644 --- a/templates/examples/examples/Project.toml +++ b/templates/examples/examples/Project.toml @@ -1,2 +1,2 @@ [deps] -{PKGNAME} = "3d388ab1-018a-49f4-ae50-18094d5f71ea" +{PKGNAME} = "{UUID}" From 63e915f1fc1a4f4749ba0e642ab8d203c5383059 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Tue, 26 Nov 2024 11:37:35 -0500 Subject: [PATCH 2/2] Fix literate check --- .github/workflows/LiterateCheck.yml | 2 +- templates/github/.github/workflows/LiterateCheck.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/LiterateCheck.yml b/.github/workflows/LiterateCheck.yml index 0fc1a4e..ade2453 100644 --- a/.github/workflows/LiterateCheck.yml +++ b/.github/workflows/LiterateCheck.yml @@ -21,7 +21,7 @@ jobs: Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() Pkg.add(PackageSpec(name="Literate"))' - julia -e 'include("make_readme.jl")' + julia -e 'include("docs/make_readme.jl")' - name: Check if docs need to be updated run: | julia -e ' diff --git a/templates/github/.github/workflows/LiterateCheck.yml b/templates/github/.github/workflows/LiterateCheck.yml index 0fc1a4e..ade2453 100644 --- a/templates/github/.github/workflows/LiterateCheck.yml +++ b/templates/github/.github/workflows/LiterateCheck.yml @@ -21,7 +21,7 @@ jobs: Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() Pkg.add(PackageSpec(name="Literate"))' - julia -e 'include("make_readme.jl")' + julia -e 'include("docs/make_readme.jl")' - name: Check if docs need to be updated run: | julia -e '