-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documenting all exports from Base #26919
Comments
It's not straightforward to add a |
You don't get line numbers for |
I think
will be unexported after the deprecations are removed? |
Those are missing a deprecation in julia> methods(bin)
# 5 methods for generic function "bin":
...
[2] bin(x::Unsigned, pad::Int64, neg::Bool) in Base at intfuncs.jl:570
... That's why they're getting put in the first list. Perhaps those methods should be deprecated, too? |
I thought they are just used internally for |
Ah, sure enough. The script isn't checking |
Would it be possible to print a warning when extending a totally deprecated function? If so, we can add another argument to |
add `Regex` documentation. (JuliaLang#26919)
add `Regex` documentation. (JuliaLang#26919)
Hey, I'm a newbie to Julia and want to contribute. Is this something I can help you with? |
Sure! Just pick something from the list above that doesn't have a check next to it (and verify that it is still undocumented). Or run the |
Hi, I was planning to contribute towards GSoC 2019. I want to contribute to this issue. Please give me some guidelines. |
Please don't write the same message in multiple issues. This issue is about writing documentation so you would need to get familiar enough with the undocumented things in the first post and then write the actual documentation for them. |
Please tell me some exports which I should document |
I've just updated the checklist. We're getting very close to closing this issue, so I decided to re-include things that aren't exported directly from |
This seems to have stalled, though someone could probably finish it in an afternoon |
It seems like these were unintentional (and undocumented). Refs #26919.
It seems like these were unintentional (and undocumented). Refs #26919.
It seems like these were unintentional (and undocumented). Refs JuliaLang#26919.
It seems like these were unintentional (and undocumented). Refs JuliaLang#26919.
It seems like these were unintentional (and undocumented). Refs JuliaLang#26919.
Superseded by #52725 |
It'd be nice to make sure that all our exports are documented and make sense for the 1.0 release. This is a fairly daunting list, but it is a task that's easily parallelizable and can be tackled incrementally.
There are two classes of undocumented thing.
It's a callable thing and all its methods live withindeprecated.jl
. In this case, we probably want to@deprecate_binding
the binding itself so packages that extend these methods won't be totally surprised when the binding gets removed in 1.0.I've written a quick and simple script that identifies these two cases and spits out the list. Please feel free to jump in and add PRs to resolve these as you are able! Just be bold and go for it!
Undocumented exports (including module exports)
Base.Broadcast.dotview
Base.CanonicalIndexError
Base.CapturedException
Base.Docs.@var
Base.InvalidStateException
Base.Libc.FILE
Base.Sys.CPU_NAME
Base.Sys.JIT
Base.Sys.cpu_info
Base.Sys.cpu_summary
Core.ConcurrencyViolationError
Core.Exception
Core.GlobalRef
Core.IO
Core.LineNumberNode
Core.Method
Core.SegmentationFault
Core.TypeVar
Core.WeakRef
Core.getglobal
Core.setglobal!
Core.VecElement
Core.DataType
(Add inline documentation for Type and DataType. #24561)Core.Type
(Add inline documentation for Type and DataType. #24561)Base
(docstrings for Base, Core, Main, Module #31131)Base.AbstractDict
(Document AbstractDict and AbstractSet #31206)Base.AbstractDisplay
(DocumentAbstractDisplay
#31229)Base.AbstractSet
(Document AbstractDict and AbstractSet #31206)Base.Libc.systemsleep
(doc systemsleep #31518)Base.Meta.isexpr
(Docstrings for quot, isexpr and show_sexpr #31246)Base.Meta.quot
(Docstrings for quot, isexpr and show_sexpr #31246)Base.Meta.show_sexpr
(Docstrings for quot, isexpr and show_sexpr #31246)Base.SubArray
(Document the SubArray type #32931)Base.Sys.CPU_NAME
(Document some exported Sys CPU stuff #31204)Base.Sys.cpu_info
(Document some exported Sys CPU stuff #31204)Base.Sys.cpu_summary
(Document some exported Sys CPU stuff #31204)Base.Sys.free_memory
( Doc free_memory and total_memory #31297)Base.Sys.total_memory
( Doc free_memory and total_memory #31297)Core
(docstrings for Base, Core, Main, Module #31131)Core.Main
Core.Module
(docstrings for Base, Core, Main, Module #31131)Core.QuoteNode
Main.Main
(docstrings for Base, Core, Main, Module #31131)Base.@MIME_str
Base.@b_str
Base.DEPOT_PATH
Base.Enum
Base.IOStream
Base.MIME
Main.InteractiveUtils
Base.=>
(document some undocumented exports #27107)Base.@big_str
(Doc some string parsing macros #28067)Base.@cmd
(Doc the at-cmd macro #28062)Base.@int128_str
(Doc some string parsing macros #28067)Base.@uint128_str
(Doc some string parsing macros #28067)Base.@v_str
(document some undocumented exports #27107)Base.AbstractVecOrMat
(document some undocumented exports #27107)Base.Base
(document some undocumented exports #27107)Base.Broadcast
(document some undocumented exports #27107)Base.Broadcast.Broadcast
(document some undocumented exports #27107)(not exported)Base.Broadcast.dotview
Base.CompositeException
(Document CompositeException and add more xrefs #28061)(deprecated in Remove the FFTW bindings from Base #21956)Base.DFT
(deprecated in Remove the FFTW bindings from Base #21956)Base.DFT.DFT
Base.GC
(document some undocumented exports #27107)Base.GC.GC
(document some undocumented exports #27107)Base.Inf64
(document some undocumented exports #27107)Base.NaN64
(document some undocumented exports #27107)(deprecated in remove Operators module #22251)Base.Operators
(deprecated in remove Operators module #22251)Base.Operators.Operators
(not exported)Base.Sys.free_memory
(not exported)Base.Sys.total_memory
Base.VecOrMat
(document some undocumented exports #27107)Base.VersionNumber
(document some undocumented exports #27107)(deprecated in deprecate bin, oct, dec, hex, and base in favor ofBase.bin
string
and keyword args #25804)(deprecated in deprecate bin, oct, dec, hex, and base in favor ofBase.dec
string
and keyword args #25804)(deprecated in deprecate bin, oct, dec, hex, and base in favor ofBase.hex
string
and keyword args #25804)(deprecated toBase.indmax
argmax
in Rename indmin and indmax to argmin and argmax #25654)(deprecated in deprecate bin, oct, dec, hex, and base in favor ofBase.oct
string
and keyword args #25804)Base.substrides
Base.∉
(document some undocumented exports #27107)Base.∋
(document some undocumented exports #27107)Base.∌
(document some undocumented exports #27107)Base.⊇
(document some undocumented exports #27107)Base.⊈
(document some undocumented exports #27107)Base.⊉
(document some undocumented exports #27107)Base.⊊
(document some undocumented exports #27107)Base.⊋
(document some undocumented exports #27107)Main.Base
Base.@big_str
Base.@generated
Base.@int128_str
Base.@uint128_str
Base.AbstractRange
(Doc missing range exports #28115)Base.AbstractUnitRange
(Doc missing range exports #28115)Base.CompositeException
(Document CompositeException and add more xrefs #28061)Base.Cstring
(Doc Cstring and Cwstring #28396)Base.Cwstring
(Doc Cstring and Cwstring #28396)Base.DenseMatrix
(Document DenseArrays and Dims #28080)Base.DenseVecOrMat
(Document DenseArrays and Dims #28080)Base.DenseVector
(Document DenseArrays and Dims #28080)Base.Dims
(Document DenseArrays and Dims #28080)Base.IndexCartesian
(Doc IndexLinear and IndexCartesian #28476)Base.IndexLinear
(Doc IndexLinear and IndexCartesian #28476)Base.InsertionSort
(Doc sorting algos #28514)Base.LinRange
(Doc missing range exports #28115)Base.MergeSort
(Doc sorting algos #28514)Base.OrdinalRange
(Doc missing range exports #28115)Base.PartialQuickSort
(Doc sorting algos #28514)Base.QuickSort
(Doc sorting algos #28514)Base.RawFD
(Add docs for RawFD #28410)Base.Regex
Base.RoundFromZero
(Docs for RoundFromZero and some xrefs #28427)Base.StepRange
(Doc missing range exports #28115)Base.StridedArray
(Added docs for the StridedArrays and fixed a doctest fail #28144)Base.StridedMatrix
(Added docs for the StridedArrays and fixed a doctest fail #28144)Base.StridedVecOrMat
(Added docs for the StridedArrays and fixed a doctest fail #28144)Base.StridedVector
(Added docs for the StridedArrays and fixed a doctest fail #28144)Base.UnitRange
(Doc missing range exports #28115)(deprecated toBase.done
iterate
)Core.DenseArray
(Document DenseArrays and Dims #28080)(special keyword doc)Main.ans
Edit: updated to remove the entirely-deprecated section
The text was updated successfully, but these errors were encountered: