Skip to content

Commit

Permalink
Add Reference page to documentation (#43)
Browse files Browse the repository at this point in the history
This adds a page to the documentation to automatically generate all docstrings.
  • Loading branch information
lkdvos authored Jan 15, 2025
1 parent 07dd797 commit 9cfd842
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 3 additions & 5 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## Reference
# Reference

```@docs
ITensorPkgSkeleton.generate
ITensorPkgSkeleton.default_templates
ITensorPkgSkeleton.all_templates
```@autodocs
Modules = [ITensorPkgSkeleton]
```
2 changes: 1 addition & 1 deletion templates/docs/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ makedocs(;
edit_link="main",
assets=String[],
),
pages=["Home" => "index.md"],
pages=["Home" => "index.md", "Reference" => "reference.md"],
)

deploydocs(;
Expand Down
5 changes: 5 additions & 0 deletions templates/docs/docs/src/reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Reference

```@autodocs
Modules = [{PKGNAME}]
```

0 comments on commit 9cfd842

Please sign in to comment.