Skip to content

Commit

Permalink
Switch to new documentation links to avoid a redirect (Qiskit#877)
Browse files Browse the repository at this point in the history
* Switch old documentation links to new one (saves a redirect)

* More links
  • Loading branch information
IvanIsCoding committed May 26, 2023
1 parent bf139cd commit 8fb2e1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[![Zenodo](https://img.shields.io/badge/Zenodo-10.5281%2Fzenodo.5879859-blue)](https://doi.org/10.5281/zenodo.5879859)

- You can see the full rendered docs at:
<https://qiskit.org/documentation/rustworkx/dev>
<https://qiskit.org/ecosystem/rustworkx/dev>

|:warning:| The retworkx project has been renamed to **rustworkx**. The use of the
retworkx package will still work for the time being but starting in the 1.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
redirects[f"stubs/{source_str}"] = f"../apiref/{source_str}"

if os.getenv("RETWORKX_LEGACY_DOCS", None) is not None:
redirects["*"] = "https://qiskit.org/documentation/rustworkx/$source.html"
html_baseurl = "https://qiskit.org/documentation/rustworkx/"
redirects["*"] = "https://qiskit.org/ecosystem/rustworkx/$source.html"
html_baseurl = "https://qiskit.org/ecosystem/rustworkx/"


# Version extensions
Expand Down
2 changes: 1 addition & 1 deletion rustworkx-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
//! The release notes for rustworkx-core are included as part of the rustworkx
//! documentation which is hosted at:
//!
//! <https://qiskit.org/documentation/rustworkx/release_notes.html>
//! <https://qiskit.org/ecosystem/rustworkx/release_notes.html>

use std::convert::Infallible;

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def readme():
project_urls={
"Bug Tracker": "https://github.com/Qiskit/rustworkx/issues",
"Source Code": "https://github.com/Qiskit/rustworkx",
"Documentation": "https://qiskit.org/documentation/rustworkx",
"Documentation": "https://qiskit.org/ecosystem/rustworkx/",
},
rust_extensions=RUST_EXTENSIONS,
include_package_data=True,
Expand Down

0 comments on commit 8fb2e1b

Please sign in to comment.