Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove master references #208

Merged
merged 6 commits into from
Aug 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix broken links
  • Loading branch information
sampan501 committed Aug 23, 2021
commit 045dc9aaa87c90e10f74e182fe132a2aff91e9e2
8 changes: 4 additions & 4 deletions docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% if pagename.startswith("api/generated") or suffix == ".ipynb" %}
{% set title = "Suggested improvement for " + pagename %}
{% set body = "Please describe what could be improved about this page or the typo/mistake that you found:" %}
<a href="https://github.com/{{ github_repo }}/issues/new?title={{ title|urlencode }}&body={{ body|urlencode }}"
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/issues/new?title={{ title|urlencode }}&body={{ body|urlencode }}"
class="fa fa-github"> Improve this page</a>
{% elif pagename.split("/")[0] in galleries %}
{% set gallery_path = gallery_dir[pagename.split("/")[0]] %}
Expand All @@ -19,15 +19,15 @@
{% else %}
{% set example_script = example_script + ".py" %}
{% endif %}
<a href="/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ example_script }}"
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ example_script }}"
class="fa fa-github"> Improve this page</a>
{% else %}
<a href="/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ pagename }}{{ suffix }}"
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}/{{ doc_path }}/{{ pagename }}{{ suffix }}"
class="fa fa-github"> Improve this page</a>
{% endif %}
{% endif %}
{% if suffix == ".ipynb" %}
<a href="/{{ github_repo }}/raw/{{ github_version }}/{{ doc_path }}/{{ pagename }}{{ suffix }}"
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/raw/{{ github_version }}/{{ doc_path }}/{{ pagename }}{{ suffix }}"
class="fa fa-download"> Download notebook</a>
{% endif %}
</li>
Expand Down