From 025d88396de4fc64dc8beb6a3f3ed7fa5f3cfa94 Mon Sep 17 00:00:00 2001 From: SMoraisAnsys <146729917+SMoraisAnsys@users.noreply.github.com> Date: Sun, 24 Dec 2023 16:34:09 +0000 Subject: [PATCH] Update github pages cname (#96) * CI: update gh pages cname * DOC: use edb documentation url --- .github/workflows/ci_cd.yml | 2 +- README.md | 6 +++--- doc/source/Getting_started/Contributing.rst | 2 +- doc/source/Getting_started/Quickcode.rst | 2 +- src/pyedb/generic/general_methods.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index d605cfca21..4047f58a17 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -14,7 +14,7 @@ env: MAIN_PYTHON_VERSION: '3.10' MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9' PACKAGE_NAME: 'pyedb' - DOCUMENTATION_CNAME: 'pyedb.docs.pyansys.com' + DOCUMENTATION_CNAME: 'edb.docs.pyansys.com' VTK_OSMESA: 'vtk-osmesa==9.2.20230527.dev0' IS_WORKFLOW_RUNNING: True ARTIFACTORY_VERSION: v242 diff --git a/README.md b/README.md index edcb31f614..3db79090b3 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,6 @@ page on the Ansys website. ## Indices and tables -- [Index](https://aedt.docs.pyansys.com/version/stable/genindex.html) -- [Module Index](https://aedt.docs.pyansys.com/version/stable/py-modindex.html) -- [Search Page](https://aedt.docs.pyansys.com/version/stable/search.html) +- [Index](https://edb.docs.pyansys.com/version/stable/genindex.html) +- [Module Index](https://edb.docs.pyansys.com/version/stable/py-modindex.html) +- [Search Page](https://edb.docs.pyansys.com/version/stable/search.html) diff --git a/doc/source/Getting_started/Contributing.rst b/doc/source/Getting_started/Contributing.rst index 0e37a50f09..5a879687c2 100644 --- a/doc/source/Getting_started/Contributing.rst +++ b/doc/source/Getting_started/Contributing.rst @@ -34,7 +34,7 @@ To reach the product support team, email `pyansys.core@ansys.com `_. +`PyEDB Documentation `_. In the upper right corner of the documentation's title bar, there is an option for switching from viewing the documentation for the latest stable release diff --git a/doc/source/Getting_started/Quickcode.rst b/doc/source/Getting_started/Quickcode.rst index a97fb4efe1..d35e420f9b 100644 --- a/doc/source/Getting_started/Quickcode.rst +++ b/doc/source/Getting_started/Quickcode.rst @@ -4,7 +4,7 @@ Quick code Documentation and issues ------------------------ Documentation for the latest stable release of PyEDB is hosted at -`PyEDB documentation `_. +`PyEDB documentation `_. In the upper right corner of the documentation's title bar, there is an option for switching from viewing the documentation for the latest stable release diff --git a/src/pyedb/generic/general_methods.py b/src/pyedb/generic/general_methods.py index cf118c2782..7e6f96c246 100644 --- a/src/pyedb/generic/general_methods.py +++ b/src/pyedb/generic/general_methods.py @@ -118,7 +118,7 @@ def _exception(ex_info, func, args, kwargs, message="Type Error"): args = [func.__name__] + [i for i in args_name if i not in ["self"]] if not func.__name__.startswith("_"): _write_mes( - "Check Online documentation on: https://aedt.docs.pyansys.com/version/stable/search.html?q={}".format( + "Check Online documentation on: https://edb.docs.pyansys.com/version/stable/search.html?q={}".format( "+".join(args) ) ) @@ -1780,7 +1780,7 @@ def install_with_pip(package_name, package_path=None, upgrade=False, uninstall=F class Help: # pragma: no cover def __init__(self): - self._base_path = "https://aedt.docs.pyansys.com/version/stable" + self._base_path = "https://edb.docs.pyansys.com/version/stable" self.browser = "default" def _launch_ur(self, url):