From e4b6130babe31c25ff0b2b4f060232c385740830 Mon Sep 17 00:00:00 2001 From: Matt Culler Date: Fri, 4 Oct 2024 19:18:20 -0400 Subject: [PATCH] feat: port sphinx fixes (#267) https://github.com/canonical/craft-application/commit/8b2b8f36cab1f42d2b6f8d46d109edbd18fba08d#diff-8d068e8797e88947c320f79e856c3e16a72b730124a8f9d7031e2c4680dfa534R18 Co-authored-by: Alex Lowe --- docs/index.rst | 26 +++++++++----------------- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 71f7662..2a3ef9f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,26 +12,18 @@ Starcraft reference/index explanation/index -.. grid:: 1 1 2 2 - .. grid-item-card:: :ref:`Tutorial ` +.. list-table:: - **Get started** with a hands-on introduction to Starcraft + * - | :ref:`Tutorial ` + | **Get started** with a hands-on introduction to Starcraft + * - | :ref:`How-to guides ` + | **Step-by-step guides** covering key operations and common tasks + * - | :ref:`Reference ` + | **Technical information** about Starcraft + * - | :ref:`Explanation ` + | **Discussion and clarification** of key topics - .. grid-item-card:: :ref:`How-to guides ` - - **Step-by-step guides** covering key operations and common tasks - -.. grid:: 1 1 2 2 - :reverse: - - .. grid-item-card:: :ref:`Reference ` - - **Technical information** about Starcraft - - .. grid-item-card:: :ref:`Explanation ` - - **Discussion and clarification** of key topics Project and community ===================== diff --git a/pyproject.toml b/pyproject.toml index 1dcf7d6..cde6ccf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ types = [ "pyright==1.1.382.post1", ] docs = [ - "canonical-sphinx~=0.1", + "canonical-sphinx~=0.2.0", "sphinx-autobuild~=2024.2", "sphinx-pydantic==0.1.1", "sphinx-toolbox~=3.5",