-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Generate C/Fortran API docs with Doxygen (#52)
* Generate C/Fortran API docs with Doxygen * complete documentation of trixi.c and trixi.f90 * Build & deploy doxygen docs * Use GITHUB_TOKEN for doxygen deployment * Fix some links and descriptions * Use deploy key for doxygen * adapt user hint * Update utils/libtrixi-init-julia * Make doxygen builds respect Documenter.jl versioning * Set environment variable for proper folder generation * Run workflow always when Documenter is run --------- Co-authored-by: Benedict Geihe <[email protected]> Co-authored-by: Benedict <[email protected]>
- Loading branch information
1 parent
5ba6bf2
commit a5cea7b
Showing
15 changed files
with
3,379 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,5 @@ cmake_install.cmake | |
libtrixi.mod | ||
libtrixi.so* | ||
|
||
# Documenter | ||
docs/build | ||
|
||
# VS Code | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using Documenter | ||
|
||
# Note: If you change any input values here, make sure you also update the call to | ||
# deploydocs(...) in `make.jl` | ||
repo = "github.com/trixi-framework/libtrixi" | ||
devbranch = "main" | ||
push_preview = true | ||
|
||
# Internally used values for convenience | ||
branch = "gh-pages" | ||
branch_previews = branch | ||
devurl = "dev" | ||
repo_previews = repo | ||
tag_prefix = "" | ||
|
||
# Create a deploy configuration for GitHub Actions (we ignore other CI systems here) | ||
deploy_config = Documenter.GitHubActions(); | ||
|
||
# Create a deploy decision using the same default values as are used in Documenter.jl's | ||
# implementation of `deploydocs(...)` | ||
# See also: https://github.com/JuliaDocs/Documenter.jl/blob/7c97a86a31e360d7d22082a9a783b0cab24163b5/src/deploydocs.jl#L213-L221 | ||
deploy_decision = Documenter.deploy_folder( | ||
deploy_config; | ||
branch, | ||
branch_previews, | ||
devbranch, | ||
devurl, | ||
push_preview, | ||
repo, | ||
repo_previews, | ||
tag_prefix, | ||
); | ||
|
||
# Print (to stdout) the folder name relative to repo root | ||
# Note: Warnings/info messages will be printed to stderr | ||
println(joinpath(deploy_decision.subfolder, "c-fortran-api")) |
Oops, something went wrong.