FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge remote-tracking branch 'upstream/main' · python/python-docs-theme@abe4d77 · GitHub

Repository navigation

Commit abe4d77

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents bad0eae + d3002a5 commit abe4d77

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717
with:
1818
persist-credentials: false
19-
- uses: j178/prek-action@5337cb91e0fa35a7ff31b9ca345126d8bbbcdf16 # v2.0.6
19+
- uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0

‎.github/workflows/pypi-package.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2727

28-
- uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2.18.0
28+
- uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
2929

3030
# Upload to real PyPI on GitHub Releases.
3131
release-pypi:
@@ -49,4 +49,4 @@ jobs:
4949
path: dist
5050

5151
- name: Upload package to PyPI
52-
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
52+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

‎python_docs_theme/layout.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>{{ _('Navigation') }}</h3>
1414
</li>
1515
{%- endfor %}
1616
{%- block rootrellink %}
17-
<li><img src="{{ pathto('_static/' ~ theme_root_icon, 1) }}" alt="{{ theme_root_icon_alt_text }}" style="vertical-align: middle; margin-top: -1px"></li>
17+
<li class="root-icon"><img src="{{ pathto('_static/' ~ theme_root_icon, 1) }}" alt="{{ theme_root_icon_alt_text }}" style="vertical-align: middle; margin-top: -1px"></li>
1818
<li><a href="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li>
1919
<li class="switchers">
2020
<div class="language_switcher_placeholder"></div>

‎python_docs_theme/static/pydoctheme.css‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,16 @@ div.genindex-jumpbox a {
564564
margin-inline-start: 1rem;
565565
margin-inline-end: 0;
566566
}
567-
/* Remove sidebar and top related bar */
568-
div.related, div.sphinxsidebar {
567+
/* Remove sidebar and desktop-only related controls */
568+
div.related li.right, div.related li.switchers, div.sphinxsidebar {
569569
display: none;
570570
}
571+
div.related .root-icon, div.related .root-icon + li {
572+
display: none;
573+
}
574+
div.related {
575+
line-height: 1.3;
576+
}
571577
/* Anchorlinks are not hidden by fixed-positioned navbar when scrolled to */
572578
html {
573579
scroll-padding-top: 40px;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL