Skip to content

Commit a11f85d

Browse files
committed
Solver revamp docs folder and formatter
1 parent 7477b0c commit a11f85d

File tree

5 files changed

+33
-25
lines changed

5 files changed

+33
-25
lines changed

.JuliaFormatter.toml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
margin = 100
2+
indent = 2
3+
whitespace_typedefs = true
4+
whitespace_ops_in_indices = true
5+
remove_extra_newlines = true
6+
annotate_untyped_fields_with_any = false
7+
normalize_line_endings = "unix"

docs/make.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ makedocs(
55
doctest = true,
66
linkcheck = true,
77
strict = true,
8-
format = Documenter.HTML(assets = ["assets/style.css"], prettyurls = get(ENV, "CI", nothing) == "true"),
8+
format = Documenter.HTML(
9+
assets = ["assets/style.css"],
10+
prettyurls = get(ENV, "CI", nothing) == "true",
11+
),
912
sitename = "SolverCore.jl",
10-
pages = ["Home" => "index.md",
11-
"API" => "api.md",
12-
"Reference" => "reference.md",
13-
]
13+
pages = ["Home" => "index.md", "Reference" => "reference.md"],
1414
)
1515

1616
deploydocs(
1717
repo = "github.com/JuliaSmoothOptimizers/SolverCore.jl.git",
1818
push_preview = true,
19-
devbranch = "master"
19+
devbranch = "master",
2020
)

docs/src/api.md

-18
This file was deleted.

docs/src/index.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# [SolverCore.jl documentation](@id Home)
22

3-
Core package to build novel optimization algorithms in Julia.
3+
Core package to build JSO-compliant solvers in Julia.
4+
5+
---
6+
7+
This package is extended for specific problem types:
8+
- **OptSolver.jl**: For optimization problems
9+
- **LinearSolvers.jl**: For linear solvers.

docs/src/reference.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
# Reference
22

3+
## Contents
4+
5+
```@contents
6+
Pages = ["reference.md"]
7+
```
8+
9+
## Index
10+
311
```@index
12+
Pages = ["reference.md"]
413
```
14+
15+
```@autodocs
16+
Modules = [SolverCore]
17+
```

0 commit comments

Comments
 (0)