From 48bf40a50bcf7d0ed1b6e3cb1b5c59aee6407b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Lapr=C3=A9?= Date: Wed, 4 Aug 2021 14:39:20 +0200 Subject: [PATCH] Updated base URL for OSISoft documentation --- PIconnect/PIConsts.py | 14 +++++++------- docs/conf.py | 4 +--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/PIconnect/PIConsts.py b/PIconnect/PIConsts.py index 94743c46..bce35584 100644 --- a/PIconnect/PIConsts.py +++ b/PIconnect/PIConsts.py @@ -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. @@ -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. @@ -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 @@ -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. @@ -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. @@ -106,7 +106,7 @@ class SummaryType(IntFlag): # 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 @@ -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. diff --git a/docs/conf.py b/docs/conf.py index b3f4175d..2703cdd3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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),