diff --git a/.github/workflows/VersionCheck.yml b/.github/workflows/VersionCheck.yml new file mode 100644 index 0000000..69444f1 --- /dev/null +++ b/.github/workflows/VersionCheck.yml @@ -0,0 +1,11 @@ +name: "Version Check" + +on: + pull_request: + +jobs: + version-check: + name: "Version Check" + uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@main" + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/LICENSE b/LICENSE index 261eeb9..351a3f0 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2024 The Simons Foundation, Inc. - All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Project.toml b/Project.toml index f42591e..08efb8d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorMPS" uuid = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.3.14" +version = "0.3.15" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/README.md b/README.md index 0ab9496..173a792 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,11 @@ Finite MPS and MPO methods based on the Julia version of [ITensor](https://www.i ## Support -Flatiron Center for Computational Quantum Physics logo. + + + Flatiron Center for Computational Quantum Physics logo. + + ITensorMPS.jl is supported by the Flatiron Institute, a division of the Simons Foundation. diff --git a/docs/make.jl b/docs/make.jl index fce7cd2..d0bb5ca 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -16,7 +16,7 @@ makedocs(; format=Documenter.HTML(; canonical="https://itensor.github.io/ITensorMPS.jl", edit_link="main", - assets=["assets/favicon.ico"], + assets=["assets/favicon.ico", "assets/extras.css"], prettyurls=false, ), pages=[ diff --git a/docs/make_index.jl b/docs/make_index.jl index a62a03c..6718c7c 100644 --- a/docs/make_index.jl +++ b/docs/make_index.jl @@ -4,7 +4,8 @@ using ITensorMPS: ITensorMPS function ccq_logo(content) include_ccq_logo = """ ```@raw html - Flatiron Center for Computational Quantum Physics logo. + Flatiron Center for Computational Quantum Physics logo. + Flatiron Center for Computational Quantum Physics logo. ``` """ content = replace(content, "{CCQ_LOGO}" => include_ccq_logo) diff --git a/docs/make_readme.jl b/docs/make_readme.jl index ffe4497..4e6db12 100644 --- a/docs/make_readme.jl +++ b/docs/make_readme.jl @@ -3,7 +3,10 @@ using ITensorMPS: ITensorMPS function ccq_logo(content) include_ccq_logo = """ - Flatiron Center for Computational Quantum Physics logo. + + + Flatiron Center for Computational Quantum Physics logo. + """ content = replace(content, "{CCQ_LOGO}" => include_ccq_logo) return content @@ -14,5 +17,5 @@ Literate.markdown( joinpath(pkgdir(ITensorMPS)); flavor=Literate.CommonMarkFlavor(), name="README", - preprocess=ccq_logo, + postprocess=ccq_logo, ) diff --git a/docs/src/assets/CCQ-dark.png b/docs/src/assets/CCQ-dark.png new file mode 100644 index 0000000..fbaef52 Binary files /dev/null and b/docs/src/assets/CCQ-dark.png differ diff --git a/docs/src/assets/CCQ.png b/docs/src/assets/CCQ.png index ce43597..e13f908 100644 Binary files a/docs/src/assets/CCQ.png and b/docs/src/assets/CCQ.png differ diff --git a/docs/src/assets/extras.css b/docs/src/assets/extras.css new file mode 100644 index 0000000..aaab0f8 --- /dev/null +++ b/docs/src/assets/extras.css @@ -0,0 +1,15 @@ +.display-light-only { + display: block; +} + +.display-dark-only { + display: none; +} + +.theme--documenter-dark .display-light-only { + display: none; +} + +.theme--documenter-dark .display-dark-only { + display: block; +}