Skip to content

Commit 3f7965b

Browse files
authored
switch to theme Indigo (#333)
* use indigo theme * rm generated css * rm old scss * fix doctest * ignore generated css * upgrade to 1.6
1 parent 74d791e commit 3f7965b

5 files changed

Lines changed: 82 additions & 28 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- uses: actions/checkout@v2
8383
- uses: julia-actions/setup-julia@v1
8484
with:
85-
version: '1.5'
85+
version: '1.6'
8686
- run: |
8787
julia --project=docs -e '
8888
using Pkg

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Manifest.toml
66
docs/build
77
docs/site
88
docs/src/assets/chainrules.css
9+
docs/src/assets/indigo.css

docs/Manifest.toml

Lines changed: 76 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# This file is machine-generated - editing it directly is not advised
22

3+
[[ArgTools]]
4+
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
5+
6+
[[Artifacts]]
7+
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
8+
39
[[Base64]]
410
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
511

6-
[[BinaryProvider]]
7-
deps = ["Libdl", "Logging", "SHA"]
8-
git-tree-sha1 = "ecdec412a9abc8db54c0efc5548c64dfce072058"
9-
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
10-
version = "0.5.10"
11-
1212
[[ChainRulesCore]]
1313
deps = ["Compat", "LinearAlgebra", "SparseArrays"]
1414
path = ".."
1515
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
16-
version = "0.9.27"
16+
version = "0.9.37"
1717

1818
[[Compat]]
1919
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
@@ -39,20 +39,21 @@ git-tree-sha1 = "50ddf44c53698f5e784bbebb3f4b21c5807401b1"
3939
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
4040
version = "0.8.3"
4141

42+
[[DocThemeIndigo]]
43+
deps = ["Sass"]
44+
git-tree-sha1 = "7b15d5e64ae6e27f8cc9eaff280c305199c6bfc7"
45+
uuid = "8bac0ac5-51bf-41f9-885e-2bf1ac2bec5f"
46+
version = "0.1.0"
47+
4248
[[Documenter]]
4349
deps = ["Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
4450
git-tree-sha1 = "a4875e0763112d6d017126f3944f4133abb342ae"
4551
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4652
version = "0.25.5"
4753

48-
[[DocumenterTools]]
49-
deps = ["Base64", "DocStringExtensions", "Documenter", "FileWatching", "LibGit2", "Sass"]
50-
git-tree-sha1 = "9b40fd93f54ba5ef9d364981124a8ed389fd634e"
51-
uuid = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
52-
version = "0.1.9"
53-
54-
[[FileWatching]]
55-
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
54+
[[Downloads]]
55+
deps = ["ArgTools", "LibCURL", "NetworkOptions"]
56+
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
5657

5758
[[IOCapture]]
5859
deps = ["Logging"]
@@ -64,16 +65,33 @@ version = "0.1.1"
6465
deps = ["Markdown"]
6566
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
6667

68+
[[JLLWrappers]]
69+
git-tree-sha1 = "a431f5f2ca3f4feef3bd7a5e94b8b8d4f2f647a0"
70+
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
71+
version = "1.2.0"
72+
6773
[[JSON]]
6874
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
6975
git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4"
7076
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
7177
version = "0.21.1"
7278

79+
[[LibCURL]]
80+
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
81+
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
82+
83+
[[LibCURL_jll]]
84+
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
85+
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
86+
7387
[[LibGit2]]
74-
deps = ["Printf"]
88+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
7589
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
7690

91+
[[LibSSH2_jll]]
92+
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
93+
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
94+
7795
[[Libdl]]
7896
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
7997

@@ -88,25 +106,35 @@ uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
88106
deps = ["Base64"]
89107
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
90108

109+
[[MbedTLS_jll]]
110+
deps = ["Artifacts", "Libdl"]
111+
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
112+
91113
[[Mmap]]
92114
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
93115

116+
[[MozillaCACerts_jll]]
117+
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
118+
119+
[[NetworkOptions]]
120+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
121+
94122
[[Parsers]]
95123
deps = ["Dates"]
96124
git-tree-sha1 = "50c9a9ed8c714945e01cd53a21007ed3865ed714"
97125
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
98126
version = "1.0.15"
99127

100128
[[Pkg]]
101-
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
129+
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
102130
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
103131

104132
[[Printf]]
105133
deps = ["Unicode"]
106134
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
107135

108136
[[REPL]]
109-
deps = ["InteractiveUtils", "Markdown", "Sockets"]
137+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
110138
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
111139

112140
[[Random]]
@@ -117,10 +145,10 @@ uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
117145
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
118146

119147
[[Sass]]
120-
deps = ["BinaryProvider", "Libdl", "Test"]
121-
git-tree-sha1 = "de11179555c6363c5a61c4c94376db3498983734"
148+
deps = ["libsass_jll"]
149+
git-tree-sha1 = "aa841c3738cec78b5dbccd56dda332710f35f6a5"
122150
uuid = "322a6be2-4ae8-5d68-aaf1-3e960788d1d9"
123-
version = "0.1.0"
151+
version = "0.2.0"
124152

125153
[[Serialization]]
126154
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
@@ -140,8 +168,16 @@ uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
140168
deps = ["LinearAlgebra", "SparseArrays"]
141169
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
142170

171+
[[TOML]]
172+
deps = ["Dates"]
173+
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
174+
175+
[[Tar]]
176+
deps = ["ArgTools", "SHA"]
177+
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
178+
143179
[[Test]]
144-
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
180+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
145181
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
146182

147183
[[UUIDs]]
@@ -150,3 +186,21 @@ uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
150186

151187
[[Unicode]]
152188
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
189+
190+
[[Zlib_jll]]
191+
deps = ["Libdl"]
192+
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
193+
194+
[[libsass_jll]]
195+
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
196+
git-tree-sha1 = "663428b7ebaf60c60ee147f0f9466430e9959ad6"
197+
uuid = "47bcb7c8-5119-555a-9eeb-0afcc36cd728"
198+
version = "3.5.5+0"
199+
200+
[[nghttp2_jll]]
201+
deps = ["Artifacts", "Libdl"]
202+
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
203+
204+
[[p7zip_jll]]
205+
deps = ["Artifacts", "Libdl"]
206+
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"

docs/Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[deps]
22
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
33
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
4+
DocThemeIndigo = "8bac0ac5-51bf-41f9-885e-2bf1ac2bec5f"
45
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5-
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
66
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
77

88
[compat]
99
Documenter = "0.25.2"
10-
DocumenterTools = "0.1.6"

docs/make.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using ChainRulesCore
22
using Documenter
3-
using DocumenterTools: Themes
3+
using DocThemeIndigo
44
using Markdown
55

66
DocMeta.setdocmeta!(
@@ -19,13 +19,13 @@ DocMeta.setdocmeta!(
1919
end
2020
)
2121

22-
Themes.compile(joinpath(@__DIR__, "src/assets/chainrules.scss"))
22+
indigo = DocThemeIndigo.install(ChainRulesCore)
2323

2424
makedocs(
2525
modules=[ChainRulesCore],
2626
format=Documenter.HTML(
2727
prettyurls=false,
28-
assets=["assets/chainrules.css"],
28+
assets=[indigo],
2929
mathengine=MathJax3(
3030
Dict(
3131
:tex => Dict(

0 commit comments

Comments
 (0)