Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Jan 30, 2025
1 parent 70e6553 commit 5dc60b6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DocumenterPages"
uuid = "3b6f6c89-491e-49ab-a70c-af796c43d097"
authors = ["Anshul Singhvi <anshulsinghvi@gmail.com> and contributors"]
version = "0.1.0-DEV"
version = "0.1.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
25 changes: 25 additions & 0 deletions src/pagenode.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
"""
PageNode(input; visible, collapsed)
PageNode(this_page, children; visible, collapsed)
Creates a `PageNode` object, which may have some children.
`input` can be anything that `pages` accepts in `Documenter.makedocs`,
for example a string, a pair of strings, a vector of strings or pairs, or any combination thereof.
You can also specify details for the toplevel page and its children separately in the two-argument constructor.
## Examples
```julia
PageNode("index.md")
```
```julia
PageNode("Home" => "index.md")
```
```julia
PageNode(["index.md", "gallery.md"])
```
"""
struct PageNode
# page contents
page::Union{String, Nothing}
Expand Down

3 comments on commit 5dc60b6

@asinghvi17
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asinghvi17
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/124023

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 5dc60b646105276aa3a767a61a7f8667f10e5e6e
git push origin v0.1.0

Please sign in to comment.