Skip to content

Commit b421564

Browse files
authored
Merge pull request #1065 from JuliaRobotics/24Q1/docs/missingdocs
a few missing docstrings
2 parents 34f3960 + 9eda70e commit b421564

File tree

5 files changed

+37
-6
lines changed

5 files changed

+37
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
version:
21-
- '~1.10.0-0'
21+
- '1.10'
2222
- 'nightly'
2323
os:
2424
- ubuntu-latest
@@ -82,7 +82,7 @@ jobs:
8282
- name: Setup julia
8383
uses: julia-actions/setup-julia@v1
8484
with:
85-
version: 1.9
85+
version: '1.10'
8686
arch: x64
8787

8888
- name: Build Docs

Project.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,39 @@ GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231"
3737
DFGPlots = "GraphPlot"
3838

3939
[compat]
40+
Aqua = "0.8"
41+
Base64 = "1.10"
4042
CSV = "0.10"
4143
CodecZlib = "0.7"
4244
Colors = "0.10, 0.11, 0.12"
45+
DataStructures = "0.18"
46+
Dates = "1.10"
4347
Distributions = "0.23, 0.24, 0.25"
4448
DocStringExtensions = "0.8, 0.9"
4549
FileIO = "1"
4650
GraphPlot = "0.5.0"
4751
Graphs = "1.4"
52+
InteractiveUtils = "1.10"
4853
JSON3 = "1"
54+
LinearAlgebra = "1.10"
4955
ManifoldsBase = "0.14, 0.15"
56+
Manifolds = "0.9"
5057
OrderedCollections = "1.4"
5158
Pkg = "1.4, 1.5"
5259
ProgressMeter = "1"
5360
RecursiveArrayTools = "2, 3"
5461
Reexport = "1"
5562
SHA = "0.7, 1"
63+
SparseArrays = "1.10"
5664
StaticArrays = "1"
65+
Statistics = "1.10"
5766
StructTypes = "1"
5867
Tar = "1.9"
68+
Test = "1.10"
5969
TensorCast = "0.3.3, 0.4"
6070
TimeZones = "1.3.1"
61-
julia = "1.9"
71+
UUIDs = "1.10"
72+
julia = "1.10"
6273

6374
[extras]
6475
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

src/Common.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,16 @@ end
124124
## Additional Downstream dispatches
125125
## =================================
126126

127+
"""
128+
$SIGNATURES
129+
130+
Default non-parametric graph solution.
131+
"""
127132
function solveGraph! end
133+
134+
"""
135+
$SIGNATURES
136+
137+
Standard parametric graph solution (Experimental).
138+
"""
128139
function solveGraphParametric! end

src/FileDFG/services/FileDFG.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ loadDFG!(dfg, "/tmp/savedgraph.tar.gz")
9191
# Use the DFG as you do normally.
9292
ls(dfg)
9393
```
94+
95+
See also: [`loadDFG`](@ref), [`saveDFG`](@ref)
9496
"""
9597
function loadDFG!(
9698
dfgLoadInto::AbstractDFG,
@@ -218,6 +220,13 @@ function loadDFG!(
218220
return dfgLoadInto
219221
end
220222

223+
"""
224+
$SIGNATURES
225+
226+
Convenience graph loader into a default `LocalDFG`.
227+
228+
See also: [`loadDFG!`](@ref), [`saveDFG`](@ref)
229+
"""
221230
function loadDFG(file::AbstractString)
222231

223232
# add if doesn't have .tar.gz extension
@@ -238,7 +247,7 @@ function loadDFG(file::AbstractString)
238247
fgPacked = JSON3.read(jstr, GraphsDFGs.PackedGraphsDFG)
239248
dfg = GraphsDFGs.unpackDFGMetadata(fgPacked)
240249

241-
@debug "DFG.loadDFG! is deleting a temp folder created during unzip, $loaddir"
250+
@debug "DFG.loadDFG is deleting a temp folder created during unzip, $loaddir"
242251
# cleanup temporary folder
243252
Base.rm(loaddir; recursive = true, force = true)
244253

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ end
148148
Aqua.test_ambiguities([DistributedFactorGraphs])
149149
Aqua.test_unbound_args(DistributedFactorGraphs)
150150
Aqua.test_undefined_exports(DistributedFactorGraphs)
151-
Aqua.test_piracy(DistributedFactorGraphs)
151+
Aqua.test_piracies(DistributedFactorGraphs)
152152
Aqua.test_project_extras(DistributedFactorGraphs)
153153
Aqua.test_stale_deps(DistributedFactorGraphs; ignore = [:Colors])
154154
Aqua.test_deps_compat(DistributedFactorGraphs)
155-
Aqua.test_project_toml_formatting(DistributedFactorGraphs)
155+
# Aqua.test_project_toml_formatting(DistributedFactorGraphs) # deprecated in Aqua.jl v0.8
156156
end

0 commit comments

Comments
 (0)