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

Commit

Permalink
Separate out pages and bump a tag
Browse files Browse the repository at this point in the history
We're building a SciML global documentation (https://docs.sciml.ai/dev/, https://github.com/SciML/SciMLDocs). All it should need is the `pages` definition in a separate file.
  • Loading branch information
ChrisRackauckas committed Jun 2, 2022
1 parent 5497a9d commit 51a7a5b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "NeuralOperators"
uuid = "ea5c82af-86e5-48da-8ee1-382d6ad7af4b"
authors = ["JingYu Ning <[email protected]> and contributors"]
version = "0.3.2"
version = "0.3.3"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Expand Down
9 changes: 3 additions & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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(;
Expand Down
8 changes: 8 additions & 0 deletions docs/pages.jl
Original file line number Diff line number Diff line change
@@ -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",
]

2 comments on commit 51a7a5b

@ChrisRackauckas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/61610

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.3 -m "<description of version>" 51a7a5b7d919db19b78542f45c632ac5de61b7c1
git push origin v0.3.3

Please sign in to comment.