Skip to content

Libdoc updates - link to project and fix 404 - #668

Merged
aaltat merged 4 commits into
robotframework:masterfrom
ombre42:libdoc-updates
Oct 9, 2016
Merged

aaltat merged 4 commits into
robotframework:masterfrom
ombre42:libdoc-updates

Conversation

@ombre42

@ombre42 ombre42 commented Sep 23, 2016 •

Copy link
Copy Markdown
Contributor

The first hit on the U.S. English Google is to the libdoc, which is a dead end. So I thought it would be good to link to the project page. Also I found a 404 on the user guide caused by RF migrating to GitHub.

@pekkaklarck pekkaklarck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enhancements. Please see my line notes for few things that could be enhanced.

document is about using Selenium2Library. For information about
installation, support, and more please visit the
[https://github.com/robotframework/Selenium2Library|project page].

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to add this information, but it should be a separate paragraph indented same amount as other paragraphs. For more details see PEP-257: https://www.python.org/dev/peps/pep-0257/#multi-line-docstrings

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the feedback. even though it is docstring, it exists to generate the library documentation, so I did not think about the normal conventions. I will update it.

Comment thread src/Selenium2Library/__init__.py Outdated
For more information about the time syntax see:
http://robotframework.googlecode.com/svn/trunk/doc/userguide/RobotFrameworkUserGuide.html#time-format.
For more information about the time syntax see the
[http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#time-format|Robot Framework User Guide].

@pekkaklarck pekkaklarck Sep 23, 2016 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Also good idea to use the link format supported by Libdoc nowadays. The leading extra spaces (or is that a tab?) should be removed, though, and the last line aligned same way as the previous one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dunno how that happened but I will fix it. and will work on keeping my multiple github accounts straight :)

@aaltat

aaltat commented Sep 30, 2016

Copy link
Copy Markdown
Contributor

From my mobile screen all looks OK, but have to look from a bigger screen, because last time I did missed the line 137 problem from the mobile screen.

@ombre42

ombre42 commented Sep 30, 2016

Copy link
Copy Markdown
Contributor Author

New laptop. Did not realize I was using tabs instead of 4 spaces. Silly me. Hope to contribute more meaningfully again in the future. This PR was just getting my feet wet after being out of the pool for so long. @pekkaklarck or other contributors please try the squash during merge feature - great addition to GitHub. @pekkaklarck thanks again for your attention to detail. In then end it really pays off as it is all to easy to build up technical debt.

@pekkaklarck

Copy link
Copy Markdown
Member

Thanks for the PR @ombre42 and looking forward for more!

Tabs/spaces issues occur very easily unless you configure the editor to always use spaces (or the editor does that by default). Luckily Python 3 is more strict about mixing tabs/spaces and such errors cannot occur anymore with it. Python 2 also has -tt option to issue errors about inconsistent tab usage. Could we add it to our test scripts somewhere?

The new squashing functionality on GitHub is great. @aaltat, please merge the PR once you had a chance to look at it on a bigger screen.

@aaltat
aaltat merged commit 2466942 into robotframework:master Oct 9, 2016
HelioGuilherme66 pushed a commit to HelioGuilherme66/robotframework-seleniumlibrary that referenced this pull request Oct 15, 2016
* Fix 404 due to RF migration to Github

* Link to project page

* Format corrections per PR comments

* fix pronoun usage
Gaurang033 pushed a commit to Gaurang033/Selenium2Library that referenced this pull request Oct 17, 2016
* Fix 404 due to RF migration to Github

* Link to project page

* Format corrections per PR comments

* fix pronoun usage
VitoAlbano pushed a commit to VitoAlbano/Selenium2Library that referenced this pull request Oct 18, 2016
* Fix 404 due to RF migration to Github

* Link to project page

* Format corrections per PR comments

* fix pronoun usage
HelioGuilherme66 added a commit to HelioGuilherme66/robotframework-seleniumlibrary that referenced this pull request Jan 29, 2017
There are entries obsolete or overridden by others.
The goal is to keep Selenium2Library compatible with Python 2.7 and 3.x.

There is still discussion on the best way to solve compatability problems,
like for example, 'unicode'. See https://github.com/robotframework/Selenium2Library/pull/720 for more info on this.

Commits entries:
Changes to Travis settings to allow installation dependent on Python versions.
Transformed print statement into function. Compatible with Python 2.6.
Fixes import to be compatible with RobotFramework 3.0.
Changes Travis settings to install RobotFramework 3.0.
Separates imports per line, for better code readability.
Adds 'future' dependency and information to install it.
Upgrades Travis firefox to latest-esr.
Fixes ez_setup.py. Changes version to 1.8.0b2.
Removes selenium version dependency, current version is 2.53.2.
Add GitHub process files.
Update CONTRIBUTING.md
Fixed Issues URL to point to my fork.
Update ISSUE_TEMPLATE.md
Fix typo
Libdoc updates - link to project and fix 404 (robotframework#668)
* Fix 404 due to RF migration to Github
* Link to project page
* Format corrections per PR comments
* fix pronoun usage
Added method to find element by class name robotframework#673 (robotframework#674)
* Added method to find element by class name robotframework#673
* Changes to use Firefox ESR (45.4.0)
While we are not having Selenium 3.0 working, with external `geckodriver`, we use lower versions of stable Firefox.
* Changes to use Selenium 2.53.6 (and not 3.0)
We are not ready for Selenium 3.0 yet.
Updated Travis config.
Fixes installer for both Python 2.7 and 3.x.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants