Skip to content

Commit

Permalink
fixes for doc
Browse files Browse the repository at this point in the history
  • Loading branch information
0815Creeper committed Oct 6, 2023
1 parent 66f7b68 commit 17c00fe
Show file tree
Hide file tree
Showing 7 changed files with 149 additions and 267 deletions.
18 changes: 14 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
# Licensed under the MIT license. See LICENSE file in the project root for details.
#

using Documenter, FMI, Plots, FMIImport
using Documenter, FMI, Plots, FMIImport, FMICore
using Documenter: GitHubActions

makedocs(sitename="FMI.jl",
format = Documenter.HTML(
collapselevel = 1,
sidebar_sitename = false,
edit_link = nothing,
size_threshold_ignore = ["fmi2_library.md"]
size_threshold_ignore = ["fmi_import_library.md","fmi2_import_library.md","fmi3_import_library.md"]
),
modules = [FMI, FMIImport, FMICore],#, FMIBuild]
checkdocs=:none,#:exports,
warnonly=true,
pages= Any[
"Introduction" => "index.md"
Expand All @@ -28,9 +30,17 @@ makedocs(sitename="FMI.jl",
"Multithreading" => "examples/multithreading.md"
"Multiprocessing" => "examples/multiprocessing.md"
]
"Developer Level API" => "fmi2_library.md"
#"" => "fmi3_library.md"
"User Level API" => "library.md"
"Developer Level API" => Any[
#"fmi_import_library.md",
"fmi2_import_library.md",
"fmi3_import_library.md"
]
"Foundation Level API" => Any[
#"fmi_core_library.md",
"fmi2_core_library.md",
"fmi3_core_library.md"
]
"Related Publication" => "related.md"
"Contents" => "contents.md"
]
Expand Down
256 changes: 0 additions & 256 deletions docs/src/fmi2_library.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/src/fmi3_library.md

This file was deleted.

19 changes: 19 additions & 0 deletions docs/src/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,22 @@ fmiInfo
```@docs
fmiPlot
```

# FMI2 specific

```@docs
fmi2Info
fmi2Simulate
fmi2SimulateME
fmi2SimulateCS
```

# FMI3 specific

```@docs
fmi3Info
fmi3Simulate
fmi3SimulateME
fmi3SimulateSE
fmi3SimulateCS
```
4 changes: 4 additions & 0 deletions src/FMI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ export FMU3ExecutionConfiguration, FMU3_EXECUTION_CONFIGURATION_RESET, FMU3_EXEC
using FMIImport: prepareValue, prepareValueReference

export fmi2Real, fmi2Integer, fmi2String, fmi2Enumeration, fmi2Boolean
export fmi2Info, fmi3Info
export fmi2GetDependencies, fmi3GetDependencies

include("check.jl")

Expand Down Expand Up @@ -1329,6 +1331,8 @@ function fmiGetReal(str::fmi3Struct, args...; kwargs...)
fmi3GetReal(str, args...; kwargs...)
end

export fmiGetReal


"""
fmiSampleJacobian(str::fmi2Struct, c::FMU2Component,
Expand Down
Loading

0 comments on commit 17c00fe

Please sign in to comment.