Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 2cfa9cf

Browse files
committed
Fix internal linking to general library documentation
1 parent 0e22f3b commit 2cfa9cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Selenium2Library/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
import inspect
18+
1719
from SeleniumLibrary import SeleniumLibrary
1820

1921

@@ -26,7 +28,7 @@ def get_keyword_documentation(self, name):
2628
if name != '__intro__':
2729
doc = SeleniumLibrary.get_keyword_documentation(self, name)
2830
return doc.replace('SeleniumLibrary', 'Selenium2Library')
29-
intro = SeleniumLibrary.__doc__
31+
intro = inspect.getdoc(SeleniumLibrary)
3032
intro = intro.replace('SeleniumLibrary', 'Selenium2Library')
3133
return """
3234
---

0 commit comments

Comments
 (0)