Skip to content

Commit

Permalink
Improve version chooser: Remove ambiguous link to master doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 30, 2023
1 parent 537cb64 commit 3a01b49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Unreleased
----------

- Fix CSS: Remove font size of blockquote override
- Improve version chooser: Remove ambiguous link to master doc.


2023/08/11 0.29.2
Expand Down
3 changes: 1 addition & 2 deletions src/crate/theme/rtd/crate/version_chooser.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<div class="version-chooser-container">
<details class="sd-sphinx-override sd-dropdown sd-card version-chooser-content"> <!-- open="" -->
<summary class="sd-summary-title sd-card-header version-chooser-title">
<div><a href="{{ pathto(master_doc) }}">v:{{ current_version }}</a></div>

<span>{{ current_version }}</span>
<div class="sd-summary-down docutils">
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M5.22 8.72a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 00-1.06-1.06L12 14.44 6.28 8.72a.75.75 0 00-1.06 0z"></path></svg>
</div>
Expand Down

0 comments on commit 3a01b49

Please sign in to comment.