Skip to content

Commit 05ff88c

Browse files
clean docs
1 parent 5d9bbb5 commit 05ff88c

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

docs/make.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ makedocs(
5252
"files" => "internals/files.md",
5353
"types" => "internals/types.md",
5454
],
55-
"Complementary material" => ["Mathematical appendix" => "complementary/maths.md"],
5655
],
5756
format = Documenter.HTML(
5857
prettyurls = get(ENV, "CI", nothing) == "true",

docs/src/developer/implied.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ model per group and an additional model with `ImpliedEmpty` and `SemRidge` for t
6262
# Extended help
6363
6464
## Interfaces
65-
- `params(::RAMSymbolic) `-> Vector of parameter labels
66-
- `nparams(::RAMSymbolic)` -> Number of parameters
67-
68-
## Implementation
69-
Subtype of `SemImplied`.
65+
- `param_labels(::ImpliedEmpty) `-> Vector of parameter labels
66+
- `nparams(::ImpliedEmpty)` -> Number of parameters
7067
"""
7168
struct ImpliedEmpty{A, B, C} <: SemImplied
7269
hessianeval::A
@@ -78,7 +75,12 @@ end
7875
### Constructors
7976
############################################################################################
8077

81-
function ImpliedEmpty(;specification, meanstruct = NoMeanStruct(), hessianeval = ExactHessian(), kwargs...)
78+
function ImpliedEmpty(;
79+
specification,
80+
meanstruct = NoMeanStruct(),
81+
hessianeval = ExactHessian(),
82+
kwargs...,
83+
)
8284
return ImpliedEmpty(hessianeval, meanstruct, convert(RAMMatrices, specification))
8385
end
8486

docs/src/developer/optimizer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ options(optimizer::SemOptimizerName) = optimizer.options
3737
Note that your optimizer is a subtype of `SemOptimizer{:Name}`, where you can choose a `:Name` that can later be used as a keyword argument to `fit(engine = :Name)`.
3838
Similarly, `SemOptimizer{:Name}(args...; kwargs...) = SemOptimizerName(args...; kwargs...)` should be defined as well as a constructor that uses only keyword arguments:
3939

40-
´´´julia
40+
```julia
4141
SemOptimizerName(;
4242
algorithm = LBFGS(),
4343
options = Optim.Options(; f_tol = 1e-10, x_tol = 1.5e-8),
4444
kwargs...,
4545
) = SemOptimizerName(algorithm, options)
46-
´´´
46+
```
4747
A method for `update_observed` and additional methods might be usefull, but are not necessary.
4848

4949
Now comes the substantive part: We need to provide a method for `fit`:

docs/src/internals/internals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Internals and Design
22

3-
On the following pages, we document the internals and design of the package. Those informations are no prerequisite for extending the package (as decribed in the developer documentation)!, but they may be useful and hopefully interesting.
3+
On the following pages, we document some technical information about the package. Those informations are no prerequisite for extending the package (as decribed in the developer documentation)!, but they may be useful.

docs/src/tutorials/backends/nlopt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Using NLopt.jl
22

33
[`SemOptimizerNLopt`](@ref) implements the connection to `NLopt.jl`.
4-
It is only available if the `NLopt` package is loaded alongside `StructuralEquationModel.jl` in the running Julia session.
4+
It is only available if the `NLopt` package is loaded alongside `StructuralEquationModels.jl` in the running Julia session.
55
It takes a bunch of arguments:
66

77
```julia

docs/src/tutorials/construction/build_by_parts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ partable = ParameterTable(
4747
Now, we construct the different parts:
4848

4949
```@example build
50-
# observed ---------------------------------------------------------------------------------
50+
# observed -----------------------------------------------------------------------------
5151
observed = SemObservedData(specification = partable, data = data)
5252
53-
# implied ------------------------------------------------------------------------------------
53+
# implied ------------------------------------------------------------------------------
5454
implied_ram = RAM(specification = partable)
5555
56-
# loss -------------------------------------------------------------------------------------
56+
# loss ---------------------------------------------------------------------------------
5757
ml = SemML(observed = observed)
5858
5959
loss_ml = SemLoss(ml)
6060
61-
# optimizer -------------------------------------------------------------------------------------
61+
# optimizer ----------------------------------------------------------------------------
6262
optimizer = SemOptimizerOptim()
6363
64-
# model ------------------------------------------------------------------------------------
64+
# model --------------------------------------------------------------------------------
6565
6666
model_ml = Sem(observed, implied_ram, loss_ml)
6767

0 commit comments

Comments
 (0)