diff --git a/Project.toml b/Project.toml index 4b41e563..7b5d0c18 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NeuralOperators" uuid = "ea5c82af-86e5-48da-8ee1-382d6ad7af4b" authors = ["JingYu Ning and contributors"] -version = "0.3.2" +version = "0.3.3" [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" diff --git a/docs/make.jl b/docs/make.jl index 075c9619..27aace89 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -6,6 +6,8 @@ bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib"), sorting=:nyt) DocMeta.setdocmeta!(NeuralOperators, :DocTestSetup, :(using NeuralOperators); recursive=true) +include("pages.jl") + makedocs( bib, modules=[NeuralOperators], @@ -17,12 +19,7 @@ makedocs( canonical="http://neuraloperators.sciml.ai", assets=String[], ), - pages=[ - "Home" => "index.md", - "Introduction" => "introduction.md", - "APIs" => "apis.md", - "References" => "references.md", - ], + pages=pages, ) deploydocs(; diff --git a/docs/pages.jl b/docs/pages.jl new file mode 100644 index 00000000..938d7ad7 --- /dev/null +++ b/docs/pages.jl @@ -0,0 +1,8 @@ +# Put in a separate page so it can be used by SciMLDocs.jl + +pages = [ + "Home" => "index.md", + "Introduction" => "introduction.md", + "APIs" => "apis.md", + "References" => "references.md", + ] \ No newline at end of file