diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 029cce9a..1fd09124 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -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: false add_extension: python diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d3c20910..f2915c3e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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" @@ -96,12 +96,12 @@ jobs: run: make dist - name: Test wheel - uses: actions-ext/python/test-wheel@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/test-wheel@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: module: yardang - name: Test source distribution - uses: actions-ext/python/test-sdist@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/test-sdist@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: module: yardang diff --git a/docs/src/api.md b/docs/src/api.md index 5a268f23..03f15f9a 100644 --- a/docs/src/api.md +++ b/docs/src/api.md @@ -41,9 +41,10 @@ Use `doxygenindex` to document all symbols from Doxygen XML: ``` ```{toctree} -:hidden: -:maxdepth: 2 - +--- +hidden: +maxdepth: 2 +--- /examples/cpp/docs/api ``` @@ -69,9 +70,10 @@ hand. `sphinx-rustdocgen` reads each crate listed under `doc-dir`, so the only thing to author is a toctree pointing at the result: ```{toctree} -:hidden: -:maxdepth: 2 - +--- +hidden: +maxdepth: 2 +--- /api/calculator/lib ``` diff --git a/docs/src/home.md b/docs/src/home.md index 84db071e..4e1d5cd0 100644 --- a/docs/src/home.md +++ b/docs/src/home.md @@ -13,32 +13,32 @@ [`yardang`](https://www.britannica.com/science/yardang) makes building [Sphinx](https://www.sphinx-doc.org/en/master/) easy. -::::{grid} 1 2 2 2 +::::\{grid} 1 2 2 2 :margin: 4 4 0 0 :gutter: 1 -:::{grid-item-card} {octicon}`table` Overview +:::\{grid-item-card} {octicon}`table` Overview :link: docs/src/overview.html :link-type: url About `yardang` and how it works. ::: -:::{grid-item-card} {octicon}`download` Installation +:::\{grid-item-card} {octicon}`download` Installation :link: docs/src/installation.html :link-type: url Install `yardang` from PyPI, Conda Forge, or build from source. ::: -:::{grid-item-card} {octicon}`gear` Configuration +:::\{grid-item-card} {octicon}`gear` Configuration :link: docs/src/configuration.html :link-type: url Learn how to configure your repository. ::: -:::{grid-item-card} {octicon}`mark-github` Repository +:::\{grid-item-card} {octicon}`mark-github` Repository :link: https://github.com/python-project-templates/yardang :link-type: url diff --git a/pyproject.toml b/pyproject.toml index b10b6851..f7964b78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ develop = [ "codespell", "hatchling", "mdformat", - "mdformat-frontmatter", + "mdformat-myst", "mdformat-tables>=1", "pytest", "pytest-cov",