-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix346_documenter
- Loading branch information
Showing
8 changed files
with
176 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ceb450a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I look at the doc files associated with this commit, I see many functions listed in sorted_containers.md for which there is no documentation (i.e., just a definition with nothing underneath). Is this what you intended?
ceb450a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My goal wasn't to write docstring for all functions... but just to move documentation build system from Sphinx to Documenter.jl to help running doctests...
I think what you are saying can be done in an other PR to improve documentation
ceb450a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But what happened to the documentation that was already written on the functions like
first()
andfind()
? This documentation seems to be missing from the new md file.ceb450a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a screenshot showing how
first
documentation appears (automatically from docstring)So doc is not lost (fortunately!)
I suggest to clone my branch
https://github.com/scls19fr/DataStructures.jl/tree/fix346_documenter
and build it using
the hard part of this PR was to move all doc from md files (initially from rst files) to docstring (into source code over appropriate function definition, sometime 3 times when doc of a function apply to
SortedDict
,SortedMultiDict
,SortedSet
The good side of this, is that it should be easier to document when for example constructors are changing.