Skip to content

Commit

Permalink
explicit export of RecurrentLayer in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Jan 16, 2025
1 parent e567790 commit d4fbec5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
using RecurrentLayers
@show pathof(RecurrentLayers)'
- run: |
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e '
using Documenter: doctest
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ makedocs(;
modules=[RecurrentLayers],
authors="Francesco Martinuzzi",
sitename="RecurrentLayers.jl",
clean=true, doctest=false,
clean=true, doctest=true,
doctestsetup=:(using RecurrentLayers), linkcheck=true,
format=Documenter.HTML(;
mathengine,
Expand Down
2 changes: 2 additions & 0 deletions src/wrappers/stackedrnn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Constructs a stack of recurrent layers given the recurrent layer type.
# Examples
```jldoctest
julia> using RecurrentLayers
julia> stac_rnn = StackedRNN(MGU, (3=>5); num_layers = 4)
StackedRNN(
[
Expand Down

0 comments on commit d4fbec5

Please sign in to comment.