Skip to content

Commit 1e635ff

Browse files
authored
Merge pull request #147 from QuLogic/mpl37
Update to mpl-sphinx-theme 3.7
2 parents 6fc4713 + 4238cc7 commit 1e635ff

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

.github/workflows/main.yml renamed to .github/workflows/circleci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
---
2+
name: "CircleCI artifact handling"
13
on: [status]
24
jobs:
35
circleci_artifacts_redirector_job:
6+
if: "${{ github.event.context == 'ci/circleci: build_docs' }}"
7+
permissions:
8+
statuses: write
49
runs-on: ubuntu-latest
510
name: Run CircleCI artifacts redirector
611
steps:
@@ -10,3 +15,4 @@ jobs:
1015
repo-token: ${{ secrets.GITHUB_TOKEN }}
1116
artifact-path: 0/docs/build/html/index.html
1217
circleci-jobs: build_docs
18+
job-title: View the built docs

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: GitHub Pages
23

34
on:
@@ -25,7 +26,7 @@ jobs:
2526
2627
- name: Make docs builds
2728
run: |
28-
make -C docs html
29+
make -C docs html O="-t release"
2930
3031
- name: Deploy
3132
uses: peaceiris/actions-gh-pages@v3

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ jinja2
22
markdown
33
pyyaml
44
sphinx
5-
mpl-sphinx-theme~=3.6.0
5+
mpl-sphinx-theme~=3.7.1

docs/source/conf.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,8 @@
1616
html_theme = "mpl_sphinx_theme"
1717
html_static_path = ["./_static"]
1818
html_theme_options = {
19-
"logo": {
20-
"link": "https://matplotlib.org/stable",
21-
"image_light": "images/logo2.svg",
22-
"image_dark": "images/logo_dark.svg",
23-
},
24-
"navbar_links": "internal",
25-
"page_sidebar_items": "page-toc.html",
19+
"navbar_links": ("absolute", "server-stable"),
20+
"secondary_sidebar_items": "page-toc.html",
2621
}
2722

2823
html_css_files = [

python/template.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% with section_id = section.name | lower | replace(" ", "-") %}
99
<h3 id="{{ section_id }}">
1010
{{ section.name }}
11-
<a class="headerlink" href="#{{ section_id }}" title="Permalink to this headline"></a>
11+
<a class="headerlink" href="#{{ section_id }}" title="Permalink to this headline">#</a>
1212
</h3>
1313
{% endwith %}
1414
</th>

0 commit comments

Comments
 (0)