From f60e28fcddc971615fe6dca8e1a2fe4b1706523e Mon Sep 17 00:00:00 2001 From: David Pape Date: Thu, 18 Dec 2025 15:58:03 +0100 Subject: [PATCH] Fix code blocks --- docs/reference-implementation/library.rst | 2 +- docs/reference-implementation/validator.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference-implementation/library.rst b/docs/reference-implementation/library.rst index f8b7c2d..dae7765 100644 --- a/docs/reference-implementation/library.rst +++ b/docs/reference-implementation/library.rst @@ -10,7 +10,7 @@ other tools. E.g., to "parameterize" a graph which contains ``sc:Parameter`` objects, you can use the following snippet: -.. code:: python +.. code-block:: python :caption: Graph parameterization using the library. from rdflib import Graph diff --git a/docs/reference-implementation/validator.rst b/docs/reference-implementation/validator.rst index b0f61fd..3c36e7f 100644 --- a/docs/reference-implementation/validator.rst +++ b/docs/reference-implementation/validator.rst @@ -8,7 +8,7 @@ Validator The validator can be run using the ``software-card-validate`` command which is equivalent to ``python -m software_card_policies``. -.. code:: bash +.. code-block:: bash :caption: Basic usage. software-card-validate --config config.toml metadata.ttl