Skip to content

Commit

Permalink
Solver revamp docs folder and formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Apr 16, 2021
1 parent 7477b0c commit a11f85d
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 25 deletions.
7 changes: 7 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
margin = 100
indent = 2
whitespace_typedefs = true
whitespace_ops_in_indices = true
remove_extra_newlines = true
annotate_untyped_fields_with_any = false
normalize_line_endings = "unix"
12 changes: 6 additions & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ makedocs(
doctest = true,
linkcheck = true,
strict = true,
format = Documenter.HTML(assets = ["assets/style.css"], prettyurls = get(ENV, "CI", nothing) == "true"),
format = Documenter.HTML(
assets = ["assets/style.css"],
prettyurls = get(ENV, "CI", nothing) == "true",
),
sitename = "SolverCore.jl",
pages = ["Home" => "index.md",
"API" => "api.md",
"Reference" => "reference.md",
]
pages = ["Home" => "index.md", "Reference" => "reference.md"],
)

deploydocs(
repo = "github.com/JuliaSmoothOptimizers/SolverCore.jl.git",
push_preview = true,
devbranch = "master"
devbranch = "master",
)
18 changes: 0 additions & 18 deletions docs/src/api.md

This file was deleted.

8 changes: 7 additions & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# [SolverCore.jl documentation](@id Home)

Core package to build novel optimization algorithms in Julia.
Core package to build JSO-compliant solvers in Julia.

---

This package is extended for specific problem types:
- **OptSolver.jl**: For optimization problems
- **LinearSolvers.jl**: For linear solvers.
13 changes: 13 additions & 0 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# Reference

## Contents

```@contents
Pages = ["reference.md"]
```

## Index

```@index
Pages = ["reference.md"]
```

```@autodocs
Modules = [SolverCore]
```

0 comments on commit a11f85d

Please sign in to comment.