Skip to content

Commit

Permalink
Fix PyPI Documentation Links (#159)
Browse files Browse the repository at this point in the history
* Add more context to doc link.

* Add docs link to pyproject.toml
  • Loading branch information
Andy-Grigg committed Feb 24, 2022
1 parent 450bed7 commit 6baefef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Alternatively, clone and install with:
Documentation
-------------
`PyAnsys <https://grantami.docs.pyansys.com>`_
See `Granta MI BoM Analytics Documentation <https://grantami.docs.pyansys.com>`_
for more details.


Usage
Expand All @@ -44,7 +45,7 @@ Here's a brief example of how the package works:
>>> from pprint import pprint
>>> from ansys.grantami.bomanalytics import Connection, queries
>>> cxn = Connection(servicelayer_url='http://localhost/mi_servicelayer').with_autologon().connect()
>>> cxn = Connection("http://my_grantami_server/mi_servicelayer").with_autologon().connect()
>>> query = (
... queries.MaterialImpactedSubstancesQuery()
... .with_material_ids(['plastic-abs-pvc-flame'])
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license = "MIT"
authors = ["ANSYS, Inc."]
maintainers = ["PyAnsys Maintainers <[email protected]>"]
repository = "https://github.com/pyansys/grantami-bomanalytics"
documentation = "https://grantami.docs.pyansys.com"
readme = "README.rst"
keywords = [
"Ansys",
Expand Down

0 comments on commit 6baefef

Please sign in to comment.