pax_global_header00006660000000000000000000000064151317243430014515gustar00rootroot0000000000000052 comment=ec20337132f82111541874c155f7f9ffa7d1c9a6 sphinx-togglebutton-0.4.4/000077500000000000000000000000001513172434300155465ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/.github/000077500000000000000000000000001513172434300171065ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/.github/workflows/000077500000000000000000000000001513172434300211435ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/.github/workflows/tests.yml000066400000000000000000000012761513172434300230360ustar00rootroot00000000000000name: continuous-integration on: [push, pull_request] jobs: publish: name: Publish to PyPi if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') runs-on: ubuntu-latest steps: - name: Checkout source uses: actions/checkout@v6 - name: Set up Python 3.11 uses: actions/setup-python@v6 with: python-version: "3.11" - name: Build package run: | pip install wheel python setup.py bdist_wheel sdist - name: Publish uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_KEY }} packages_dir: dist/sphinx-togglebutton-0.4.4/.gitignore000066400000000000000000000034111513172434300175350ustar00rootroot00000000000000# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ # Translations # *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 db.sqlite3-journal # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don't work, or not # install all needed dependencies. #Pipfile.lock # PEP 582; used by e.g. github.com/David-OConnor/pyflow __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ sphinx-togglebutton-0.4.4/CHANGELOG.md000066400000000000000000000110141513172434300173540ustar00rootroot00000000000000# Changelog ## 0.4.4 - 2026-01-14 ### Fixed - Upgrade used version in release workflow to the latest available. - Correct build command in `tests.yml`. ## 0.4.3 - 2026-01-14 ### Fixed - Added missing information in `tests.yml`. ## 0.4.2 - 2026-01-14 ### Fixed - Enhanced `setup.cfg` with complete metadata. - Simplified `setup.py` to just call `setup()`. ## 0.4.1 - 2026-01-14 ### Fixed - Updated the release workflow to use a recent Python version. ## 0.4.0 - 2026-01-14 ### Added - Support for more languages in toggle button text (see README for full list) [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). - Added new functions (syncToggleHint, syncAllToggleHints) to dynamically update toggle button hints based on the current state [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). This allows developers to change the open or closed state of an element and have the button hint text update accordingly automatically. ### Fixed - Update togglebutton.js to use an admonition's existing ID if present, instead of always generating a new one [#66](https://github.com/executablebooks/sphinx-togglebutton/pull/66). ## v0.3.2 - 2022-07-15 ([full changelog](https://github.com/executablebooks/sphinx-togglebutton/compare/v0.3.1...347b1ad3a093afad0f0d4c0041249f09f39afab2)) ### Enhancements made - Toggle arrow now points to the right, in order to more closely match the styles of other common documentation themes like Quarto and Material for MkDocs [#49](https://github.com/executablebooks/sphinx-togglebutton/pull/49) ([@choldgraf](https://github.com/choldgraf)) - Toggle buttons are now more minimal and take up the full width to be easier to click, style is roughly inspired by JupyterLab [#47](https://github.com/executablebooks/sphinx-togglebutton/pull/47) ([@choldgraf](https://github.com/choldgraf)) ### Bugfixes - Fix insertion of toggle hint into nested spans [#45](https://github.com/executablebooks/sphinx-togglebutton/pull/45) ([@janssenhenning](https://github.com/janssenhenning)) ### Contributors to this release [@Apteryks](https://github.com/search?q=repo%3Aexecutablebooks%2Fsphinx-togglebutton+involves%3AApteryks+updated%3A2022-03-26..2022-07-15&type=Issues) | [@choldgraf](https://github.com/search?q=repo%3Aexecutablebooks%2Fsphinx-togglebutton+involves%3Acholdgraf+updated%3A2022-03-26..2022-07-15&type=Issues) | [@janssenhenning](https://github.com/search?q=repo%3Aexecutablebooks%2Fsphinx-togglebutton+involves%3Ajanssenhenning+updated%3A2022-03-26..2022-07-15&type=Issues) | [@tfiers](https://github.com/search?q=repo%3Aexecutablebooks%2Fsphinx-togglebutton+involves%3Atfiers+updated%3A2022-03-26..2022-07-15&type=Issues) | ## v0.3.1 This is release updates the behavior of the toggle button arrow for admonitions, to point down/up instead of down/right. See [#38](https://github.com/executablebooks/sphinx-togglebutton/issues/38) for details. ## v0.3.0 ([full changelog](https://github.com/executablebooks/sphinx-togglebutton/compare/v0.2.3...9e73e2e1a673d2485dd8c8d56510cdf910531f1a)) ### Enhancements made - ENH: Enhance toggle button design and layout [#32](https://github.com/executablebooks/sphinx-togglebutton/pull/32) ([@choldgraf](https://github.com/choldgraf)) - IMPROVE: Allow clicking on whole admonition title [#29](https://github.com/executablebooks/sphinx-togglebutton/pull/29) ([@rkdarst](https://github.com/rkdarst)) - ENHANCE: Improve hiding behavior for togglebuttons [#33](https://github.com/executablebooks/sphinx-togglebutton/pull/33) ([@choldgraf](https://github.com/choldgraf)) ## v0.2.2 ([full changelog](https://github.com/executablebooks/sphinx-togglebutton/compare/v0.2.0...v0.2.2)) ### Bugs fixed * 🐛 BUG: fixing toggle button text overlap on narrow screens [#17](https://github.com/executablebooks/sphinx-togglebutton/pull/17) ([@choldgraf](https://github.com/choldgraf)) * 🐛 BUG: Fixing overlapping title on hidden admonitions [#15](https://github.com/executablebooks/sphinx-togglebutton/pull/15) ([@choldgraf](https://github.com/choldgraf)) ### Documentation improvements * 📚 DOC: release docs and removing circle [#16](https://github.com/executablebooks/sphinx-togglebutton/pull/16) ([@choldgraf](https://github.com/choldgraf)) ### Contributors to this release ([GitHub contributors page for this release](https://github.com/executablebooks/sphinx-togglebutton/graphs/contributors?from=2020-06-09&to=2020-08-08&type=c)) [@choldgraf](https://github.com/search?q=repo%3Aexecutablebooks%2Fsphinx-togglebutton+involves%3Acholdgraf+updated%3A2020-06-09..2020-08-08&type=Issues)sphinx-togglebutton-0.4.4/LICENSE000066400000000000000000000020571513172434300165570ustar00rootroot00000000000000MIT License Copyright (c) 2018 Chris Holdgraf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. sphinx-togglebutton-0.4.4/MANIFEST.in000066400000000000000000000004211513172434300173010ustar00rootroot00000000000000graft doc/ recursive-include sphinx_togglebutton *.js recursive-include sphinx_togglebutton *.css recursive-include sphinx_togglebutton *.json recursive-include sphinx_togglebutton *.mo recursive-include sphinx_togglebutton *.po recursive-include sphinx_togglebutton *.pysphinx-togglebutton-0.4.4/README.md000066400000000000000000000042201513172434300170230ustar00rootroot00000000000000# sphinx-togglebutton A small sphinx extension to make it possible to add a "toggle button" to sections of your page. This allows you to: - Collapse Sphinx admonitions (notes, warnings, etc) so that their content is hidden until users click a toggle button. - Collapse arbitrary chunks of content on your page with a `collapse` directive. ![Demonstration of Sphinx Togglebutton](https://user-images.githubusercontent.com/1839645/152654312-a72a320f-e1e0-40be-95ae-3ed34facc4d3.gif) Installation ============ You can install `sphinx-togglebutton` with `pip`: ```bash pip install sphinx-togglebutton ``` Usage ===== In your `conf.py` configuration file, add `sphinx_togglebutton` to your extensions list. E.g.: ```python extensions = [ ... 'sphinx_togglebutton' ... ] ``` Now, whenever you wish for an admonition to be toggle-able, add the `:class: dropdown` parameter to the admonition directive that you use. For example, this code would create a toggle-able "note" admonition that starts hidden: ```rst .. note:: :class: dropdown This is my note. ``` Clicking on the toggle button will toggle the item's visibility. You may also **show the content by default**. To do so, add the `dropdown` class *as well as* a `toggle-shown` class, like so: ```rst .. note:: :class: dropdown, toggle-shown This is my note. ``` You can also use **containers** to add arbitrary toggle-able code. For example, here's a container with an image inside: ```rst .. container:: toggle, toggle-hidden .. admonition:: Look at that, an image! .. image:: https://media.giphy.com/media/mW05nwEyXLP0Y/giphy.gif ``` Internationalization (i18n) ============ The texts `Click to hide` and `Click to show` used in the toggle buttons are internationalized by using the set language from Sphinx's configuration. Supported languages are English (default), Chinese (Simplified), Chinese (Traditional), Hindi, Spanish, French, Arabic, Bengali, Russian, Portuguese, Indonesian, Japanese, German, Korean, Turkish, Vietnamese, Tamil, Italian, Thai, Dutch, Greek, Polish, Ukrainian, Persian, Malay, Swahili, Romanian, Czech, Hungarian, Hebrew, Swedish, and Norwegian.sphinx-togglebutton-0.4.4/RELEASES.md000066400000000000000000000005151513172434300172740ustar00rootroot00000000000000# Instructions for creating a new release Spinx-Toggle is [hosted on the pypi repository](https://pypi.org/project/sphinx-togglebutton/). To create a new release of Sphinx-Togglebutton, [follow the ExecutableBooks release instructions](https://github.com/executablebooks/.github/blob/master/CONTRIBUTING.md#releases-and-change-logs)sphinx-togglebutton-0.4.4/docs/000077500000000000000000000000001513172434300164765ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/docs/Makefile000066400000000000000000000011451513172434300201370ustar00rootroot00000000000000# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = SphinxCopybutton 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)sphinx-togglebutton-0.4.4/docs/changelog.md000066400000000000000000000000411513172434300207420ustar00rootroot00000000000000```{include} ../CHANGELOG.md ``` sphinx-togglebutton-0.4.4/docs/conf.py000066400000000000000000000024151513172434300177770ustar00rootroot00000000000000# -- Project information ----------------------------------------------------- project = "Sphinx Toggle Button" copyright = "2022, Executable Books Community" author = "Chris Holdgraf" # The short X.Y version version = "" # The full version, including alpha/beta/rc tags release = "" # -- General configuration --------------------------------------------------- extensions = [ "myst_nb", "sphinx_examples", "sphinx_design", "sphinx_togglebutton", ] templates_path = ["_templates"] source_suffix = ".rst" main_doc = "index" language = None exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # -- Options for HTML output ------------------------------------------------- html_theme = "sphinx_book_theme" # html_theme = "sphinx_rtd_theme" # These are just for testing # html_theme = "pydata_sphinx_theme" # html_theme = "alabaster" # html_theme = "furo" html_theme_options = { "repository_url": "https://github.com/executablebooks/sphinx-togglebutton", "use_repository_button": True, "use_issues_button": True, "use_edit_page_button": True, "home_page_in_toc": True, } myst_enable_extensions = ["colon_fence"] # To test behavior in JS # togglebutton_hint = "test show" # togglebutton_hint_hide = "test hide" # togglebutton_open_on_print = False sphinx-togglebutton-0.4.4/docs/index.md000066400000000000000000000031661513172434300201350ustar00rootroot00000000000000# `sphinx-togglebutton` A small sphinx extension to add "toggle button" elements to sections of your page. For example: ## Collapse admonitions You can collapse admonitions (notes, warnings, etc) so that their content is hidden until users click the admonition title. ````{example} An example admonition toggle :reverse: :::{admonition} Click the title to toggle :class: dropdown This title was made into a dropdown admonition by adding `:class: dropdown` to it. ::: ```` See {ref}`dropdown-admonitions` for more information. ## Hide any content behind a toggle button You can also hide arbitrary content behind a toggle button. When users press the button, they will see the content. For example: ````{example} An example toggle directive :reverse: ```{toggle} This is a toggled content block! ``` ```` You can either do this with a `{toggle}` directive, or by adding a `toggle` CSS class to any elements you'd like hidden behind a toggle button. See [](use:css-selector) for more details. :::{admonition} Check out sphinx-design as well! :class: tip For a bootstrap-based "dropdown" directive that uses pure CSS, check out [Sphinx Design](https://sphinx-design.readthedocs.io/en/latest/dropdowns.html) ::: ## Installation You can install `sphinx-togglebutton` with `pip`: ```bash pip install sphinx-togglebutton ``` Then, activate it in your `sphinx` build by adding it to your `conf.py` configuration file, like so: E.g.: ```python extensions = [ ... 'sphinx_togglebutton' ... ] ``` See {ref}`usage` for information about how to use `sphinx-togglebutton`. ```{toctree} :maxdepth: 2 use reference/index changelog ```sphinx-togglebutton-0.4.4/docs/reference/000077500000000000000000000000001513172434300204345ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/docs/reference/index.md000066400000000000000000000022671513172434300220740ustar00rootroot00000000000000# Reference examples This page shows the most common ways that `sphinx-togglebutton` is used as a reference. This is a benchmark for styling, and also helps demonstrate the behavior of this extension. ```{toctree} notebooks ``` ## Use amongst text Here's a paragraph, it's just here to provide some text context for the togglebuttons in this section. :::{note} :class: toggle A test toggle admonition. ::: Here's a paragraph, it's just here to provide some text context for the togglebuttons in this section. :::{toggle} A test toggle directive. ::: Here's a paragraph, it's just here to provide some text context for the togglebuttons in this section. ## Sequential toggle buttons Here's how they look right after one another: ### Admonition toggles :::{note} :class: toggle This is my note. ::: :::{note} :class: toggle This is my second. ::: ### Toggle directive :::{toggle} This is my first. ::: :::{toggle} This is my second. ::: ## Long titles :::{admonition} A really long admonition that will take up multiple lines A really long admonition that will take up multiple lines :class: toggle Admonition content. ```{image} https://jupyterbook.org/_static/logo-wide.svg ``` ::: sphinx-togglebutton-0.4.4/docs/reference/notebooks.md000066400000000000000000000046761513172434300227760ustar00rootroot00000000000000--- jupytext: formats: ipynb,md:myst text_representation: extension: .md format_name: myst format_version: 0.12 jupytext_version: 1.8.2 kernelspec: display_name: Python 3 language: python name: python3 --- # Jupyter notebooks Sphinx Togglebutton has support within MyST-NB. This page shows off showing / hiding inputs, outputs, and entire cells. ```{code-cell} ipython3 :tags: [hide-cell] from matplotlib import rcParams, cycler import matplotlib.pyplot as plt import numpy as np ``` ## Hiding the cell ```{code-cell} ipython3 :tags: [hide-cell] # Fixing random state for reproducibility np.random.seed(19680801) N = 10 data = [np.logspace(0, 1, 100) + np.random.randn(100) + ii for ii in range(N)] data = np.array(data).T cmap = plt.cm.coolwarm rcParams['axes.prop_cycle'] = cycler(color=cmap(np.linspace(0, 1, N))) from matplotlib.lines import Line2D custom_lines = [Line2D([0], [0], color=cmap(0.), lw=4), Line2D([0], [0], color=cmap(.5), lw=4), Line2D([0], [0], color=cmap(1.), lw=4)] fig, ax = plt.subplots(figsize=(10, 5)) lines = ax.plot(data) ax.legend(custom_lines, ['Cold', 'Medium', 'Hot']); ``` ## Hiding input ```{code-cell} ipython3 :tags: [hide-input] # Fixing random state for reproducibility np.random.seed(19680801) N = 10 data = [np.logspace(0, 1, 100) + np.random.randn(100) + ii for ii in range(N)] data = np.array(data).T cmap = plt.cm.coolwarm rcParams['axes.prop_cycle'] = cycler(color=cmap(np.linspace(0, 1, N))) from matplotlib.lines import Line2D custom_lines = [Line2D([0], [0], color=cmap(0.), lw=4), Line2D([0], [0], color=cmap(.5), lw=4), Line2D([0], [0], color=cmap(1.), lw=4)] fig, ax = plt.subplots(figsize=(10, 5)) lines = ax.plot(data) ax.legend(custom_lines, ['Cold', 'Medium', 'Hot']); ``` ## Hiding output ```{code-cell} ipython3 :tags: [hide-output] # Fixing random state for reproducibility np.random.seed(19680801) N = 10 data = [np.logspace(0, 1, 100) + np.random.randn(100) + ii for ii in range(N)] data = np.array(data).T cmap = plt.cm.coolwarm rcParams['axes.prop_cycle'] = cycler(color=cmap(np.linspace(0, 1, N))) from matplotlib.lines import Line2D custom_lines = [Line2D([0], [0], color=cmap(0.), lw=4), Line2D([0], [0], color=cmap(.5), lw=4), Line2D([0], [0], color=cmap(1.), lw=4)] fig, ax = plt.subplots(figsize=(10, 5)) lines = ax.plot(data) ax.legend(custom_lines, ['Cold', 'Medium', 'Hot']); ```sphinx-togglebutton-0.4.4/docs/use.md000066400000000000000000000110361513172434300176150ustar00rootroot00000000000000(usage)= # Use and configure This page covers how to use and configure / customize `sphinx-togglebutton`. There are three main ways to use `sphinx-togglebutton`: - Wrap arbitrary objects in a toggle button via a CSS selector - Collapse admonitions with the `dropdown` class - Make arbitrary chunks of content "toggle-able" with the `toggle` directive Each is described below (use:css-selector)= ## Collapse a block of content with a CSS selector You can hide any content and display a toggle button to show it by using certain CSS classes. `sphinx-togglebutton` will wrap elements with these classes in a `
` block like so: ```html
Click to show
``` ````{example} ```{image} https://media.giphy.com/media/FaKV1cVKlVRxC/giphy.gif :class: toggle ``` ```` ### Configure the CSS selector used to insert toggle buttons By default, `sphinx-togglebutton` will use this selector: ``` .toggle, .admonition.dropdown ``` However, you can customize this behavior with the `togglebutton_selector` configuration value. To specify the selector to use, pass a valid CSS selector as a string: :::{admonition} example :class: tip Configure `sphinx-togglebutton` to look for a `.toggle-this-element` class and an element with ID `#my-special-id` **instead of** `.toggle` and `.admonition.dropdown`. ```python sphinx_togglebutton_selector = ".toggle-this-element, #my-special-id" ``` ::: (dropdown-admonitions)= ## Collapse admonitions with the `dropdown` class `sphinx-togglebutton` treats admonitions as a special case if they are selected. If a Sphinx admonition matches the toggle button selector, then its title will be displayed with a button to reveal its content. ````{example} ```{admonition} This will be shown :class: dropdown And this will be hidden! ``` ```` This works for any kind of Sphinx admoniton: :::{note} :class: dropdown A note! ::: :::{warning} :class: dropdown A warning! ::: If you add the class `toggle-shown`, it will be un-toggled by default but collapsable (`:class: dropdown, toggle-shown`). (toggle-directive)= ## Use the `{toggle}` directive to toggle blocks of content To add toggle-able content, use the **toggle directive**. This directive will wrap its content in a toggle-able container. You can call it like so: :::{tab-set-code} ````markdown ```{toggle} Here is my toggle-able content! ``` ```` ```rst .. toggle:: Here is my toggle-able content! ``` ::: The code above results in: :::{toggle} Here is my toggle-able content! ::: To show the toggle-able content by default, use the `:show:` flag. ````markdown ```{toggle} :show: Here is my toggle-able content! ``` ```` It results in the following: :::{toggle} :show: Here is my toggle-able content! ::: ## Change the button hint text You can control the "hint" text that is displayed next to togglebuttons. To use the default values for your language, set the language in your Sphinx configuration: ```python language = "nl" # or "de", "es", etc. ``` Supported languages are English (default), Chinese (Simplified), Chinese (Traditional), Hindi, Spanish, French, Arabic, Bengali, Russian, Portuguese, Indonesian, Japanese, German, Korean, Turkish, Vietnamese, Tamil, Italian, Thai, Dutch, Greek, Polish, Ukrainian, Persian, Malay, Swahili, Romanian, Czech, Hungarian, Hebrew, Swedish, and Norwegian. If you prefer to have custom hint texts instead of the defaults for your language, use the following configuration variable in your `conf.py` file: ```python togglebutton_hint = "Displayed when the toggle is closed." togglebutton_hint_hide = "Displayed when the toggle is open." ``` ## Change the toggle icon color You can apply some extra styles to the toggle button to achieve the look you want. This is particularly useful if the color of the toggle button does not contrast with the background of an admonition. To style the toggle button, [add a custom CSS file to your documentation](https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html) and include a custom CSS selector like so: ```scss // Turn the color red... // ...with admonition toggle buttons button.toggle-button { color: red; } // ...with content block toggle buttons .toggle-button summary { color: red; } ``` ## Printing behavior with toggle buttons By default `sphinx-togglebutton` will **open all toggle-able content when you print**. It will close them again when the printing operation is complete. To disable this behavior, use the following configuration in `conf.py`: ```python togglebutton_open_on_print = False ``` sphinx-togglebutton-0.4.4/readthedocs.yml000066400000000000000000000003741513172434300205620ustar00rootroot00000000000000version: 2 sphinx: # Path to your Sphinx configuration file. configuration: docs/conf.py build: os: "ubuntu-22.04" tools: python: "3.11" python: install: - method: pip path: . extra_requirements: - sphinx sphinx-togglebutton-0.4.4/setup.cfg000066400000000000000000000016621513172434300173740ustar00rootroot00000000000000[metadata] name = sphinx-togglebutton version = attr: sphinx_togglebutton.__version__ description = Toggle page content and collapse admonitions in Sphinx. long_description = file: README.md long_description_content_type = text/markdown author = Chris Holdgraf author_email = choldgraf@berkeley.edu url = https://github.com/executablebooks/sphinx-togglebutton license = MIT License license_file = LICENSE classifiers = License :: OSI Approved :: MIT License [options] packages = find: install_requires = setuptools wheel sphinx docutils [options.extras_require] sphinx = matplotlib numpy myst_nb sphinx_book_theme sphinx_design sphinx_examples [options.package_data] sphinx_togglebutton = _static/togglebutton.css _static/togglebutton.js _static/togglebutton-chevron.svg translations/README.md translations/_convert.py translations/jsons/*.json translations/locales/**/* sphinx-togglebutton-0.4.4/setup.py000066400000000000000000000000461513172434300172600ustar00rootroot00000000000000from setuptools import setup setup() sphinx-togglebutton-0.4.4/sphinx_togglebutton/000077500000000000000000000000001513172434300216545ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/__init__.py000066400000000000000000000061231513172434300237670ustar00rootroot00000000000000"""A small sphinx extension to add "toggle" buttons to items.""" import os from docutils import nodes from docutils.parsers.rst import Directive, directives from sphinx.locale import get_translation MESSAGE_CATALOG_NAME = "togglebutton" translate = get_translation(MESSAGE_CATALOG_NAME) __version__ = "0.4.4" def st_static_path(app): static_path = os.path.abspath( os.path.join(os.path.dirname(__file__), "_static") ) app.config.html_static_path.append(static_path) def initialize_js_assets(app, config): # Update the global context app.add_js_file( None, body=f"let toggleHintShow = '{config.togglebutton_hint}';" ) app.add_js_file( None, body=f"let toggleHintHide = '{config.togglebutton_hint_hide}';" ) open_print = str(config.togglebutton_open_on_print).lower() app.add_js_file(None, body=f"let toggleOpenOnPrint = '{open_print}';") app.add_js_file("togglebutton.js") # This function reads in a variable and inserts it into JavaScript def insert_custom_selection_config(app): # This is a configuration that you've specified for users in `conf.py` selector = app.config["togglebutton_selector"] js_text = "var togglebuttonSelector = '%s';" % selector app.add_js_file(None, body=js_text) class Toggle(Directive): """Hide a block of markup text by wrapping it in a container.""" optional_arguments = 1 final_argument_whitespace = True has_content = True option_spec = {"id": directives.unchanged, "show": directives.flag} def run(self): self.assert_has_content() classes = ["toggle"] if "show" in self.options: classes.append("toggle-shown") parent = nodes.container(classes=classes) self.state.nested_parse(self.content, self.content_offset, parent) return [parent] # We connect this function to the step after the builder is initialized def setup(app): # add translations package_dir = os.path.abspath(os.path.dirname(__file__)) locale_dir = os.path.join(package_dir, "translations", "locales") app.add_message_catalog(MESSAGE_CATALOG_NAME, locale_dir) # Add our static path app.connect("builder-inited", st_static_path) # Add relevant code to headers app.add_css_file("togglebutton.css") # Add the string we'll use to select items in the JS # Tell Sphinx about this configuration variable app.add_config_value( "togglebutton_selector", ".toggle, .admonition.dropdown", "html" ) app.add_config_value( "togglebutton_hint", f"{translate('Click to show')}", "html" ) app.add_config_value( "togglebutton_hint_hide", f"{translate('Click to hide')}", "html" ) app.add_config_value("togglebutton_open_on_print", True, "html") # Run the function after the builder is initialized app.connect("builder-inited", insert_custom_selection_config) app.connect("config-inited", initialize_js_assets) app.add_directive("toggle", Toggle) return { "version": __version__, "parallel_read_safe": True, "parallel_write_safe": True, } sphinx-togglebutton-0.4.4/sphinx_togglebutton/_static/000077500000000000000000000000001513172434300233025ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/_static/togglebutton.css000066400000000000000000000074311513172434300265360ustar00rootroot00000000000000/** * Admonition-based toggles */ /* Visibility of the target */ .admonition.toggle .admonition-title ~ * { transition: opacity .3s, height .3s; } /* Toggle buttons inside admonitions so we see the title */ .admonition.toggle { position: relative; } /* Titles should cut off earlier to avoid overlapping w/ button */ .admonition.toggle .admonition-title { padding-right: 25%; cursor: pointer; } /* Hovering will cause a slight shift in color to make it feel interactive */ .admonition.toggle .admonition-title:hover { box-shadow: inset 0 0 0px 20px rgb(0 0 0 / 1%); } /* Hovering will cause a slight shift in color to make it feel interactive */ .admonition.toggle .admonition-title:active { box-shadow: inset 0 0 0px 20px rgb(0 0 0 / 3%); } /* Remove extra whitespace below the admonition title when hidden */ .admonition.toggle-hidden { padding-bottom: 0; } .admonition.toggle-hidden .admonition-title { margin-bottom: 0; } /* hides all the content of a page until de-toggled */ .admonition.toggle-hidden .admonition-title ~ * { height: 0; margin: 0; opacity: 0; visibility: hidden; display: block; } /* General button style and position*/ button.toggle-button { /** * Background and shape. By default there's no background * but users can style as they wish */ background: none; border: none; outline: none; /* Positioning just inside the admonition title */ position: absolute; right: 0.5em; padding: 0px; border: none; outline: none; } /* Display the toggle hint on wide screens */ @media (min-width: 768px) { button.toggle-button:before { content: attr(data-toggle-hint); /* This will be filled in by JS */ font-size: .8em; align-self: center; } } /* Icon behavior */ .tb-icon { transition: transform .2s ease-out; height: 1.5em; width: 1.5em; stroke: currentColor; /* So that we inherit the color of other text */ } /* The icon should point right when closed, down when open. */ /* Open */ .admonition.toggle button .tb-icon { transform: rotate(90deg); } /* Closed */ .admonition.toggle button.toggle-button-hidden .tb-icon { transform: rotate(0deg); } /* With details toggles, we don't rotate the icon so it points right */ details.toggle-details .tb-icon { height: 1.4em; width: 1.4em; margin-top: 0.1em; /* To center the button vertically */ } /** * Details-based toggles. * In this case, we wrap elements with `.toggle` in a details block. */ /* Details blocks */ details.toggle-details { margin: 1em 0; } details.toggle-details summary { display: flex; align-items: center; cursor: pointer; list-style: none; border-radius: .2em; border-left: 3px solid #1976d2; background-color: rgb(204 204 204 / 10%); padding: 0.2em 0.7em 0.3em 0.5em; /* Less padding on left because the SVG has left margin */ font-size: 0.9em; } details.toggle-details summary:hover { background-color: rgb(204 204 204 / 20%); } details.toggle-details summary:active { background: rgb(204 204 204 / 28%); } .toggle-details__summary-text { margin-left: 0.2em; } details.toggle-details[open] summary { margin-bottom: .5em; } details.toggle-details[open] summary .tb-icon { transform: rotate(90deg); } details.toggle-details[open] summary ~ * { animation: toggle-fade-in .3s ease-out; } @keyframes toggle-fade-in { from {opacity: 0%;} to {opacity: 100%;} } /* Print rules - we hide all toggle button elements at print */ @media print { /* Always hide the summary so the button doesn't show up */ details.toggle-details summary { display: none; } } /* Dropdown under a code cell in dark mode */ [data-theme="dark"] details.hide.below-input summary span { color: black !important; } sphinx-togglebutton-0.4.4/sphinx_togglebutton/_static/togglebutton.js000066400000000000000000000224721513172434300263640ustar00rootroot00000000000000/** * Add Toggle Buttons to elements */ let toggleChevron = ` `; var initToggleItems = () => { var itemsToToggle = document.querySelectorAll(togglebuttonSelector); console.log( `[togglebutton]: Adding toggle buttons to ${itemsToToggle.length} items` ); // Add the button to each admonition and hook up a callback to toggle visibility itemsToToggle.forEach((item, index) => { if (item.classList.contains("admonition")) { // If it's an admonition block, then we'll add a button inside // Generate unique IDs for this item, // IF AND ONLY IF THE ITEM DOESN'T ALREADY HAVE AN ID if (!item.id) { var toggleID = `toggle-${index}`; } else { var toggleID = item.id; } var buttonID = `button-${toggleID}`; item.setAttribute("id", toggleID); if (!item.classList.contains("toggle")) { item.classList.add("toggle"); } // This is the button that will be added to each item to trigger the toggle var collapseButton = ` `; title = item.querySelector(".admonition-title"); title.insertAdjacentHTML("beforeend", collapseButton); thisButton = document.getElementById(buttonID); // Add click handlers for the button + admonition title (if admonition) admonitionTitle = document.querySelector( `#${toggleID} > .admonition-title` ); if (admonitionTitle) { // If an admonition, then make the whole title block clickable admonitionTitle.addEventListener("click", toggleClickHandler); admonitionTitle.dataset.target = toggleID; admonitionTitle.dataset.button = buttonID; } else { // If not an admonition then we'll listen for the button click thisButton.addEventListener("click", toggleClickHandler); } // Now hide the item for this toggle button unless explicitly noted to show if (!item.classList.contains("toggle-shown")) { toggleHidden(thisButton); } } else { // If not an admonition, wrap the block in a
block // Define the structure of the details block and insert it as a sibling var detailsBlock = `
${toggleChevron} ${toggleHintShow}
`; item.insertAdjacentHTML("beforebegin", detailsBlock); // Now move the toggle-able content inside of the details block details = item.previousElementSibling; details.appendChild(item); item.classList.add("toggle-details__container"); // Set up a click trigger to change the text as needed details.addEventListener("click", (click) => { let parent = click.target.parentElement; if (parent.tagName.toLowerCase() == "details") { summary = parent.querySelector("summary"); details = parent; } else { summary = parent; details = parent.parentElement; } // Update the inner text for the proper hint if (details.open) { summary.querySelector("span.toggle-details__summary-text").innerText = toggleHintShow; } else { summary.querySelector("span.toggle-details__summary-text").innerText = toggleHintHide; } }); // If we have a toggle-shown class, open details block should be open if (item.classList.contains("toggle-shown")) { details.click(); } } }); }; // This should simply add / remove the collapsed class and change the button text var toggleHidden = (button) => { target = button.dataset["target"]; var itemToToggle = document.getElementById(target); if (itemToToggle.classList.contains("toggle-hidden")) { itemToToggle.classList.remove("toggle-hidden"); button.classList.remove("toggle-button-hidden"); button.dataset.toggleHint = toggleHintHide; button.setAttribute("aria-expanded", true); } else { itemToToggle.classList.add("toggle-hidden"); button.classList.add("toggle-button-hidden"); button.dataset.toggleHint = toggleHintShow; button.setAttribute("aria-expanded", false); } }; // Function to synchronize the data-toggle-hint with the current state var syncToggleHint = (button) => { const target = button.dataset["target"]; const itemToToggle = document.getElementById(target); if (itemToToggle && itemToToggle.classList.contains("toggle-hidden")) { button.dataset.toggleHint = toggleHintShow; button.setAttribute("aria-expanded", false); } else if (itemToToggle) { button.dataset.toggleHint = toggleHintHide; button.setAttribute("aria-expanded", true); } }; // Function to sync all toggle buttons - can be called by external extensions var syncAllToggleHints = () => { document.querySelectorAll('.toggle-button').forEach(syncToggleHint); }; var toggleClickHandler = (click) => { // Be cause the admonition title is clickable and extends to the whole admonition // We only look for a click event on this title to trigger the toggle. if (click.target.classList.contains("admonition-title")) { button = click.target.querySelector(".toggle-button"); } else if (click.target.classList.contains("tb-icon")) { // We've clicked the icon and need to search up one parent for the button button = click.target.parentElement; } else if (click.target.tagName == "polyline") { // We've clicked the SVG elements inside the button, need to up 2 layers button = click.target.parentElement.parentElement; } else if (click.target.classList.contains("toggle-button")) { // We've clicked the button itself and so don't need to do anything button = click.target; } else { console.log(`[togglebutton]: Couldn't find button for ${click.target}`); } target = document.getElementById(button.dataset["button"]); toggleHidden(target); }; // If we want to blanket-add toggle classes to certain cells var addToggleToSelector = () => { const selector = ""; if (selector.length > 0) { document.querySelectorAll(selector).forEach((item) => { item.classList.add("toggle"); }); } }; // Helper function to run when the DOM is finished const sphinxToggleRunWhenDOMLoaded = (cb) => { if (document.readyState != "loading") { cb(); } else if (document.addEventListener) { document.addEventListener("DOMContentLoaded", cb); } else { document.attachEvent("onreadystatechange", function () { if (document.readyState == "complete") cb(); }); } }; sphinxToggleRunWhenDOMLoaded(addToggleToSelector); sphinxToggleRunWhenDOMLoaded(initToggleItems); // Set up MutationObserver to watch for external changes to toggle states sphinxToggleRunWhenDOMLoaded(() => { const observer = new MutationObserver((mutations) => { mutations.forEach((mutation) => { if (mutation.type === 'attributes' && mutation.attributeName === 'class') { const target = mutation.target; // Check if this is a toggle item that had its class changed if (target.classList.contains('toggle')) { // Find the associated toggle button and sync its hint const button = target.querySelector('.toggle-button'); if (button) { syncToggleHint(button); } } } }); }); // Start observing class changes on all toggle elements document.querySelectorAll('.toggle').forEach((toggleElement) => { observer.observe(toggleElement, { attributes: true, attributeFilter: ['class'] }); }); }); /** Toggle details blocks to be open when printing */ if (toggleOpenOnPrint == "true") { window.addEventListener("beforeprint", () => { // Open the details document.querySelectorAll("details.toggle-details").forEach((el) => { el.dataset["togglestatus"] = el.open; el.open = true; }); // Open the admonitions document .querySelectorAll(".admonition.toggle.toggle-hidden") .forEach((el) => { console.log(el); el.querySelector("button.toggle-button").click(); el.dataset["toggle_after_print"] = "true"; }); }); window.addEventListener("afterprint", () => { // Re-close the details that were closed document.querySelectorAll("details.toggle-details").forEach((el) => { el.open = el.dataset["togglestatus"] == "true"; delete el.dataset["togglestatus"]; }); // Re-close the admonition toggle buttons document.querySelectorAll(".admonition.toggle").forEach((el) => { if (el.dataset["toggle_after_print"] == "true") { el.querySelector("button.toggle-button").click(); delete el.dataset["toggle_after_print"]; } }); }); } sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/000077500000000000000000000000001513172434300243755ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/README.md000066400000000000000000000001461513172434300256550ustar00rootroot00000000000000JSONs created using GitHub Copilot Pro. To convert to locale files run `_convert.py` in this folder. sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/_convert.py000066400000000000000000000034731513172434300265750ustar00rootroot00000000000000import json import os import subprocess from pathlib import Path MESSAGE_CATALOG_NAME = "togglebutton" def convert_json(folder=None): folder = folder or Path(__file__).parent # remove exising for path in (folder / "locales").glob(f"**/{MESSAGE_CATALOG_NAME}.po"): path.unlink() # compile po for path in (folder / "jsons").glob("*.json"): data = json.loads(path.read_text("utf8")) assert data[0]["symbol"] == "en" english = data[0]["text"] for item in data[1:]: language = item["symbol"] out_path = ( folder / "locales" / language / "LC_MESSAGES" / f"{MESSAGE_CATALOG_NAME}.po" ) if not out_path.parent.exists(): out_path.parent.mkdir(parents=True) if not out_path.exists(): header = f""" msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\\n" "MIME-Version: 1.0\\n" "Content-Type: text/plain; charset=UTF-8\\n" "Content-Transfer-Encoding: 8bit\\n" "Language: {language}\\n" "Plural-Forms: nplurals=2; plural=(n != 1);\\n" """ out_path.write_text(header) with out_path.open("a", encoding="utf8") as f: f.write("\n") f.write(f'msgid "{english}"\n') text = item["text"].replace('"', '\\"') f.write(f'msgstr "{text}"\n') # compile mo for path in (folder / "locales").glob(f"**/{MESSAGE_CATALOG_NAME}.po"): print(path) subprocess.check_call( [ "msgfmt", os.path.abspath(path), "-o", os.path.abspath(path.parent / f"{MESSAGE_CATALOG_NAME}.mo"), ] ) if __name__ == "__main__": convert_json() sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/jsons/000077500000000000000000000000001513172434300255315ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/jsons/Hide.json000066400000000000000000000050151513172434300272760ustar00rootroot00000000000000[ {"language":"English","symbol":"en","text":"Click to hide"}, {"language":"Chinese (Simplified)","symbol":"zh-cn","text":"点击隐藏"}, {"language":"Chinese (Traditional)","symbol":"zh-tw","text":"點擊隱藏"}, {"language":"Hindi","symbol":"hi","text":"छुपाने के लिए क्लिक करें"}, {"language":"Spanish","symbol":"es","text":"Haz clic para ocultar"}, {"language":"French","symbol":"fr","text":"Cliquez pour masquer"}, {"language":"Arabic","symbol":"ar","text":"انقر للإخفاء"}, {"language":"Bengali","symbol":"bn","text":"লুকাতে ক্লিক করুন"}, {"language":"Russian","symbol":"ru","text":"Нажмите, чтобы скрыть"}, {"language":"Portuguese","symbol":"pt","text":"Clique para ocultar"}, {"language":"Indonesian","symbol":"id","text":"Klik untuk menyembunyikan"}, {"language":"Japanese","symbol":"ja","text":"クリックして非表示"}, {"language":"German","symbol":"de","text":"Klicken zum Ausblenden"}, {"language":"Korean","symbol":"ko","text":"숨기려면 클릭"}, {"language":"Turkish","symbol":"tr","text":"Gizlemek için tıklayın"}, {"language":"Vietnamese","symbol":"vi","text":"Nhấp để ẩn"}, {"language":"Tamil","symbol":"ta","text":"மறைக்க கிளிக் செய்யவும்"}, {"language":"Italian","symbol":"it","text":"Clicca per nascondere"}, {"language":"Thai","symbol":"th","text":"คลิกเพื่อซ่อน"}, {"language":"Dutch","symbol":"nl","text":"Klik om te verbergen"}, {"language":"Greek","symbol":"el","text":"Κάντε κλικ για απόκρυψη"}, {"language":"Polish","symbol":"pl","text":"Kliknij, aby ukryć"}, {"language":"Ukrainian","symbol":"uk","text":"Натисніть, щоб приховати"}, {"language":"Persian","symbol":"fa","text":"برای مخفی کردن کلیک کنید"}, {"language":"Malay","symbol":"ms","text":"Klik untuk menyembunyikan"}, {"language":"Swahili","symbol":"sw","text":"Bonyeza kuficha"}, {"language":"Romanian","symbol":"ro","text":"Faceți clic pentru a ascunde"}, {"language":"Czech","symbol":"cs","text":"Klikněte pro skrytí"}, {"language":"Hungarian","symbol":"hu","text":"Kattintson az elrejtéshez"}, {"language":"Hebrew","symbol":"he","text":"לחץ להסתרה"}, {"language":"Swedish","symbol":"sv","text":"Klicka för att dölja"}, {"language":"Norwegian","symbol":"no","text":"Klikk for å skjule"} ] sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/jsons/Show.json000066400000000000000000000050021513172434300273410ustar00rootroot00000000000000[ {"language":"English","symbol":"en","text":"Click to show"}, {"language":"Chinese (Simplified)","symbol":"zh-cn","text":"点击显示"}, {"language":"Chinese (Traditional)","symbol":"zh-tw","text":"點擊顯示"}, {"language":"Hindi","symbol":"hi","text":"दिखाने के लिए क्लिक करें"}, {"language":"Spanish","symbol":"es","text":"Haz clic para mostrar"}, {"language":"French","symbol":"fr","text":"Cliquez pour afficher"}, {"language":"Arabic","symbol":"ar","text":"انقر للعرض"}, {"language":"Bengali","symbol":"bn","text":"দেখাতে ক্লিক করুন"}, {"language":"Russian","symbol":"ru","text":"Нажмите, чтобы показать"}, {"language":"Portuguese","symbol":"pt","text":"Clique para mostrar"}, {"language":"Indonesian","symbol":"id","text":"Klik untuk menampilkan"}, {"language":"Japanese","symbol":"ja","text":"クリックして表示"}, {"language":"German","symbol":"de","text":"Klicken zum Anzeigen"}, {"language":"Korean","symbol":"ko","text":"표시하려면 클릭"}, {"language":"Turkish","symbol":"tr","text":"Göstermek için tıklayın"}, {"language":"Vietnamese","symbol":"vi","text":"Nhấp để hiển thị"}, {"language":"Tamil","symbol":"ta","text":"காட்ட கிளிக் செய்யவும்"}, {"language":"Italian","symbol":"it","text":"Clicca per mostrare"}, {"language":"Thai","symbol":"th","text":"คลิกเพื่อแสดง"}, {"language":"Dutch","symbol":"nl","text":"Klik om te tonen"}, {"language":"Greek","symbol":"el","text":"Κάντε κλικ για εμφάνιση"}, {"language":"Polish","symbol":"pl","text":"Kliknij, aby pokazać"}, {"language":"Ukrainian","symbol":"uk","text":"Натисніть, щоб показати"}, {"language":"Persian","symbol":"fa","text":"برای نمایش کلیک کنید"}, {"language":"Malay","symbol":"ms","text":"Klik untuk menunjukkan"}, {"language":"Swahili","symbol":"sw","text":"Bonyeza kuonyesha"}, {"language":"Romanian","symbol":"ro","text":"Faceți clic pentru a afișa"}, {"language":"Czech","symbol":"cs","text":"Klikněte pro zobrazení"}, {"language":"Hungarian","symbol":"hu","text":"Kattintson a megjelenítéshez"}, {"language":"Hebrew","symbol":"he","text":"לחץ להצגה"}, {"language":"Swedish","symbol":"sv","text":"Klicka för att visa"}, {"language":"Norwegian","symbol":"no","text":"Klikk for å vise"} ] sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/000077500000000000000000000000001513172434300260175ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ar/000077500000000000000000000000001513172434300264215ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/000077500000000000000000000000001513172434300302065ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.mo000066400000000000000000000005741513172434300332660ustar00rootroot000000000000004 Lx y PhClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ar Plural-Forms: nplurals=2; plural=(n != 1); انقر للإخفاءانقر للعرضsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ar/LC_MESSAGES/togglebutton.po000066400000000000000000000005221513172434300332620ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ar\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "انقر للإخفاء" msgid "Click to show" msgstr "انقر للعرض" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/bn/000077500000000000000000000000001513172434300264165ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/000077500000000000000000000000001513172434300302035ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.mo000066400000000000000000000006601513172434300332570ustar00rootroot000000000000004 Lx y /P/Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: bn Plural-Forms: nplurals=2; plural=(n != 1); লুকাতে ক্লিক করুনদেখাতে ক্লিক করুনsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/bn/LC_MESSAGES/togglebutton.po000066400000000000000000000006061513172434300332620ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: bn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "লুকাতে ক্লিক করুন" msgid "Click to show" msgstr "দেখাতে ক্লিক করুন" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/cs/000077500000000000000000000000001513172434300264245ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/000077500000000000000000000000001513172434300302115ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.mo000066400000000000000000000005771513172434300332740ustar00rootroot000000000000004 Lx y PfClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: cs Plural-Forms: nplurals=2; plural=(n != 1); Klikněte pro skrytíKlikněte pro zobrazenísphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/cs/LC_MESSAGES/togglebutton.po000066400000000000000000000005251513172434300332700ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klikněte pro skrytí" msgid "Click to show" msgstr "Klikněte pro zobrazení" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/de/000077500000000000000000000000001513172434300264075ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/000077500000000000000000000000001513172434300301745ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.mo000066400000000000000000000005741513172434300332540ustar00rootroot000000000000004 Lx y PgClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: de Plural-Forms: nplurals=2; plural=(n != 1); Klicken zum AusblendenKlicken zum Anzeigensphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/de/LC_MESSAGES/togglebutton.po000066400000000000000000000005221513172434300332500ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klicken zum Ausblenden" msgid "Click to show" msgstr "Klicken zum Anzeigen" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/el/000077500000000000000000000000001513172434300264175ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/000077500000000000000000000000001513172434300302045ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.mo000066400000000000000000000006501513172434300332570ustar00rootroot000000000000004 Lx y +P+|Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: el Plural-Forms: nplurals=2; plural=(n != 1); Κάντε κλικ για απόκρυψηΚάντε κλικ για εμφάνισηsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/el/LC_MESSAGES/togglebutton.po000066400000000000000000000005761513172434300332710ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Κάντε κλικ για απόκρυψη" msgid "Click to show" msgstr "Κάντε κλικ για εμφάνιση" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/es/000077500000000000000000000000001513172434300264265ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/000077500000000000000000000000001513172434300302135ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.mo000066400000000000000000000005741513172434300332730ustar00rootroot000000000000004 Lx y PfClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: es Plural-Forms: nplurals=2; plural=(n != 1); Haz clic para ocultarHaz clic para mostrarsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/es/LC_MESSAGES/togglebutton.po000066400000000000000000000005221513172434300332670ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Haz clic para ocultar" msgid "Click to show" msgstr "Haz clic para mostrar" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fa/000077500000000000000000000000001513172434300264055ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/000077500000000000000000000000001513172434300301725ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.mo000066400000000000000000000006431513172434300332470ustar00rootroot000000000000004 Lx y ,P%}Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: fa Plural-Forms: nplurals=2; plural=(n != 1); برای مخفی کردن کلیک کنیدبرای نمایش کلیک کنیدsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fa/LC_MESSAGES/togglebutton.po000066400000000000000000000005711513172434300332520ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fa\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "برای مخفی کردن کلیک کنید" msgid "Click to show" msgstr "برای نمایش کلیک کنید" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fr/000077500000000000000000000000001513172434300264265ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/000077500000000000000000000000001513172434300302135ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.mo000066400000000000000000000005731513172434300332720ustar00rootroot000000000000004 Lx y PeClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: fr Plural-Forms: nplurals=2; plural=(n != 1); Cliquez pour masquerCliquez pour affichersphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/fr/LC_MESSAGES/togglebutton.po000066400000000000000000000005211513172434300332660ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Cliquez pour masquer" msgid "Click to show" msgstr "Cliquez pour afficher" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/he/000077500000000000000000000000001513172434300264135ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/000077500000000000000000000000001513172434300302005ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.mo000066400000000000000000000005661513172434300332610ustar00rootroot000000000000004 Lx y PdClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: he Plural-Forms: nplurals=2; plural=(n != 1); לחץ להסתרהלחץ להצגהsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/he/LC_MESSAGES/togglebutton.po000066400000000000000000000005141513172434300332550ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: he\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "לחץ להסתרה" msgid "Click to show" msgstr "לחץ להצגה" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hi/000077500000000000000000000000001513172434300264175ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/000077500000000000000000000000001513172434300302045ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.mo000066400000000000000000000007221513172434300332570ustar00rootroot000000000000004 Lx y @P@Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: hi Plural-Forms: nplurals=2; plural=(n != 1); छुपाने के लिए क्लिक करेंदिखाने के लिए क्लिक करेंsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hi/LC_MESSAGES/togglebutton.po000066400000000000000000000006501513172434300332620ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "छुपाने के लिए क्लिक करें" msgid "Click to show" msgstr "दिखाने के लिए क्लिक करें" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hu/000077500000000000000000000000001513172434300264335ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/000077500000000000000000000000001513172434300302205ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.mo000066400000000000000000000006121513172434300332710ustar00rootroot000000000000004 Lx y PkClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: hu Plural-Forms: nplurals=2; plural=(n != 1); Kattintson az elrejtéshezKattintson a megjelenítéshezsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/hu/LC_MESSAGES/togglebutton.po000066400000000000000000000005401513172434300332740ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Kattintson az elrejtéshez" msgid "Click to show" msgstr "Kattintson a megjelenítéshez" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/id/000077500000000000000000000000001513172434300264135ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/000077500000000000000000000000001513172434300302005ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.mo000066400000000000000000000006011513172434300332470ustar00rootroot000000000000004 Lx y PjClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: id Plural-Forms: nplurals=2; plural=(n != 1); Klik untuk menyembunyikanKlik untuk menampilkansphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/id/LC_MESSAGES/togglebutton.po000066400000000000000000000005271513172434300332610ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: id\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klik untuk menyembunyikan" msgid "Click to show" msgstr "Klik untuk menampilkan" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/it/000077500000000000000000000000001513172434300264335ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/000077500000000000000000000000001513172434300302205ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.mo000066400000000000000000000005721513172434300332760ustar00rootroot000000000000004 Lx y PfClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: it Plural-Forms: nplurals=2; plural=(n != 1); Clicca per nascondereClicca per mostraresphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/it/LC_MESSAGES/togglebutton.po000066400000000000000000000005201513172434300332720ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Clicca per nascondere" msgid "Click to show" msgstr "Clicca per mostrare" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ja/000077500000000000000000000000001513172434300264115ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/000077500000000000000000000000001513172434300301765ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.mo000066400000000000000000000006051513172434300332510ustar00rootroot000000000000004 Lx y PlClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ja Plural-Forms: nplurals=2; plural=(n != 1); クリックして非表示クリックして表示sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ja/LC_MESSAGES/togglebutton.po000066400000000000000000000005331513172434300332540ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "クリックして非表示" msgid "Click to show" msgstr "クリックして表示" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ko/000077500000000000000000000000001513172434300264305ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/000077500000000000000000000000001513172434300302155ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.mo000066400000000000000000000005731513172434300332740ustar00rootroot000000000000004 Lx y PdClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ko Plural-Forms: nplurals=2; plural=(n != 1); 숨기려면 클릭표시하려면 클릭sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ko/LC_MESSAGES/togglebutton.po000066400000000000000000000005211513172434300332700ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ko\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "숨기려면 클릭" msgid "Click to show" msgstr "표시하려면 클릭" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ms/000077500000000000000000000000001513172434300264365ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/000077500000000000000000000000001513172434300302235ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.mo000066400000000000000000000006011513172434300332720ustar00rootroot000000000000004 Lx y PjClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ms Plural-Forms: nplurals=2; plural=(n != 1); Klik untuk menyembunyikanKlik untuk menunjukkansphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ms/LC_MESSAGES/togglebutton.po000066400000000000000000000005271513172434300333040ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ms\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klik untuk menyembunyikan" msgid "Click to show" msgstr "Klik untuk menunjukkan" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/nl/000077500000000000000000000000001513172434300264305ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/000077500000000000000000000000001513172434300302155ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.mo000066400000000000000000000005661513172434300332760ustar00rootroot000000000000004 Lx y PeClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: nl Plural-Forms: nplurals=2; plural=(n != 1); Klik om te verbergenKlik om te tonensphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/nl/LC_MESSAGES/togglebutton.po000066400000000000000000000005141513172434300332720ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klik om te verbergen" msgid "Click to show" msgstr "Klik om te tonen" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/no/000077500000000000000000000000001513172434300264335ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/000077500000000000000000000000001513172434300302205ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.mo000066400000000000000000000005661513172434300333010ustar00rootroot000000000000004 Lx y PdClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: no Plural-Forms: nplurals=2; plural=(n != 1); Klikk for å skjuleKlikk for å visesphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/no/LC_MESSAGES/togglebutton.po000066400000000000000000000005141513172434300332750ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: no\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klikk for å skjule" msgid "Click to show" msgstr "Klikk for å vise" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pl/000077500000000000000000000000001513172434300264325ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/000077500000000000000000000000001513172434300302175ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.mo000066400000000000000000000005721513172434300332750ustar00rootroot000000000000004 Lx y PdClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: pl Plural-Forms: nplurals=2; plural=(n != 1); Kliknij, aby ukryćKliknij, aby pokazaćsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pl/LC_MESSAGES/togglebutton.po000066400000000000000000000005201513172434300332710ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Kliknij, aby ukryć" msgid "Click to show" msgstr "Kliknij, aby pokazać" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pt/000077500000000000000000000000001513172434300264425ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/000077500000000000000000000000001513172434300302275ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.mo000066400000000000000000000005701513172434300333030ustar00rootroot000000000000004 Lx y PdClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: pt Plural-Forms: nplurals=2; plural=(n != 1); Clique para ocultarClique para mostrarsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/pt/LC_MESSAGES/togglebutton.po000066400000000000000000000005161513172434300333060ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Clique para ocultar" msgid "Click to show" msgstr "Clique para mostrar" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ro/000077500000000000000000000000001513172434300264375ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/000077500000000000000000000000001513172434300302245ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.mo000066400000000000000000000006131513172434300332760ustar00rootroot000000000000004 Lx y PnClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ro Plural-Forms: nplurals=2; plural=(n != 1); Faceți clic pentru a ascundeFaceți clic pentru a afișasphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ro/LC_MESSAGES/togglebutton.po000066400000000000000000000005411513172434300333010ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ro\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Faceți clic pentru a ascunde" msgid "Click to show" msgstr "Faceți clic pentru a afișa" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ru/000077500000000000000000000000001513172434300264455ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/000077500000000000000000000000001513172434300302325ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.mo000066400000000000000000000006441513172434300333100ustar00rootroot000000000000004 Lx y 'P+xClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ru Plural-Forms: nplurals=2; plural=(n != 1); Нажмите, чтобы скрытьНажмите, чтобы показатьsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ru/LC_MESSAGES/togglebutton.po000066400000000000000000000005721513172434300333130ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Нажмите, чтобы скрыть" msgid "Click to show" msgstr "Нажмите, чтобы показать" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sv/000077500000000000000000000000001513172434300264475ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/000077500000000000000000000000001513172434300302345ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.mo000066400000000000000000000005741513172434300333140ustar00rootroot000000000000004 Lx y PgClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: sv Plural-Forms: nplurals=2; plural=(n != 1); Klicka för att döljaKlicka för att visasphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sv/LC_MESSAGES/togglebutton.po000066400000000000000000000005221513172434300333100ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Klicka för att dölja" msgid "Click to show" msgstr "Klicka för att visa" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sw/000077500000000000000000000000001513172434300264505ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/000077500000000000000000000000001513172434300302355ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.mo000066400000000000000000000005621513172434300333120ustar00rootroot000000000000004 Lx y P`Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: sw Plural-Forms: nplurals=2; plural=(n != 1); Bonyeza kufichaBonyeza kuonyeshasphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/sw/LC_MESSAGES/togglebutton.po000066400000000000000000000005101513172434300333060ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sw\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Bonyeza kuficha" msgid "Click to show" msgstr "Bonyeza kuonyesha" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ta/000077500000000000000000000000001513172434300264235ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/000077500000000000000000000000001513172434300302105ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.mo000066400000000000000000000007211513172434300332620ustar00rootroot000000000000004 Lx y AP>Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: ta Plural-Forms: nplurals=2; plural=(n != 1); மறைக்க கிளிக் செய்யவும்காட்ட கிளிக் செய்யவும்sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/ta/LC_MESSAGES/togglebutton.po000066400000000000000000000006471513172434300332740ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ta\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "மறைக்க கிளிக் செய்யவும்" msgid "Click to show" msgstr "காட்ட கிளிக் செய்யவும்" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/th/000077500000000000000000000000001513172434300264325ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/000077500000000000000000000000001513172434300302175ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.mo000066400000000000000000000006401513172434300332710ustar00rootroot000000000000004 Lx y 'P'xClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: th Plural-Forms: nplurals=2; plural=(n != 1); คลิกเพื่อซ่อนคลิกเพื่อแสดงsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/th/LC_MESSAGES/togglebutton.po000066400000000000000000000005661513172434300333030ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: th\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "คลิกเพื่อซ่อน" msgid "Click to show" msgstr "คลิกเพื่อแสดง" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/tr/000077500000000000000000000000001513172434300264445ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/000077500000000000000000000000001513172434300302315ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.mo000066400000000000000000000006061513172434300333050ustar00rootroot000000000000004 Lx y PjClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: tr Plural-Forms: nplurals=2; plural=(n != 1); Gizlemek için tıklayınGöstermek için tıklayınsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/tr/LC_MESSAGES/togglebutton.po000066400000000000000000000005341513172434300333100ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: tr\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Gizlemek için tıklayın" msgid "Click to show" msgstr "Göstermek için tıklayın" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/uk/000077500000000000000000000000001513172434300264365ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/000077500000000000000000000000001513172434300302235ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.mo000066400000000000000000000006521513172434300333000ustar00rootroot000000000000004 Lx y -P+~Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: uk Plural-Forms: nplurals=2; plural=(n != 1); Натисніть, щоб приховатиНатисніть, щоб показатиsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/uk/LC_MESSAGES/togglebutton.po000066400000000000000000000006001513172434300332740ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: uk\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Натисніть, щоб приховати" msgid "Click to show" msgstr "Натисніть, щоб показати" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/vi/000077500000000000000000000000001513172434300264355ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/000077500000000000000000000000001513172434300302225ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.mo000066400000000000000000000005741513172434300333020ustar00rootroot000000000000004 Lx y PbClick to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: vi Plural-Forms: nplurals=2; plural=(n != 1); Nhấp để ẩnNhấp để hiển thịsphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/vi/LC_MESSAGES/togglebutton.po000066400000000000000000000005221513172434300332760ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: vi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "Nhấp để ẩn" msgid "Click to show" msgstr "Nhấp để hiển thị" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-cn/000077500000000000000000000000001513172434300270365ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/000077500000000000000000000000001513172434300306235ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.mo000066400000000000000000000005551513172434300337020ustar00rootroot000000000000004 Lx y S `Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: zh-cn Plural-Forms: nplurals=2; plural=(n != 1); 点击隐藏点击显示sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-cn/LC_MESSAGES/togglebutton.po000066400000000000000000000005031513172434300336760ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh-cn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "点击隐藏" msgid "Click to show" msgstr "点击显示" sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-tw/000077500000000000000000000000001513172434300270705ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/000077500000000000000000000000001513172434300306555ustar00rootroot00000000000000sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.mo000066400000000000000000000005551513172434300337340ustar00rootroot000000000000004 Lx y S `Click to hideClick to showProject-Id-Version: Sphinx-ToggleButton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: zh-tw Plural-Forms: nplurals=2; plural=(n != 1); 點擊隱藏點擊顯示sphinx-togglebutton-0.4.4/sphinx_togglebutton/translations/locales/zh-tw/LC_MESSAGES/togglebutton.po000066400000000000000000000005031513172434300337300ustar00rootroot00000000000000 msgid "" msgstr "" "Project-Id-Version: Sphinx-ToggleButton\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh-tw\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Click to hide" msgstr "點擊隱藏" msgid "Click to show" msgstr "點擊顯示" sphinx-togglebutton-0.4.4/tox.ini000066400000000000000000000014041513172434300170600ustar00rootroot00000000000000# To use tox, see https://tox.readthedocs.io [tox] envlist = py39-sphinx3 [testenv] # only recreate the environment when we use `tox -r` recreate = false [testenv:docs] description = Build the documentation extras = sphinx deps = -e. sphinx_rtd_theme furo alabaster commands = sphinx-build \ -n -b {posargs:html} docs/ docs/_build/{posargs:html} [testenv:docs-live] description = Auto-build and preview the documentation in the browser deps = -e. sphinx-autobuild sphinx_rtd_theme furo alabaster extras = sphinx commands = sphinx-autobuild \ --re-ignore _build/.* \ --watch sphinx_togglebutton \ --port 0 --open-browser \ -n -b {posargs:html} docs/ docs/_build/{posargs:html}