Closed Hrishi1999 closed 7 years ago
You've started badly; there are two commits instead of one, and your commit message don't comply with our guide to contributing or the previous pull-request on documentation.
I've not looked at your commits in detail yet.
But two are different. One is example.
I will fix commit message. @quozl @samdroid-apps @walterbender @i5o Review it please. These two commits are different. One is for example and other for docs
Now there's three commits.
Yes, @walterbender asked me to update it. Please review it.
Thanks. Tested the example. It was okay. Reviewed commits;
Parameters
should be Keyword arguments
or just Args
; to comply with style, see Wiki Sugar3 Docs;COLOR_BUTTON_RED
; use an explicit colour instead, or do not give an example; and,e.g.
and before stroke_color
.@iamutkarshtiwari, since you wrote progressicon.py
do you have any comments on this pull request?
@Hrishi1999, your branch patch-1
is based on (old) 53c5058da08c11f167087a34d7dc7344d2b86098 instead of (new) 67120db59343fcc5b61843327abea9fddafe2381. Please merge with upstream master. See Keep your fork up to date.
Hopefully you are also using make-doc.sh
and python -m SimpleHTTPServer
to review how your documentation changes appear in context. Here's what your branch looks like as of c57ff0e.
Additional comments;
do_get_preferred_*
methods are listed but not documented,Parameters
is acceptable, per Napoleon list of Docstring Sections which shows Args
is an alias.
@quozl Done :D
Continuing to wait.
Checkboxes in previous comments above have been updated.
99130b02639600f2645667eb514ef0eea4df0fa5 is a recent commit that shows how to make a clickable reference to sugar3.graphics.icon.Icon
@quozl. I don't see check boxes updated. What is the problem exactly?
Checking again i found that I have considered pixel_size as string and not integer. I will fix that. But what links you were talking about and what about make-docs.sh
I've tested that I can open this pull-request in a fresh web browser and the checkboxes are updated. Please reload the page and look for tick marks [✓] inside the checkboxes. If your browser cannot display the checkboxes properly, go back through the comments and check them manually. You can find make-doc.sh
in the repository.
@quozl, review this. And did you use make-doc .sh in sugar devenv. I am having issues installing Sphinx.
Thanks, I had already reviewed 9203025, but was waiting for you to respond my other checkboxes in the pull-request; that are not yet checked-off or ticked. If you have some problem with them, let me know. I have checked with other people and they can see the checkboxes.
Yes, I used make-doc.sh
, but not inside sugar-build
. I don't use or recommend sugar-build
, but I don't see why it should not work. You will need to install Sphinx to be able to use make-doc.sh
. I used Ubuntu 16.04 and this step;
apt install python-sphinx
Hope that helps.
Thanks. I know what is a checkbox (I am a dev, I've made apps, (not in python)). Let me use Ubuntu and wait.
I've seen that here. trusty
is Ubuntu 14.04, and the python-sphinx
package in that release does not load a compatible version of napoleon
. That's why I said Ubuntu 16.04.
"there is no COLOR_BUTTON_RED; use an explicit colour instead, or do not give an example; and," And I've removed the example.
I've documented progressicon.py and created example. From my previous work : https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/299 My previous work didn't include an example. I've added it now.