Skip to content

Commit

Permalink
Update github pages cname (#96)
Browse files Browse the repository at this point in the history
* CI: update gh pages cname

* DOC: use edb documentation url
  • Loading branch information
SMoraisAnsys authored Dec 24, 2023
1 parent 8242672 commit 025d883
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion doc/source/Getting_started/Contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To reach the product support team, email `[email protected] <pyansys.core@a
View PyEDB documentation
-------------------------
Documentation for the latest stable release of PyEDB is hosted at
`PyEDB Documentation <https://aedt.docs.pyansys.com>`_.
`PyEDB Documentation <https://edb.docs.pyansys.com>`_.

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
Expand Down
2 changes: 1 addition & 1 deletion doc/source/Getting_started/Quickcode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Quick code
Documentation and issues
------------------------
Documentation for the latest stable release of PyEDB is hosted at
`PyEDB documentation <https://aedt.docs.pyansys.com/version/stable/>`_.
`PyEDB documentation <https://edb.docs.pyansys.com/version/stable/>`_.

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
Expand Down
4 changes: 2 additions & 2 deletions src/pyedb/generic/general_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 025d883

Please sign in to comment.