Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 2d2a72d
_commit: 02f55bd
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
persist-credentials: false

- name: Setup Python
uses: actions-ext/python/setup@c8228d827a81b9f8c808825328af361c45461ba3
uses: actions-ext/python/setup@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911
with:
version: "3.11"

Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
run: make dist

- name: Test wheel
uses: actions-ext/python/test-wheel@c8228d827a81b9f8c808825328af361c45461ba3
uses: actions-ext/python/test-wheel@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911
with:
module: sphinx_fuma

- name: Test source distribution
uses: actions-ext/python/test-sdist@c8228d827a81b9f8c808825328af361c45461ba3
uses: actions-ext/python/test-sdist@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911
with:
module: sphinx_fuma

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
persist-credentials: false

- name: Setup Python
uses: actions-ext/python/setup@c8228d827a81b9f8c808825328af361c45461ba3
uses: actions-ext/python/setup@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911
with:
version: "3.11"

- name: Download distributions
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: dist
merge-multiple: true
Expand Down
28 changes: 14 additions & 14 deletions docs/src/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This page renders theme-native directives and commonly used Sphinx content with

The `steps` directive turns its child headings into a numbered walkthrough.

::::{steps}
::::\{steps}

### Install the package

Expand Down Expand Up @@ -45,7 +45,7 @@ Run the normal Sphinx HTML builder.

The `files` directive turns a nested list into a compact project tree. A trailing slash or child list marks a folder.

::::{files}
::::\{files}

- docs/
- conf.py
Expand All @@ -70,19 +70,19 @@ The `files` directive turns a nested list into a compact project tree. A trailin

## Admonitions

:::{note}
:::\{note}
Notes use the neutral informational treatment.
:::

:::{tip}
:::\{tip}
Tips and important messages use the positive accent treatment.
:::

:::{warning}
:::\{warning}
Warnings, cautions, and attention messages use the warning treatment.
:::

:::{danger}
:::\{danger}
Danger and error messages use the destructive treatment.
:::

Expand Down Expand Up @@ -118,22 +118,22 @@ html_theme_options = {

[Sphinx Design](https://sphinx-design.readthedocs.io/) cards inherit the theme's border, surface, and radius tokens. Install and enable `sphinx-design` to use its directives outside Yardang.

::::{grid} 1 2 2 2
::::\{grid} 1 2 2 2
:gutter: 3

:::{grid-item-card} Responsive layout
:::\{grid-item-card} Responsive layout
The sidebar, header, and table of contents adapt across screen sizes.
:::

:::{grid-item-card} Local search
:::\{grid-item-card} Local search
The search dialog uses a static index and requires no hosted service.
:::

:::{grid-item-card} Color modes
:::\{grid-item-card} Color modes
Light and dark palettes follow system preference and reader choice.
:::

:::{grid-item-card} Structured navigation
:::\{grid-item-card} Structured navigation
Page icons, section tabs, breadcrumbs, and pagination keep large sites navigable.
:::
::::
Expand All @@ -142,16 +142,16 @@ Page icons, section tabs, breadcrumbs, and pagination keep large sites navigable

Sphinx Design tab sets use a compact framed treatment.

::::{tab-set}
:::{tab-item} pip
::::\{tab-set}
:::\{tab-item} pip

```console
pip install sphinx-fuma
```

:::

:::{tab-item} conda
:::\{tab-item} conda

```console
conda install -c conda-forge sphinx-fuma
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ develop = [
"codespell",
"hatchling",
"mdformat",
"mdformat-frontmatter",
"mdformat-myst",
"mdformat-tables>=1",
"pytest",
"pytest-cov",
Expand Down