Skip to content

Commit

Permalink
Updated base URL for OSISoft documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugovdberg committed Aug 4, 2021
1 parent 5945bf3 commit 48bf40a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 7 additions & 7 deletions PIconnect/PIConsts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class UpdateMode(IntEnum):
"""Indicates how to treat duplicate values in the archive, when supported by the Data Reference.
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFUpdateOption.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFUpdateOption.htm
"""

#: Add the value to the archive.
Expand All @@ -36,7 +36,7 @@ class UpdateMode(IntEnum):
class BufferMode(IntEnum):
"""Indicates buffering option in updating values, when supported by the Data Reference.
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFBufferOption.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFBufferOption.htm
"""

#: Updating data reference values without buffer.
Expand All @@ -52,7 +52,7 @@ class BufferMode(IntEnum):
class AuthenticationMode(IntEnum):
"""AuthenticationMode indicates how a user authenticates to a PI Server
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_PI_PIAuthenticationMode.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_PI_PIAuthenticationMode.htm
"""

#: Use Windows authentication when making a connection
Expand All @@ -64,7 +64,7 @@ class AuthenticationMode(IntEnum):
class CalculationBasis(IntEnum):
"""CalculationBasis indicates how values should be weighted over a time range
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFCalculationBasis.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFCalculationBasis.htm
"""

#: Each event is weighted according to the time over which it applies.
Expand All @@ -86,7 +86,7 @@ class CalculationBasis(IntEnum):
class ExpressionSampleType(IntEnum):
"""ExpressionSampleType indicates how expressions are evaluated over a time range.
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFSampleType.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFSampleType.htm
"""

#: The expression is evaluated at each archive event.
Expand All @@ -106,7 +106,7 @@ class SummaryType(IntFlag):
<SummaryType.MAXIMUM|MINIMUM: 12> # On Python 3.6+
12 # On previous versions
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFSummaryTypes.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFSummaryTypes.htm
"""

#: No summary data
Expand Down Expand Up @@ -141,7 +141,7 @@ class TimestampCalculation(IntEnum):
"""
TimestampCalculation defines the timestamp returned for a given summary calculation
Detailed information is available at https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/T_OSIsoft_AF_Data_AFTimestampCalculation.htm
Detailed information is available at https://docs.osisoft.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFTimestampCalculation.htm
"""

#: The timestamp is the event time of the minimum or maximum for those summaries or the beginning of the interval otherwise.
Expand Down
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ def __getattr__(cls, name):
# The full version, including alpha/beta/rc tags.
release = PIconnect.__version__

extlinks = {
"afsdk": ("https://techsupport.osisoft.com/Documentation/PI-AF-SDK/html/%s", "")
}
extlinks = {"afsdk": ("https://docs.osisoft.com/bundle/af-sdk/page/html/%s", "")}

intersphinx_mapping = {
"python": ("https://docs.python.org/3.8", None),
Expand Down

0 comments on commit 48bf40a

Please sign in to comment.