Skip to content

Commit 08c3868

Browse files
still trsing to fix autodoc
1 parent ce7aace commit 08c3868

File tree

2 files changed

+26
-27
lines changed

2 files changed

+26
-27
lines changed

display_server_interactions/base.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from abc import ABCMeta, abstractmethod
55
from .window import WindowBase
6-
from . import __os_name
6+
#from . import __os_name
77

88

99
class DSIBase(object, metaclass=ABCMeta):
@@ -48,30 +48,30 @@ def get_window_by_name(cls, name: str) -> WindowBase:
4848
if window.name is not None and name in window.name:
4949
return window
5050

51-
@property
52-
def platform(self) -> str:
53-
"""
54-
Returns the platform name.
55-
"""
56-
return __os_name
51+
# @property
52+
# def platform(self) -> str:
53+
# """
54+
# Returns the platform name.
55+
# """
56+
# return __os_name
5757

58-
@property
59-
def linux(self) -> bool:
60-
"""
61-
Returns True if the platform is linux.
62-
"""
63-
return self.platform == "linux"
58+
# @property
59+
# def linux(self) -> bool:
60+
# """
61+
# Returns True if the platform is linux.
62+
# """
63+
# return self.platform == "linux"
6464

65-
@property
66-
def windows(self) -> bool:
67-
"""
68-
Returns True if the platform is windows.
69-
"""
70-
return self.platform == "windows"
65+
# @property
66+
# def windows(self) -> bool:
67+
# """
68+
# Returns True if the platform is windows.
69+
# """
70+
# return self.platform == "windows"
7171

72-
@property
73-
def mac(self) -> bool:
74-
"""
75-
Returns True if the platform is mac.
76-
"""
77-
return self.platform == "darwin"
72+
# @property
73+
# def mac(self) -> bool:
74+
# """
75+
# Returns True if the platform is mac.
76+
# """
77+
# return self.platform == "darwin"

docs/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
sphinx~=4.5.0
22
sphinx-rtd-theme~=1.0.0
3-
sphinx-copybutton~=0.5.0
4-
--editable .
3+
sphinx-copybutton~=0.5.0

0 commit comments

Comments
 (0)