-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moved docs from FMIImport&Core into FMI.jl #204
Changes from all commits
ac6ec42
66f7b68
17c00fe
650beef
7c2d83c
031fad1
60927b5
5f60260
6854075
62d9990
6838dce
cba5d87
b51568e
ba38c00
e72f211
055e790
a2ceb0d
1dcd88f
6fa31ba
0d03f4a
8bc2f11
3f6d2bf
d2c620a
5a98c2e
a00891c
6db24e5
19a81b8
1890f60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
[deps] | ||
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
FMICore = "8af89139-c281-408e-bce2-3005eb87462f" | ||
FMIImport = "9fcbc62e-52a0-44e9-a616-1359a0008194" | ||
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" | ||
MAT = "23992714-dd62-5051-b70f-ba57cb901cac" | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
|
||
[compat] | ||
julia = "1.6" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,21 @@ | |
# Licensed under the MIT license. See LICENSE file in the project root for details. | ||
# | ||
|
||
using Documenter, FMI | ||
import Pkg; Pkg.develop(path=joinpath(@__DIR__,"../../FMI.jl")) | ||
using Documenter, Plots, JLD2, DataFrames, CSV, MAT, FMI, FMIImport, FMICore | ||
using Documenter: GitHubActions | ||
|
||
makedocs(sitename="FMI.jl", | ||
format = Documenter.HTML( | ||
collapselevel = 1, | ||
sidebar_sitename = false, | ||
edit_link = nothing | ||
edit_link = nothing, | ||
size_threshold_ignore = ["library.md","deprecated.md","fmi2_lowlevel_librarys.md","fmi3_lowlevel_librarys.md"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. necessary, will be removed as soon as library.md and fmiX_lowlevel_librarys.md are spilt just as fmi_lowlevel_library_types, _functions, _constants |
||
), | ||
modules = [FMI, FMIImport, FMICore], | ||
checkdocs=:exports, | ||
linkcheck=true, | ||
linkcheck_ignore=["https://thummeto.github.io/FMI.jl/dev/examples/inputs/", "https://github.com/ThummeTo/FMICore.jl/blob/main/src/FMI2_c.jl#L718"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. examples need work, old links in there will be ignored until then ... |
||
pages= Any[ | ||
"Introduction" => "index.md" | ||
"Features" => "features.md" | ||
|
@@ -26,12 +32,23 @@ makedocs(sitename="FMI.jl", | |
"Multithreading" => "examples/multithreading.md" | ||
"Multiprocessing" => "examples/multiprocessing.md" | ||
] | ||
"Library Functions" => "library.md" | ||
"FMI Tool Information" => "fmi-tool-info.md" | ||
"User Level API - FMI.jl" => "library.md" | ||
"Developer Level API" => Any[ | ||
"fmi version independent content" => Any[ | ||
"fmi_lowlevel_library_types.md", | ||
"fmi_lowlevel_library_constants.md", | ||
"fmi_lowlevel_library_functions.md" | ||
], | ||
"FMI2 specific content" => "fmi2_lowlevel_librarys.md", | ||
"FMI3 specific content" => "fmi3_lowlevel_librarys.md" | ||
] | ||
"API Index" => "index_library.md" | ||
"FMI Tool Information" => "fmi-tool-info.md" | ||
"Related Publication" => "related.md" | ||
"Contents" => "contents.md" | ||
] | ||
) | ||
hide("Deprecated" => "deprecated.md") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. all exported funtions need to be documented. The coresponding file will be hidden (might be removable by removing docstrings from deprececated functions) |
||
] | ||
) | ||
|
||
function deployConfig() | ||
github_repository = get(ENV, "GITHUB_REPOSITORY", "") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# deprecated Functions | ||
|
||
this doc page is necessary as all exported functions must be documented in the manual with documenter configred to check for missing documentation, therefor this hidden page exists | ||
|
||
### internal funtions: remove export? | ||
```@docs | ||
fmi2CallbackLogger | ||
fmi2CallbackAllocateMemory | ||
fmi2CallbackFreeMemory | ||
fmi3CallbackLogger | ||
fmi2CallbackFunctions | ||
fmi2CallbackStepFinished | ||
``` | ||
|
||
### deprecated | ||
Mostly wrappers that are not supposed to be used (call specific wrapped functions instead) | ||
|
||
```@docs | ||
fmiSetReal | ||
fmiReset | ||
fmiGetGenerationTool | ||
fmiEnterContinuousTimeMode | ||
fmiGetEventIndicators | ||
fmiSetBoolean | ||
fmiFreeInstance! | ||
fmiInstantiate! | ||
fmiTerminate | ||
fmiDoStep | ||
fmiSetInteger | ||
fmiCompletedIntegratorStep | ||
fmiExitInitializationMode | ||
fmiSetupExperiment | ||
fmiSetDebugLogging | ||
fmiSerializedFMUstateSize | ||
fmiSerializeFMUstate | ||
fmiDeSerializeFMUstate | ||
fmiEnterInitializationMode | ||
fmiGetDirectionalDerivative! | ||
fmiNewDiscreteStates | ||
fmiGetDirectionalDerivative | ||
fmiSetRealInputDerivatives | ||
fmiGetGenerationDateAndTime | ||
fmiGetContinuousStates | ||
fmiSetContinuousStates | ||
fmiGetNominalsOfContinuousStates | ||
fmiSetTime | ||
fmiSetString | ||
fmiGetString | ||
fmiGetString! | ||
fmiGetInteger | ||
fmiGetInteger! | ||
fmiGetReal | ||
fmiGetReal! | ||
fmiGetBoolean | ||
fmiGetBoolean! | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, that examples were broken (no svgs where saved)