Skip to content

Commit

Permalink
Move "Creating Packages" from Pkg.jl docs (#52102)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Nov 17, 2023
1 parent 9aa7980 commit 20440fd
Show file tree
Hide file tree
Showing 3 changed files with 636 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ BaseDocs = [
StdlibDocs = [stdlib.targetfile for stdlib in STDLIB_DOCS]

Tutorials = [
"tutorials/creating-packages.md",
"tutorials/profile.md",
"tutorials/external.md",
]
Expand Down
2 changes: 1 addition & 1 deletion doc/src/manual/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ This would provide custom showing of vectors with a specific new element type. W
this should be avoided. The trouble is that users will expect a well-known type like `Vector()`
to behave in a certain way, and overly customizing its behavior can make it harder to work with.

## Avoid type piracy
## [Avoid type piracy](@id avoid-type-piracy)

"Type piracy" refers to the practice of extending or redefining methods in Base
or other packages on types that you have not defined. In extreme cases, you can crash Julia
Expand Down
Loading

0 comments on commit 20440fd

Please sign in to comment.