Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit 05c6399

Browse files
committed
fix conflict
2 parents 548154b + e653a7e commit 05c6399

File tree

11 files changed

+33
-40
lines changed

11 files changed

+33
-40
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ env:
44
on:
55
push:
66
branches: '*'
7+
paths-ignore:
8+
- 'docs/**'
79
tags: '*'
810
pull_request:
11+
paths-ignore:
12+
- 'docs/**'
913
concurrency:
1014
# Skip intermediate builds: always.
1115
# Cancel intermediate builds: only if it is a pull request build.
@@ -28,7 +32,7 @@ jobs:
2832
arch:
2933
- x64
3034
steps:
31-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3236
- uses: julia-actions/setup-julia@v1
3337
with:
3438
version: ${{ matrix.version }}
@@ -46,7 +50,7 @@ jobs:
4650
permissions:
4751
contents: write
4852
steps:
49-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5054
- uses: julia-actions/setup-julia@v1
5155
with:
5256
version: '1'

.github/workflows/FormatCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
version: ${{ matrix.julia-version }}
2323

24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Install JuliaFormatter and format
2626
# This will use the latest version by default but you can set the version like so:
2727
#

.github/workflows/Invalidations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- uses: julia-actions/setup-julia@v1
2020
with:
2121
version: '1'
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: julia-actions/julia-buildpkg@v1
2424
- uses: julia-actions/julia-invalidations@v1
2525
id: invs_pr
2626

27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
ref: ${{ github.event.repository.default_branch }}
3030
- uses: julia-actions/julia-buildpkg@v1

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "NeuralOperators"
22
uuid = "ea5c82af-86e5-48da-8ee1-382d6ad7af4b"
33
authors = ["JingYu Ning <[email protected]> and contributors"]
4-
version = "0.4.6"
4+
version = "0.4.7"
55

66
[deps]
77
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
@@ -21,6 +21,7 @@ FFTW = "1"
2121
Flux = "0.14"
2222
GeometricFlux = "0.14"
2323
KernelAbstractions = "0.7, 0.8, 0.9"
24+
Statistics = "1"
2425
Tullio = "0.3"
2526
Zygote = "0.6"
2627
julia = "1.6"

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
55
NeuralOperators = "ea5c82af-86e5-48da-8ee1-382d6ad7af4b"
66

77
[compat]
8-
Documenter = "0.27"
9-
DocumenterCitations = "0.2"
8+
Documenter = "1"
9+
DocumenterCitations = "1"
1010
Flux = "0.13"
1111
NeuralOperators = "0.4"

docs/make.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@ using DocumenterCitations
55
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml", force = true)
66
cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
77

8-
bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib"), sorting = :nyt)
8+
bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib"), style = :numeric)
99

1010
DocMeta.setdocmeta!(NeuralOperators, :DocTestSetup, :(using NeuralOperators);
1111
recursive = true)
1212

1313
include("pages.jl")
1414

15-
makedocs(bib,
16-
modules = [NeuralOperators],
15+
makedocs(modules = [NeuralOperators],
1716
authors = "JingYu Ning <[email protected]> and contributors",
1817
repo = "https://github.com/SciML/NeuralOperators.jl/blob/{commit}{path}#{line}",
1918
sitename = "NeuralOperators.jl",
19+
clean = true, doctest = false, linkcheck = true,
2020
format = Documenter.HTML(;
2121
prettyurls = get(ENV, "CI", "false") == "true",
2222
canonical = "https://docs.sciml.ai/NeuralOperators/stable/",
2323
assets = ["assets/favicon.ico"]),
24+
plugins=[bib],
2425
pages = pages)
2526

2627
deploydocs(;

docs/src/index.md

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -143,32 +143,19 @@ Pkg.status(; mode = PKGMODE_MANIFEST) # hide
143143
</details>
144144
```
145145

146-
```@raw html
147-
You can also download the
148-
<a href="
149-
```
150-
151-
```@eval
152-
using TOML
153-
version = TOML.parse(read("../../Project.toml", String))["version"]
154-
name = TOML.parse(read("../../Project.toml", String))["name"]
155-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
156-
"/assets/Manifest.toml"
157-
```
158-
159-
```@raw html
160-
">manifest</a> file and the
161-
<a href="
162-
```
163-
164146
```@eval
165147
using TOML
148+
using Markdown
166149
version = TOML.parse(read("../../Project.toml", String))["version"]
167150
name = TOML.parse(read("../../Project.toml", String))["name"]
168-
link = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
169-
"/assets/Project.toml"
170-
```
171-
172-
```@raw html
173-
">project</a> file.
174-
```
151+
link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
152+
"/assets/Manifest.toml"
153+
link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version *
154+
"/assets/Project.toml"
155+
Markdown.parse("""You can also download the
156+
[manifest]($link_manifest)
157+
file and the
158+
[project]($link_project)
159+
file.
160+
""")
161+
```

example/Burgers/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NeuralOperators = "ea5c82af-86e5-48da-8ee1-382d6ad7af4b"
1313

1414
[compat]
1515
BSON = "0.3"
16-
CUDA = "3.12, 4"
16+
CUDA = "3.12, 4, 5"
1717
DataDeps = "0.7"
1818
Flux = "0.13"
1919
FluxTraining = "0.3"

example/DoublePendulum/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
1717
[compat]
1818
BSON = "0.3"
1919
CSV = "0.10"
20-
CUDA = "3.12, 4"
20+
CUDA = "3.12, 4, 5"
2121
DataDeps = "0.7"
2222
DataFrames = "1.4"
2323
Flux = "0.13"

example/FlowOverCircle/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WaterLily = "ed894a53-35f9-47f1-b17f-85db9237eebd"
1818

1919
[compat]
2020
BSON = "0.3"
21-
CUDA = "3.12, 4"
21+
CUDA = "3.12, 4, 5"
2222
Flux = "0.13"
2323
FluxTraining = "0.3"
2424
GeometricFlux = "0.13"

0 commit comments

Comments
 (0)