Skip to content

Commit

Permalink
reorganize docstrings into proper sections
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed May 2, 2024
1 parent e587c53 commit 4668c47
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 18 deletions.
1 change: 0 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ makedocs(
"Low level interface" => "LowLevel.md",
"Ecosystem integration" => "ecosystem.md",
"From Python" => "python.md",
"Help entries" => "help.md",
"Citation" => "citation.md",
]
)
Expand Down
14 changes: 14 additions & 0 deletions docs/src/LowLevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,20 @@ julia> map_pairwise!((x,y,i,j,d2,n) -> n += 1, 0, box, cl) # count neighbors
23
```

## Docstrings

```@meta
CollapsedDocStrings = true
```

```@autodocs
Modules = [CellListMap]
Pages = ["Box.jl", "CellListMap.jl", "CellLists.jl", "CellOperations.jl", "CoreComputing.jl"]
Order = [:type, :function]
```






12 changes: 12 additions & 0 deletions docs/src/ParticleSystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -895,3 +895,15 @@ function animate(trajectory)
end
```

## Docstrings

```@meta
CollapsedDocStrings = true
```

```@autodocs
Modules = [CellListMap]
Pages = ["ParticleSystem.jl"]
Order = [:function, :type]
```

17 changes: 0 additions & 17 deletions docs/src/help.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/src/neighborlists.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,17 @@ Additional optional parameters can be used in a `neighborlist` call:
| `autoswap` | `Bool` | `true` | (advanced) automatically choose set to construct the cell lists |


## Docstrings

```@meta
CollapsedDocStrings = true
```

```@autodocs
Modules = [CellListMap]
Pages = ["neighborlists.jl"]
Order = [:function, :type]
```



0 comments on commit 4668c47

Please sign in to comment.