File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name = " ITensorPkgSkeleton"
22uuid = " 3d388ab1-018a-49f4-ae50-18094d5f71ea"
33authors = [" ITensor developers <support@itensor.org> and contributors" ]
4- version = " 0.3.8 "
4+ version = " 0.3.9 "
55
66[deps ]
77DocStringExtensions = " ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Original file line number Diff line number Diff line change 99
1010## Support
1111
12- <img src =" docs/src/assets/CCQ.png " width =" 20% " alt =" Flatiron Center for Computational Quantum Physics logo. " >
12+ <picture >
13+ <source media =" (prefers-color-scheme: dark) " width =" 20% " srcset =" docs/src/assets/CCQ-dark.png " >
14+ <img alt =" Flatiron Center for Computational Quantum Physics logo. " width =" 20% " src =" docs/src/assets/CCQ.png " >
15+ </picture >
16+
1317
1418ITensorPkgSkeleton.jl is supported by the Flatiron Institute, a division of the Simons Foundation.
1519
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ makedocs(;
1414 format= Documenter. HTML (;
1515 canonical= " https://ITensor.github.io/ITensorPkgSkeleton.jl" ,
1616 edit_link= " main" ,
17- assets= [" assets/favicon.ico" ],
17+ assets= [" assets/favicon.ico" , " assets/extras.css " ],
1818 ),
1919 pages= [" Home" => " index.md" , " Reference" => " reference.md" ],
2020)
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ using ITensorPkgSkeleton: ITensorPkgSkeleton
44function ccq_logo (content)
55 include_ccq_logo = """
66 ```@raw html
7- <img src="assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo.">
7+ <img class="display-light-only" src="assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo."/>
8+ <img class="display-dark-only" src="assets/CCQ-dark.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo."/>
89 ```
910 """
1011 content = replace (content, " {CCQ_LOGO}" => include_ccq_logo)
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ using ITensorPkgSkeleton: ITensorPkgSkeleton
33
44function ccq_logo (content)
55 include_ccq_logo = """
6- <img src="docs/src/assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo.">
6+ <picture>
7+ <source media="(prefers-color-scheme: dark)" width="20%" srcset="docs/src/assets/CCQ-dark.png">
8+ <img alt="Flatiron Center for Computational Quantum Physics logo." width="20%" src="docs/src/assets/CCQ.png">
9+ </picture>
710 """
811 content = replace (content, " {CCQ_LOGO}" => include_ccq_logo)
912 return content
@@ -14,5 +17,5 @@ Literate.markdown(
1417 joinpath (pkgdir (ITensorPkgSkeleton));
1518 flavor= Literate. CommonMarkFlavor (),
1619 name= " README" ,
17- preprocess = ccq_logo,
20+ postprocess = ccq_logo,
1821)
Original file line number Diff line number Diff line change 1+ .display-light-only {
2+ display : block;
3+ }
4+
5+ .display-dark-only {
6+ display : none;
7+ }
8+
9+ .theme--documenter-dark .display-light-only {
10+ display : none;
11+ }
12+
13+ .theme--documenter-dark .display-dark-only {
14+ display : block;
15+ }
Original file line number Diff line number Diff line change 99
1010## Support
1111
12- <img src =" docs/src/assets/CCQ.png " width =" 20% " alt =" Flatiron Center for Computational Quantum Physics logo. " >
12+ <picture >
13+ <source media =" (prefers-color-scheme: dark) " width =" 20% " srcset =" docs/src/assets/CCQ-dark.png " >
14+ <img alt =" Flatiron Center for Computational Quantum Physics logo. " width =" 20% " src =" docs/src/assets/CCQ.png " >
15+ </picture >
1316
1417{PKGNAME}.jl is supported by the Flatiron Institute, a division of the Simons Foundation.
1518
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ makedocs(;
1414 format= Documenter. HTML (;
1515 canonical= " https://ITensor.github.io/{PKGNAME}.jl" ,
1616 edit_link= " main" ,
17- assets= [" assets/favicon.ico" ],
17+ assets= [" assets/favicon.ico" , " assets/extras.css " ],
1818 ),
1919 pages= [" Home" => " index.md" , " Reference" => " reference.md" ],
2020)
You can’t perform that action at this time.
0 commit comments