Skip to content

Commit

Permalink
Move setup code to make.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Aug 17, 2022
1 parent b932ecd commit f73caf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 7 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
using SimpleWorkflows
using Documenter

DocMeta.setdocmeta!(SimpleWorkflows, :DocTestSetup, :(using SimpleWorkflows); recursive=true)
DocMeta.setdocmeta!(
SimpleWorkflows,
:DocTestSetup,
:(using SimpleWorkflows,
SimpleWorkflows.Thunks, SimpleWorkflows.Jobs, SimpleWorkflows.Workflows);
recursive=true,
)

makedocs(;
modules=[SimpleWorkflows],
Expand Down
3 changes: 0 additions & 3 deletions docs/src/public.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Pages = ["public.md"]

```@meta
CurrentModule = SimpleWorkflows.Thunks
DocTestSetup = :(using SimpleWorkflows.Thunks)
```

## `Thunks` module
Expand All @@ -23,7 +22,6 @@ getresult(::Thunk)

```@meta
CurrentModule = SimpleWorkflows.Jobs
DocTestSetup = :(using SimpleWorkflows.Jobs)
```

## `Jobs` module
Expand Down Expand Up @@ -58,7 +56,6 @@ ntimes

```@meta
CurrentModule = SimpleWorkflows.Workflows
DocTestSetup = :(using SimpleWorkflows.Workflows)
```

## `Workflows` module
Expand Down

0 comments on commit f73caf0

Please sign in to comment.