Skip to content

Commit

Permalink
remove Markdown dep (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Jan 8, 2025
1 parent 94441d0 commit 38b4bba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

Expand Down Expand Up @@ -44,7 +43,6 @@ IntervalSets = "0.7"
InverseFunctions = "0.1.5"
LinearAlgebra = "1"
MacroTools = "0.5"
Markdown = "1"
Requires = "0.5, 1.0"
StaticArrays = "1"
StructArrays = "0.6, 0.7"
Expand Down
3 changes: 1 addition & 2 deletions src/Accessors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Accessors
using MacroTools
using MacroTools: isstructdef, splitstructdef, postwalk
using InverseFunctions
using Markdown: Markdown, @md_str, term

if !isdefined(Base, :get_extension)
using Requires
Expand Down Expand Up @@ -30,7 +29,7 @@ function __init__()
Base.Experimental.register_error_hint(MethodError) do io, exc, argtypes, kwargs
if exc.f === insert && argtypes[2] <: Accessors.DynamicIndexLens
println(io)
term(io, md"""
print(io, """
`insert` with a `DynamicIndexLens` is not supported, this can happen when you write
code such as `@insert a[end] = 1` or `@insert a[begin] = 1` since `end` and `begin`
are functions of `a`. The reason we do not support these with `insert` is that
Expand Down

2 comments on commit 38b4bba

@aplavin
Copy link
Member Author

@aplavin aplavin commented on 38b4bba Jan 8, 2025

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/122636

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.40 -m "<description of version>" 38b4bba0a27c6e3b397b1dcde5d01a8c96a8890c
git push origin v0.1.40

Please sign in to comment.