Skip to content

Commit 122f445

Browse files
cleanup
1 parent 6e93573 commit 122f445

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

GraphNeuralNetworks/docs/make.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ dest_guides_dir = joinpath(@__DIR__, "src/other")
1919
gnngraphs_guides_dir = joinpath(@__DIR__, "../../GNNGraphs/docs/src/guides")
2020
gnnlib_guides_dir = joinpath(@__DIR__, "../../GNNlib/docs/src/guides")
2121
for file in readdir(gnngraphs_guides_dir)
22-
cp(joinpath(gnngraphs_guides_dir, file), joinpath(dest_guides_dir, file))
22+
cp(joinpath(gnngraphs_guides_dir, file), joinpath(dest_guides_dir, file), force=true)
2323
end
2424
for file in readdir(gnnlib_guides_dir)
25-
cp(joinpath(gnnlib_guides_dir, file), joinpath(dest_guides_dir, file))
25+
cp(joinpath(gnnlib_guides_dir, file), joinpath(dest_guides_dir, file), force=true)
2626
end
2727

2828
makedocs(;
2929
modules = [GraphNeuralNetworks],
30-
doctest = false,
30+
doctest = false, # TODO: enable doctest
3131
clean = true,
3232
plugins = [interlinks],
3333
format = Documenter.HTML(; mathengine, prettyurls, assets = assets, size_threshold=nothing),

GraphNeuralNetworks/test/test_module.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,15 @@ export mean, randn, SparseArrays, AbstractSparseMatrix
4242
export Flux, gradient, Dense, Chain, relu
4343
BatchNorm, LayerNorm, Dropout, Parallel,
4444
gpu_device, cpu_device, get_device,
45-
CPUDevice, CUDADevice, AMDGPUDevice, MetalDevice,
46-
gpu_backend
47-
45+
CPUDevice, CUDADevice, AMDGPUDevice, MetalDevice
46+
4847
# from Graphs.jl
4948
export random_regular_graph, erdos_renyi
5049

5150
# from this module
5251
export D_IN, D_OUT, GRAPH_TYPES, TEST_GRAPHS,
5352
test_gradients, finitediff_withgradient,
54-
check_equal_leaves
53+
check_equal_leaves, gpu_backend
5554

5655

5756
const D_IN = 3

0 commit comments

Comments
 (0)