-
-
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
Missing docstrings for public/exported symbols #52725
Comments
Also for all modules
|
(Note that the module-specific |
Sidenote: presumably they should be |
|
I'm guessing this list was created with a buggy |
Hi @stevengj , can I work on this issue? Thanks |
You can work on this issue! Add some docstrings to names on this list that you understand and make a pull request :) |
Hi @LilithHafner, adding docstring means writing documentation for the keywords on the list like Base, Base.Sys etc right? Can you please explain what kind of documentation is to be written? Do we have to write about what they do? |
That will be fixed by #52727. |
When you type A good workflow might be
|
@Bhavay-2001 an example of a PR that contributes to this issue is the one I made: #52733 , maybe that's helpful to look at! Thanks for your interest and we look forward to your first PR! |
Hello, I also am interested in working in this issue, can I also work on this? |
Anyone can work on this. I'll try to keep the list up to date, and link a PR if someone is already working on it even if it's not done yet, so that people don't duplicate efforts. You can also look at linked PRs for examples. (The easiest ones to start on would probably be the ones where only the module name itself is missing a docstring, e.g. |
#52791 |
Running the full test suite can take a long time, since it's running on lots of platforms using servers that have lots of jobs queued. And it's not uncommon to have unrelated failures on a few platforms (e.g. due to network glitches or unrelated bugs that arise on unusual systems) — if the error messages look unrelated to the code you edited, I wouldn't worry about it. One of the Julia maintainers will look at the test logs before merging. |
Excuse me for the disturbance, but I have a quick question regarding our workflow. I've recently added a PR (#52825) for the Libdl module documentation and was wondering if it's necessary or preferred to link every PR to its corresponding issue in the discussion? I want to ensure my contributions align well with the team's practices. Thank you very much! |
If a PR addresses an issue, I typically link to that issue in the original post of the PR (e.g. "Fixes part of #52725") in addition to briefly describing the change. GitHub automatically inserts a back-link from the issue that is linked to back to the linking issue so I don't usually create a manual back-link. |
Documentation update for LinearAlgebra functions, see #52725 - [X] Pivoting strategies - [X] `NoPivot` - [X] `RowNonZero` - [X] `ColumnNorm` - [X] `RowMaximum` - [X] Matrix multiplication functions - [X] `copy_transpose!` - [X] `copyto!` Note: `copyto!` is not mentioned in the original issue. However, it is felt that `copy_transpose!` without the complementing `copyto!` will be confusing for a reader. - [X] Exceptions - [X] `LAPACKException` - [X] `RankDeficientException` Co-authored-by: Steven G. Johnson <stevenj@mit.edu> Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
@stevengj what should good docstring have? |
@danik292, see the Writing Documentation section of the manual. |
@stevengj thx |
@stevengj thx |
Did someone mention sorting? Hello.
Something that maybe shouldn't have been exported from the
It's defined at or near line 815 of base/sort.jl
|
wow how you do this?? |
|
What about |
Thanks, @jariji, I added an item for |
This is a part of issue JuliaLang#52725. --------- Co-authored-by: Steven G. Johnson <stevenj@mit.edu> Co-authored-by: Max Horn <max@quendi.de> (cherry picked from commit 15e2af2)
Hello @stevengj I am going to the Write docstring for
|
Thanks, though there's no need to at someone to announce that |
Well I am announcing it because I don't want to do it to see someone alredy done it |
Just open a draft PR and link to this issue, and we will link back to it from here. PRs aren't getting opened so frequently that you are likely to see someone else jumping in at the same time on the same docstring. |
@stevengj small_thereshold is constant witch seys biggest number of membrs of a list is still internaly counted as small. |
This is a part of issue JuliaLang#52725. --------- (cherry picked from commit 15e2af2) Co-Authored-By: Steven G. Johnson <stevenj@mit.edu> Co-Authored-By: Max Horn <max@quendi.de>
Stdlib submodules may be missing docstrings: |
Do we also need to write docstrings for all the types that are returned by public functions of public types? Since how is a user supposed to handle an undocumented value? E.g. julia> typeof(reshape(rand(2,2)', :))
Base.ReshapedArray{Float64, 1, Adjoint{Float64, Matrix{Float64}}, Tuple{Base.MultiplicativeInverses.SignedMultiplicativeInverse{Int64}}}
help?> Base.ReshapedArray
No documentation found. |
This is a tracking issue for public/exported symbols missing docstrings that were identified with the help of #52723. Please check them off as they get fixed and link the corresponding PRs (which should also enable a
@test isempty(Docs.undocumented_names(ThisModule))
regression test).Note that this is separate from the issue of whether those docstrings are included in the manual (#19529).
Core
:AtomicMemoryRef
,ConcurrencyViolationError
,Exception
,GenericMemoryRef
,GlobalRef
,IO
,LineNumberNode
,Method
,SegmentationFault
,TypeVar
,arrayref
,arrayset
,arraysize
,const_arrayref
Base
and public/exported submodules thereof:Base
:BufferStream
,CanonicalIndexError
,CapturedException
,Filesystem
,IOServer
,InvalidStateException
,Order
,PipeEndpoint
,Sort
,TTY
Base.Sys
:CPU_NAME
,JIT
,cpu_info
,cpu_summary
(add missing docstrings for Base.Sys #52777)Base.Filesystem
:File
,Filesystem
,cptree
,futime
,rename
,sendfile
,unlink
JL_O_APPEND
,JL_O_ASYNC
,JL_O_CLOEXEC
,JL_O_CREAT
,JL_O_DIRECT
,JL_O_DIRECTORY
,JL_O_DSYNC
,JL_O_EXCL
,JL_O_FSYNC
,JL_O_LARGEFILE
,JL_O_NDELAY
,JL_O_NOATIME
,JL_O_NOCTTY
,JL_O_NOFOLLOW
,JL_O_NONBLOCK
,JL_O_PATH
,JL_O_RANDOM
,JL_O_RDONLY
,JL_O_RDWR
,JL_O_RSYNC
,JL_O_SEQUENTIAL
,JL_O_SHORT_LIVED
,JL_O_SYNC
,JL_O_TEMPORARY
,JL_O_TMPFILE
,JL_O_TRUNC
,JL_O_WRONLY
,S_IRGRP
,S_IROTH
,S_IRUSR
,S_IRWXG
,S_IRWXO
,S_IRWXU
,S_IWGRP
,S_IWOTH
,S_IWUSR
,S_IXGRP
,S_IXOTH
,S_IXUSR
(Add docstring to constants inBase.Filesystem
#53247)Base.Docs
:@var
Base.Broadcast
:dotview
Base.Order
:DirectOrdering
,ForwardOrdering
,Order
,ordtype
Base.Sort
:Algorithm
,(add docstring for SMALL_ALGORITHM #53807),SMALL_ALGORITHM
SMALL_THRESHOLD
,Sort
Standard Library:
Libdl
(Added documentation to libdl module #52825)TOML
(Add docstring for TOML stdlib module #52834)Artifacts
(Added docstring for Artifacts.jl #52913)adjust
(Add docstring for Dates.adjust #52914)Unicode
([RFC:] Docstring for Unicode module #52761)@doc_str
,@md_str
,html
,latex
(Docstring for Markdown.html and Markdown.latex #52733 and [Markdown] added doc string for @md_str string literal #52606)AbstractSerializer
,Serializer
AbstractREPL
,BasicREPL
,LineEditREPL
,StreamREPL
(Added documentation for all repl types #52876)Printf
(Documentation for "Printf" Module #52791)InteractiveUtils
(Add docstring for InteractiveUtils module #53206)Allocs
(Adding docstring for the Allocs #53559)ColumnNorm
,LAPACKException
,NoPivot
,RankDeficientException
,RowMaximum
,RowNonZero
,copy_transpose!
(Documentation update for LinearAlgebra functions #52934)AboveMaxLevel
,BelowMinLevel
FDWatcher
,FileMonitor
,FolderMonitor
,PollingFileWatcher
fkeep!
(Movefkeep!
docstring to the right function JuliaSparse/SparseArrays.jl#503)Tar
(Add docstring for Tar module JuliaIO/Tar.jl#173)PKGMODE_MANIFEST
,PKGMODE_PROJECT
,PRESERVE_ALL
,PRESERVE_ALL_INSTALLED
,PRESERVE_DIRECT
,PRESERVE_NONE
,PRESERVE_SEMVER
,PRESERVE_TIERED
,PRESERVE_TIERED_INSTALLED
,Pkg
,PreserveLevel
,Registry
,UPLEVEL_MAJOR
,UPLEVEL_MINOR
,UPLEVEL_PATCH
The text was updated successfully, but these errors were encountered: