pax_global_header00006660000000000000000000000064141345443210014513gustar00rootroot0000000000000052 comment=6d4385f88c5ff8db595aa35469b23ef13168c07a mpl-sphinx-theme-0.0.6/000077500000000000000000000000001413454432100147155ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.circleci/000077500000000000000000000000001413454432100165505ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.circleci/config.yml000066400000000000000000000010251413454432100205360ustar00rootroot00000000000000version: 2.1 orbs: python: circleci/python@0.2.1 jobs: build_docs: executor: python/default steps: - checkout - python/install-deps - run: name: install theme command: python -m pip install --user -ve . - run: name: Build docs command: cd docs/ && make html - persist_to_workspace: root: docs/_build/html paths: . - store_artifacts: path: docs/_build/html/ workflows: main: jobs: - build_docs mpl-sphinx-theme-0.0.6/.github/000077500000000000000000000000001413454432100162555ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/.github/000077500000000000000000000000001413454432100176155ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/.github/workflows/000077500000000000000000000000001413454432100216525ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/.github/workflows/lighthouse.yml000066400000000000000000000012311413454432100245450ustar00rootroot00000000000000name: Lighthouse on: [push, pull_request] jobs: CI: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Python 3.7 uses: actions/setup-python@v1 with: python-version: 3.7 - name: Install dask-sphinx-theme run: | python -m pip install --upgrade pip python -m pip install -e . - name: Make example docs run: | cd docs make html - name: Run Lighthouse against example docs build uses: treosh/lighthouse-ci-action@v2 with: configPath: "./lighthouserc.json" temporaryPublicStorage: true mpl-sphinx-theme-0.0.6/.github/.github/workflows/pre-commit.yaml000066400000000000000000000004221413454432100246100ustar00rootroot00000000000000name: Linting on: push: branches: main pull_request: branches: main jobs: checks: name: pre-commit hooks runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - uses: pre-commit/action@v2.0.0 mpl-sphinx-theme-0.0.6/.github/.github/workflows/publish-pypi.yml000066400000000000000000000013511413454432100250220ustar00rootroot00000000000000name: Push to PyPI on: push: tags: - "*" jobs: publish: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Set up Python 3.7 uses: actions/setup-python@v1 with: python-version: 3.7 - name: Install dask-sphinx-theme run: | python -m pip install --upgrade pip python -m pip install -e . - name: Build dask-sphinx-theme dist run: | python -m pip install wheel twine python setup.py sdist bdist_wheel - name: Publish dask-sphinx-theme uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.pypi_token }} mpl-sphinx-theme-0.0.6/.github/.githubold/000077500000000000000000000000001413454432100203145ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/.githubold/pull_request_template.md000066400000000000000000000007331413454432100252600ustar00rootroot00000000000000## PR Summary mpl-sphinx-theme-0.0.6/.github/.githubold/workflows/000077500000000000000000000000001413454432100223515ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/.githubold/workflows/main.yml000066400000000000000000000006111413454432100240160ustar00rootroot00000000000000on: [status] jobs: circleci_artifacts_redirector_job: runs-on: ubuntu-latest name: Run CircleCI artifacts redirector steps: - name: GitHub Action step uses: larsoner/circleci-artifacts-redirector-action@master with: repo-token: ${{ secrets.GITHUB_TOKEN }} artifact-path: 0/docs/_build/html/index.html circleci-jobs: build_docs mpl-sphinx-theme-0.0.6/.github/workflows/000077500000000000000000000000001413454432100203125ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/.github/workflows/main.yml000066400000000000000000000006111413454432100217570ustar00rootroot00000000000000on: [status] jobs: circleci_artifacts_redirector_job: runs-on: ubuntu-latest name: Run CircleCI artifacts redirector steps: - name: GitHub Action step uses: larsoner/circleci-artifacts-redirector-action@master with: repo-token: ${{ secrets.GITHUB_TOKEN }} artifact-path: 0/docs/_build/html/index.html circleci-jobs: build_docs mpl-sphinx-theme-0.0.6/CONTRIBUTING.md000066400000000000000000000011101413454432100171370ustar00rootroot00000000000000Matplotlib is a community maintained project. We welcome contributions in the form of bug reports, documentation, code, design proposals, and more. For general information on how to contribute see https://matplotlib.org/stable/devel/. Installing the theme itself: After following the contribution guidelines in the Matplotlib docs, you will still need to install the theme itself to see the changes you made. At the root level of the repository run: `python -m pip install -e .` After that you will be able to build the docs locally by doing `make html` in the `docs` directory. mpl-sphinx-theme-0.0.6/LICENSE.txt000066400000000000000000000113361413454432100165440ustar00rootroot00000000000000License agreement for matplotlib versions 1.3.0 and later ========================================================= 1. This LICENSE AGREEMENT is between the Matplotlib Development Team ("MDT"), and the Individual or Organization ("Licensee") accessing and otherwise using matplotlib software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, MDT hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use matplotlib alone or in any derivative version, provided, however, that MDT's License Agreement and MDT's notice of copyright, i.e., "Copyright (c) 2012- Matplotlib Development Team; All Rights Reserved" are retained in matplotlib alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates matplotlib or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to matplotlib . 4. MDT is making matplotlib available to Licensee on an "AS IS" basis. MDT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, MDT MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. MDT SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between MDT and Licensee. This License Agreement does not grant permission to use MDT trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using matplotlib , Licensee agrees to be bound by the terms and conditions of this License Agreement. License agreement for matplotlib versions prior to 1.3.0 ======================================================== 1. This LICENSE AGREEMENT is between John D. Hunter ("JDH"), and the Individual or Organization ("Licensee") accessing and otherwise using matplotlib software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, JDH hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use matplotlib alone or in any derivative version, provided, however, that JDH's License Agreement and JDH's notice of copyright, i.e., "Copyright (c) 2002-2011 John D. Hunter; All Rights Reserved" are retained in matplotlib alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates matplotlib or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to matplotlib. 4. JDH is making matplotlib available to Licensee on an "AS IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING MATPLOTLIB , OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between JDH and Licensee. This License Agreement does not grant permission to use JDH trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using matplotlib, Licensee agrees to be bound by the terms and conditions of this License Agreement.mpl-sphinx-theme-0.0.6/MANIFEST.in000066400000000000000000000006061413454432100164550ustar00rootroot00000000000000recursive-include mpl_sphinx_theme *.py recursive-include mpl_sphinx_theme *.html recursive-include mpl_sphinx_theme *.css recursive-include mpl_sphinx_theme *.svg recursive-include mpl_sphinx_theme *.png recursive-include mpl_sphinx_theme *.ico recursive-include mpl_sphinx_theme *.conf include setup.py include requirements.txt include README.rst include LICENSE.txt include MANIFEST.in mpl-sphinx-theme-0.0.6/README.rst000066400000000000000000000041561413454432100164120ustar00rootroot00000000000000Matplotlib Sphinx Theme ======================= This is the official Sphinx theme for Matplotlib documentation. It extends the ``pydata-sphinx-theme`` project, but adds custom styling and a navigation bar. When creating a Matplotlib subproject you can include this theme by changing this line in your ``conf.py`` file .. code-block:: python html_theme = 'mpl_sphinx_theme' And by including ``mpl_sphinx_theme`` as a requirement in your documentation installation. See the ``docs/conf.py`` file for other settings. There are three main templates that replace the defaults in ``pydata-sphinx-theme``: .. code-block:: navbar_start = mpl_navbar_logo.html navbar_center = mpl_nav_bar.html navbar_end = mpl_icon_links.html Note that the option ``html_logo`` need not be specified as it is included in ``mpl_sphinx_theme/mpl_navbar_logo.html``. The logo is stored at ``mpl_sphinx_theme/static/images/logo2.svg``. To change the top navbar, edit ``mpl_sphinx_theme/mpl_nav_bar.html`` To change the social icons, edit ``mpl_sphinx_theme/mpl_icon_links.html`` To change the style, edit ``mpl_sphinx_theme/static/css/style.css`` Releasing --------- Manually for now... see the todo below for how we hope to eventually do it automagically. .. code-block:: $ git checkout $ git tag -a x.y.z -m 'Version x.y.z' $ git push upstream main --tags $ python -m build -s -w $ twine upload dist/mpl_sphinx_theme-x.y.z* TODO: This project `uses GitHub Actions `_ to automatically push a new release to PyPI whenever a git tag is pushed. For example, to release a new ``x.y.z`` version of ``mpl-sphinx-theme``, checkout the commit you would like to release, add a git tag, and push the tag to the ``main`` branch of the ``matplotlib/mpl-sphinx-theme`` repository: TODO: After a new release is published on PyPI, a pull request to the ``mpl-sphinx-theme`` `conda-forge feedstock `_ for the new ``x.y.z`` release will automatically be opened by conda-forge bots. mpl-sphinx-theme-0.0.6/docs/000077500000000000000000000000001413454432100156455ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/docs/Makefile000066400000000000000000000011721413454432100173060ustar00rootroot00000000000000# Minimal makefile for Sphinx documentation # # You can set these variables from the command line, and also # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) mpl-sphinx-theme-0.0.6/docs/_static/000077500000000000000000000000001413454432100172735ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/docs/_static/favicon.ico000066400000000000000000000537261413454432100214310ustar00rootroot0000000000000000f h00 %  B hnS(0` ``` ```` @@``` ` @ `@@ @ @ @@``@hhhhhhXXXhHHHxxx`888hHphhxP(((h@h@HHxHXXph`hHhHpHhxxxxPhhXؐHhhx`HhHP@pHpPX`h(pH8X8`8h@ @HxXH`HhPpPxPP8XXphXhXXpXxXXXXX`hhhHXpPhpxpxpp@Px@XxhxxPxXxpxxxpxxx@XPhhpHxXxpxxPXx@XXh`p8xPxhxpxpȈ8XH`Xp`xhpxА0`Pp`p`xxhxXؘXxxXXhX`XxH`-7>==<=K72++852/-,/X-+94541851,X+*/459,458},+**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ddd[[[rrrʬ9 pEEE888Ï??( @ eee_MMMGGGJJJFFFIIIKKKnnn_###hhh qqqzvvv⎎jjjSSSBBB(SSS}}}vvvjᲲ[[[u oootttfffqqqlll$dddopp7 kkklggh___ \\\{{{xxxpSGsTTU  WWWFOqVawzzztWWW}}} VVVQlSkfffaaakkk???www^JqiQBBBy333~~~ ```Ԕo\Irvvv444nnn<ВȐLjVIIIӭl:q---ҼmuƦȡAkTTT555KS]^|ͩq~ZufV6GGG888Xled\WOT^gcPsf>:NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you have Sphinx echo.installed, then set the SPHINXBUILD environment variable to point echo.to the full path of the 'sphinx-build' executable. Alternatively you echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from echo.http://sphinx-doc.org/ exit /b 1 ) %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% goto end :help %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% :end popd mpl-sphinx-theme-0.0.6/docs/requirements.txt000066400000000000000000000000321413454432100211240ustar00rootroot00000000000000pydata-sphinx-theme>=0.6.0mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/000077500000000000000000000000001413454432100202605ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/__init__.py000066400000000000000000000006241413454432100223730ustar00rootroot00000000000000from ._version import __version__ from os import path def get_html_theme_path(): """Return list of HTML theme paths.""" cur_dir = path.abspath(path.dirname(path.dirname(__file__))) return cur_dir # See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package def setup(app): app.add_html_theme("mpl_sphinx_theme", path.abspath(path.dirname(__file__)))mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/_version.py000066400000000000000000000003221413454432100224530ustar00rootroot00000000000000#!/usr/bin/env python # coding: utf-8 # Copyright (c) Matplotlib developers. # Distributed under the terms of the Modified BSD License. version_info = (0, 0, 4) __version__ = ".".join(map(str, version_info)) mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/donate_sidebar.html000066400000000000000000000002551413454432100241130ustar00rootroot00000000000000 mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/mpl_icon_links.html000066400000000000000000000045651413454432100241600ustar00rootroot00000000000000{%- block icon_links -%} {%- macro icon_link_nav_item(url, icon, name) -%} {%- if url | length > 2 %} {%- endif -%} {%- endmacro -%} {%- if theme_icon_links %} {%- else %} {%- endif %} {%- endblock %} mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/mpl_nav_bar.html000066400000000000000000000037651413454432100234410ustar00rootroot00000000000000{% if theme_native_site %} {% else %} {% endif %}mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/mpl_navbar_logo.html000066400000000000000000000017721413454432100243160ustar00rootroot00000000000000{% if logo %} {% if not theme_logo_link %} {% elif theme_logo_link[:4] == 'http' %} {% else %} {% endif %} {% else %} {% if not theme_logo_link %} {% elif theme_logo_link[:4] == 'http' %} {% else %} {% endif %} {% endif %}mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/search.html000066400000000000000000000030761413454432100224210ustar00rootroot00000000000000{% extends "layout.html" %} {% set title = _('Search') %} {%- block scripts %} {{ super() }} {%- endblock %} {% block body %}

{{ _('Search') }}

{% trans %}Searching for multiple words only shows matches that contain all words.{% endtrans %}

If you want to limit your search to working code examples, include the keyword "codex" (mnemonic for code example) in your search, e.g., "codex ellipse".

{% if search_performed %}

{{ _('Search Results') }}

{% if not search_results %}

{{ _('Your search did not match any results.') }}

{% endif %} {% endif %}
{% if search_results %}
    {% for href, caption, context in search_results %}
  • {{ caption }}
    {{ context|e }}
  • {% endfor %}
{% endif %}
{% endblock %} {% block footer %} {{ super() }} {% endblock %} mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/000077500000000000000000000000001413454432100215475ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/css/000077500000000000000000000000001413454432100223375ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/css/style.css000066400000000000000000000112231413454432100242100ustar00rootroot00000000000000@import "../pydatat-sphinx-theme.css"; a { color: #11557C; text-decoration: none; } a:hover { color: #CA7900; } table.highlighttable { margin-left: 0.5em; } table.highlighttable td { padding: 0 0.5em 0 0.5em; } .simple li>p { margin: 0; } div.responsive_screenshots { /* Horizontally centered */ display: block; margin: auto; /* Do not go beyond 1:1 scale (and ensure a 1x4 tight layout) */ max-width: 640px; /* at most 4 x 1:1 subfig width */ max-height: 120px; /* at most 1 x 1:1 subfig height */ } /* To avoid subfigure parts outside of the responsive_screenshots */ /* element (see ) */ span.clear_screenshots { clear: left; display: block; } div.responsive_subfig{ float: left; width: 25%; /* we want 4 subfigs in a row */ /* Include content, padding and border in width. This should */ /* avoid having to use tricks like "width: 24.9999%" */ box-sizing: border-box; } div.responsive_subfig img { /* Horizontally centered */ display: block; margin: auto; /* Possible downscaling */ max-width: 162px; /* at most 1 x 1:1 subfig width */ max-height: 139px; /* at most 1 x 1:1 subfig height */ width: 100%; } @media only screen and (max-width: 930px){ /* The value of 1000px was handcrafted to provide a more or less */ /* smooth transition between the 1x4 and the 2x2 layouts. It is */ /* NB: it is slightly below 1024px: so one should still have a */ /* row in a 1024x768 window */ div.responsive_screenshots { /* Do not go beyond 1:1 scale (and ensure a 2x2 tight layout) */ max-width: 324px; /* at most 2 x 1:1 subfig width */ max-height: 278px; /* at most 2 x 1:1 subfig height */ } div.responsive_subfig { width: 50%; /* we want 2 subfigs in a row */ } } /* bullet boxes on main page */ div.bullet-box-container { display: flex; flex-wrap: wrap; margin: 1em 0; } div.bullet-box { flex-grow: 1; width: 28%; margin: 0.4em; padding: 0 1em; background: #eff9ff; } div.bullet-box p:first-of-type { font-size: 1.4em; text-align: center; } div.bullet-box ul { padding-left: 1.2em; } div.bullet-box li { padding-left: 0.3em; margin-bottom: 0.3em; } @media only screen and (max-width: 930px){ div.bullet-box { flex: 0 0 90%; } } /* community items on main page */ div.box { display: flex; flex-flow: row wrap; } div.box-item { flex: 0 0 45%; padding: 4px; margin: 8px 12px; } div.box-item img { float: left; width: 30px; height: 30px; fill: #888; } div.box-item p { margin: 0 0 0 50px; } div.box-item ul { margin: 0 0 0 50px; padding-left: 20px; } hr.box-sep { margin: 1em 2em; } @media only screen and (max-width: 930px){ div.box-item { flex: 0 0 90%; } } /* multi colunm TOC */ .contents ul { list-style-type: none; padding-left: 2em; } .contents > ul { padding-left: 0; } .multicol-toc > ul { column-width: 250px; column-gap: 60px; -webkit-column-width: 250px; -moz-column-width: 250px; column-rule: 1px solid #ccc; } .multicol-toc > li { /* break inside is not yet broadly supported, but we just try */ break-inside: avoid-column; -moz-break-inside: avoid-column; -webkit-break-inside: avoid-column; } .contents > ul > li > a { font-size: 1.0em; } .mpl-button { background: #11557C; font-weight: normal; display: inline-block; padding: 0 1em; line-height: 2.8; font-size: 16px; text-align: center; cursor: pointer; color: #fff; text-decoration: none; border-radius: 6px; z-index: 1; transition: background .25s ease; } .mpl-button:hover, .mpl-button:active, .mpl-button:focus { background: #003c63; outline-color: #003c63; } /* Hide red ¶ between the thumbnail and caption in gallery Due the way that sphinx-gallery floats its captions the perma-link does not float with it. */ .sphx-glr-thumbcontainer p.caption:hover > a.headerlink{ visibility: hidden; } /* slightly reduce horizontal margin compared to gallery.css to * get four columns of thumbnails in the pydata-sphinx-theme. */ .sphx-glr-thumbcontainer { margin: 5px 2px; } /* workaround: the default padding decenters the image inside the frame */ .sphx-glr-thumbcontainer .figure { padding: 0; } table.property-table th, table.property-table td { padding: 4px 10px; } .sidebar-cheatsheets, .sidebar-donate { margin: 2.75rem 0; } .sidebar-donate .mpl-button { /* fix width to width of cheatsheet */ width: 210px; } /* Two columns for install code blocks */ div.twocol { padding-left: 0; padding-right: 0; display: flex; gap: 20px; } div.twocol > div { flex-grow: 1; padding: 0; margin: 0; } mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/images/000077500000000000000000000000001413454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7V.P&3 5Y98^Ϩ>eDoJv֥Gz2??*]Dfikf#/W 9]͹d<]&)D%2K4Q6Sͤ/K?5]4>eѣDoJwNڒI&_gjljHf-K6]Έ;a>e@fC$H. -CO2K4O4Ru??9e:CnұKwPTvL?c_jmnzc8 4\Xefg?j|:h'?HySq\bg~c`kmpi/O:^Δ=c>fg@mBpԑBs*_P&\bhc)hjnpn%/O8\͐;b>fAiDmԜEqyFtSHr1?v:u .Q9_Pf$H5]L:_Έ image/svg+xml mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/js/000077500000000000000000000000001413454432100221635ustar00rootroot00000000000000mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/static/js/custom.js000066400000000000000000000004061413454432100240330ustar00rootroot00000000000000if (location.protocol == "http:") { if ( !window.location.href.includes("localhost") && !window.location.href.includes("127.0.0.1") ) { location.href = "https:" + window.location.href.substring(window.location.protocol.length); } } mpl-sphinx-theme-0.0.6/mpl_sphinx_theme/theme.conf000066400000000000000000000003061413454432100222300ustar00rootroot00000000000000[theme] inherit = pydata_sphinx_theme stylesheet = css/style.css [options] native_site = False navbar_start = mpl_navbar_logo.html navbar_center = mpl_nav_bar.html navbar_end = mpl_icon_links.html mpl-sphinx-theme-0.0.6/requirements.txt000066400000000000000000000000321413454432100201740ustar00rootroot00000000000000pydata-sphinx-theme>=0.6.0mpl-sphinx-theme-0.0.6/setup.cfg000066400000000000000000000012221413454432100165330ustar00rootroot00000000000000[flake8] # References: # https://flake8.readthedocs.io/en/latest/user/configuration.html # https://flake8.readthedocs.io/en/latest/user/error-codes.html # Aligned with black https://github.com/psf/black/blob/main/.flake8 extend-ignore = E203, E266, E501 # Note: there cannot be spaces after commas here exclude = __init__.py,versioneer.py ignore = E4, # Import formatting E731, # Assigning lambda expression W503, # line break before binary operator per-file-ignores = **/tests/*: # local variable is assigned to but never used F841, # Ambiguous variable name E741, max-line-length = 88 mpl-sphinx-theme-0.0.6/setup.py000066400000000000000000000017721413454432100164360ustar00rootroot00000000000000#!/usr/bin/env python from setuptools import setup import mpl_sphinx_theme setup( name="mpl_sphinx_theme", version=mpl_sphinx_theme.__version__, url="https://github.com/matplotlib/mpl-sphinx-theme", license="BSD", author="Matplotlib Developers", description="Matplotlib theme for Sphinx", long_description=open("README.rst").read(), zip_safe=False, packages=["mpl_sphinx_theme"], package_data={ "mpl_sphinx_theme": [ "theme.conf", "*.html", "static/css/*.css", "static/images/*.svg", "static/images/*.ico", "static/js/*.js", "static/font/*.*", ] }, include_package_data=True, # http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package entry_points={ "sphinx.html_themes": [ "mpl_sphinx_theme = mpl_sphinx_theme", ] }, install_requires=open("requirements.txt").read().strip().split("\n"), )