Skip to content

Commit 8ac9971

Browse files
docs: start splitting reca from main docs
1 parent 98ea11e commit 8ac9971

File tree

10 files changed

+55
-31
lines changed

10 files changed

+55
-31
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ReservoirComputing"
22
uuid = "7c2d2b1e-3dd4-11ea-355a-8f6a8116e294"
33
authors = ["Francesco Martinuzzi"]
4-
version = "0.11.3"
4+
version = "0.12.0"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ bib = CitationBibliography(
1515

1616
makedocs(; modules = [ReservoirComputing],
1717
sitename = "ReservoirComputing.jl",
18+
authors = "Francesco Martinuzzi",
1819
clean = true, doctest = false, linkcheck = true,
1920
plugins = [bib],
2021
format = Documenter.HTML(;

docs/pages.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ pages = [
1919
"Echo State Networks" => "api/esn.md",
2020
"ESN Initializers" => "api/inits.md",
2121
"ESN Drivers" => "api/esn_drivers.md",
22-
"ESN Variations" => "api/esn_variations.md",
23-
"ReCA" => "api/reca.md"] #"References" => "references.md"
22+
"ESN Variations" => "api/esn_variations.md"]
2423
]

lib/ReservoirCellularAutomata/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Aqua = "0.8"
1414
CellularAutomata = "0.0.6"
1515
Random = "1.11.0"
1616
Reexport = "1.2.2"
17-
ReservoirComputing = "0.11.3"
17+
ReservoirComputing = "0.12.0"
1818
SafeTestsets = "0.1.0"
1919
Test = "1"
2020
julia = "1.10"
Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
1-
using ReservoirCellularAutomata
2-
using Documenter
1+
using Documenter, DocumenterCitations, ReservoirCellularAutomata
32

4-
DocMeta.setdocmeta!(ReservoirCellularAutomata, :DocTestSetup,
5-
:(using ReservoirCellularAutomata); recursive = true)
3+
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml"; force = true)
4+
cp("./docs/Project.toml", "./docs/src/assets/Project.toml"; force = true)
65

7-
makedocs(;
8-
modules = [ReservoirCellularAutomata],
9-
authors = "Francesco Martinuzzi",
6+
ENV["PLOTS_TEST"] = "true"
7+
ENV["GKSwstype"] = "100"
8+
include("pages.jl")
9+
mathengine = Documenter.MathJax()
10+
11+
bib = CitationBibliography(
12+
joinpath(@__DIR__, "src", "refs.bib");
13+
style = :authoryear
14+
)
15+
16+
makedocs(; modules = [ReservoirCellularAutomata],
1017
sitename = "ReservoirCellularAutomata.jl",
18+
authors = "Francesco Martinuzzi",
19+
clean = true, doctest = false, linkcheck = true,
20+
plugins = [bib],
1121
format = Documenter.HTML(;
12-
canonical = "https://MartinuzziFrancesco.github.io/ReservoirCellularAutomata.jl",
13-
edit_link = "main",
14-
assets = String[]
15-
),
16-
pages = [
17-
"Home" => "index.md"
18-
]
22+
mathengine,
23+
assets = ["assets/favicon.ico"],
24+
canonical = "https://docs.sciml.ai/ReservoirComputing/stable/"),
25+
pages = pages
1926
)
2027

21-
deploydocs(;
22-
repo = "github.com/MartinuzziFrancesco/ReservoirCellularAutomata.jl",
23-
devbranch = "main"
24-
)
28+
deploydocs(; repo = "github.com/SciML/ReservoirComputing.jl.git",
29+
push_preview = true)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pages = [
2+
"ReservoirCellularAutomata.jl" => "index.md",
3+
"API Manual" => "api/reca.md"
4+
]
File renamed without changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@misc{Yilmaz2014,
2+
doi = {10.48550/ARXIV.1410.0162},
3+
url = {https://arxiv.org/abs/1410.0162},
4+
author = {Yilmaz, Ozgur},
5+
keywords = {Neural and Evolutionary Computing (cs.NE), FOS: Computer and information sciences, FOS: Computer and information sciences},
6+
title = {Reservoir Computing using Cellular Automata},
7+
publisher = {arXiv},
8+
year = {2014},
9+
copyright = {arXiv.org perpetual, non-exclusive license}
10+
}
11+
12+
@misc{Nichele2017,
13+
doi = {10.48550/ARXIV.1703.02806},
14+
url = {https://arxiv.org/abs/1703.02806},
15+
author = {Nichele, Stefano and Molund, Andreas},
16+
keywords = {Neural and Evolutionary Computing (cs.NE), Emerging Technologies (cs.ET), FOS: Computer and information sciences, FOS: Computer and information sciences},
17+
title = {Deep Reservoir Computing Using Cellular Automata},
18+
publisher = {arXiv},
19+
year = {2017},
20+
copyright = {arXiv.org perpetual, non-exclusive license}
21+
}

lib/ReservoirCellularAutomata/src/reca.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ end
1818
nla_type = NLADefault(),
1919
states_type = StandardStates())
2020
21-
[1] Yilmaz, Ozgur. “_Reservoir computing using cellular automata._”
22-
arXiv preprint arXiv:1410.0162 (2014).
23-
24-
[2] Nichele, Stefano, and Andreas Molund. “_Deep reservoir computing using cellular
25-
automata._” arXiv preprint arXiv:1703.02806 (2017).
21+
Builds a Resercoir Computing model with cellular automata [Yilmaz2014](@cite)
22+
[Nichele2017](@cite).
2623
"""
2724
function RECA(train_data,
2825
automata;

lib/ReservoirCellularAutomata/src/reca_input_encodings.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ end
1414
Random mapping of the input data directly in the reservoir. The `expansion_size`
1515
determines the dimension of the single reservoir, and `permutations` determines the
1616
number of total reservoirs that will be connected, each with a different mapping.
17-
The detail of this implementation can be found in [1].
18-
19-
[1] Nichele, Stefano, and Andreas Molund. “Deep reservoir computing using cellular
20-
automata.” arXiv preprint arXiv:1703.02806 (2017).
17+
The detail of this implementation can be found in [Nichele2017](@cite).
2118
"""
2219
function RandomMapping(; permutations = 8, expansion_size = 40)
2320
RandomMapping(permutations, expansion_size)

0 commit comments

Comments
 (0)