Skip to content

Commit

Permalink
Fix docs links to point to PennyLaneAI organization (#99)
Browse files Browse the repository at this point in the history
* fix docs links to point to PennyLaneAI

* fix more links

* apply suggestions from review

* Trigger CI
  • Loading branch information
antalszava committed Mar 23, 2022
1 parent e1e3308 commit d3eb2f2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@
"table_header_border": "#19b37b",
"download_button": "#19b37b",
# gallery options
# "github_repo": "XanaduAI/PennyLane",
# "github_repo": "PennyLaneAI/PennyLane",
# "gallery_dirs": "tutorials",
}

edit_on_github_project = 'XanaduAI/pennylane-forest'
edit_on_github_project = 'PennyLaneAI/pennylane-forest'
edit_on_github_branch = 'master/doc'

# -- Options for LaTeX output ---------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Check out these demos to see the PennyLane-Forest plugin in action:
.. demogalleryitem::
:name: Ensemble classification with Forest and Qiskit devices
:figure: https://pennylane.ai/qml/_images/ensemble_diagram.png
:link: https://pennylane.ai/qml/demos/tutorial_ensemble_multi_qpu.html
:link: https://pennylane.ai/qml/demos/ensemble_multi_qpu.html
:tooltip: Use multiple QPUs to improve classification.

.. demogalleryitem::
Expand Down
6 changes: 3 additions & 3 deletions doc/xanadu_theme/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h5 class=" mb-1 footer-heading">PennyLane</h5>
<hr width=100px class="d-inline-block mt-0 mb-1 Deep-purple accent-4">
<ul class="list-unstyled">
<li><a class="" href="https://pennylane.ai/">Home page</a></li>
<li><a class="" href="https://github.com/XanaduAI/pennylane">GitHub</a></li>
<li><a class="" href="https://github.com/PennyLaneAI/pennylane">GitHub</a></li>
<li><a class="" href="https://pennylane.readthedocs.io/">Documentation</a></li>
<li><a class="" href="https://discuss.pennylane.ai/">Discussion forum</a></li>
<li><a class="" href="https://twitter.com/pennylaneai/">Twitter</a></li>
Expand All @@ -38,9 +38,9 @@ <h5 class=" mb-1 footer-heading">About</h5>
<ul class="list-unstyled">
<li><a class="" href="https://www.xanadu.ai/">Home</a></li>
<li><a class="" href="https://www.xanadu.ai/hardware/">Hardware</a></li>
<li><a class="" href="https://www.xanadu.ai/software/">Software</a></li>
<li><a class="" href="https://www.xanadu.ai/pennylane">PennyLane</a></li>
<li><a class="" href="https://www.xanadu.ai/research">Research</a></li>
<li><a class="" href="https://medium.com/XanaduAI">Blog</a></li>
<li><a class="" href="https://pennylane.ai/blog">Blog</a></li>
<li><a class="" href="https://www.xanadu.ai/about/">About</a></li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion doc/xanadu_theme/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/XanaduAI/pennyLane-forest">
<a class="nav-link" href="https://github.com/PennyLaneAI/pennyLane-forest">
<i class="fab fa-github"></i> GitHub
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion doc/xanadu_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
var tutorialUrlArray = $("#tutorial-type").text().split('/');
tutorialUrlArray[0] = "examples"

var githubLink = "https://github.com/XanaduAI/pennylane/blob/master/" + tutorialUrlArray.join("/") + ".py",
var githubLink = "https://github.com/PennyLaneAI/pennylane/blob/master/" + tutorialUrlArray.join("/") + ".py",
pythonLink = $(".reference.download")[0].href,
notebookLink = $(".reference.download")[1].href,
notebookDownloadPath = notebookLink.split('_downloads')[1].split('/').pop();
Expand Down

0 comments on commit d3eb2f2

Please sign in to comment.