Skip to content

Commit 641eefe

Browse files
committed
Merge branch 'main' into linearize
2 parents 406cf6a + 9a5a669 commit 641eefe

File tree

3 files changed

+51
-6
lines changed

3 files changed

+51
-6
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,13 @@ jobs:
7373
julia_version:
7474
- "1.10"
7575
- "1.11"
76+
- "pre"
7677
julia_arch:
7778
- x64
7879
os:
7980
- ubuntu-latest
8081
runs-on: ${{ matrix.os }}
8182
steps:
82-
- name: Build PyCall
83-
run: julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
84-
shell: bash
8583
- name: Install matplotlib
8684
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
8785
shell: bash
@@ -90,10 +88,11 @@ jobs:
9088
with:
9189
arch: ${{ matrix.julia_arch }}
9290
version: ${{ matrix.julia_version }}
91+
- uses: julia-actions/cache@v2
92+
- uses: julia-actions/julia-buildpkg@v1
9393
- name: Build PyCall
9494
run: julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
9595
shell: bash
96-
- uses: julia-actions/cache@v2
9796
- uses: julia-actions/julia-runtest@v1
9897
env:
9998
BUILD_IS_PRODUCTION_BUILD: false
@@ -115,7 +114,9 @@ jobs:
115114
shell: bash
116115
- uses: julia-actions/cache@v2
117116
- uses: julia-actions/julia-buildpkg@v1
117+
118118
- uses: julia-actions/julia-docdeploy@v1
119119
env:
120120
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121121
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
122+

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "VortexStepMethod"
22
uuid = "ed3cd733-9f0f-46a9-93e0-89b8d4998dd9"
33
authors = ["1-Bart-1 <[email protected]>", "Oriol Cayon and contributors"]
4-
version = "2.0.0"
4+
version = "2.1.0"
55

66
[deps]
77
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
@@ -66,7 +66,7 @@ Statistics = "1"
6666
StructMapping = "0.2.3"
6767
Test = "1"
6868
Timers = "0.1"
69-
Xfoil = "0, 1"
69+
Xfoil = "1.1.0"
7070
YAML = "0.4.13"
7171
julia = "1.10, 1.11"
7272

scripts/stats.jl

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright (c) 2025 Uwe Fechner
2+
# SPDX-License-Identifier: MIT
3+
4+
# List all methods of VortexStepMethod and report if they are documented;
5+
# By default, also exported constants are reported
6+
using VortexStepMethod
7+
8+
exported_names = names(VortexStepMethod)
9+
exported_functions = filter(n -> isdefined(VortexStepMethod, n) && isa(getfield(VortexStepMethod, n), Function), exported_names)
10+
11+
function find_exported_functions(exported_functions)
12+
total = 0
13+
for fun in exported_functions
14+
f = getfield(VortexStepMethod, fun)
15+
mes = methods(f)
16+
for me in mes
17+
println(me.sig)
18+
total += 1
19+
end
20+
end
21+
return total
22+
end
23+
24+
println("Exported methods:\n")
25+
total = find_exported_functions(exported_functions)
26+
println("\nTotal: $total")
27+
28+
function check_exported_docs(mod::Module; only_functions=false)
29+
exported_symbols = names(mod, all=false)
30+
doc_status = Dict{Symbol,Bool}()
31+
for sym in exported_symbols
32+
val = getfield(mod, sym)
33+
if only_functions && !isa(val, Function)
34+
continue
35+
end
36+
doc_status[sym] = Base.Docs.hasdoc(mod, sym)
37+
end
38+
return doc_status
39+
end
40+
41+
# Main execution block:
42+
results = check_exported_docs(VortexStepMethod)
43+
undocumented = filter(kv -> !kv[2], results)
44+
println("\nUndocumented exported symbols: \n", keys(undocumented))

0 commit comments

Comments
 (0)