Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown option: "caption" error for code-block directive #32

Open
julian-poidevin opened this issue Jul 21, 2023 · 0 comments
Open

unknown option: "caption" error for code-block directive #32

julian-poidevin opened this issue Jul 21, 2023 · 0 comments

Comments

@julian-poidevin
Copy link

julian-poidevin commented Jul 21, 2023

When using this code :

.. code-block:: console
   :caption: Cloning the |comintboardimg| repository
   :name: clone-com-int

   $ git clone https://gitlab.com/xxxx/xxxx.git
   $ cd comboard-linux-image

And running rstfmt on my source folder using rstfmt source, I'm having the following error :

:40: (ERROR/3) Error in "code-block" directive:
unknown option: "caption".

This is also happening with .. code-block:: equivalent .. sourcecode::


  • rstfmt version : rstfmt 0.0.13
  • python3 version : Python 3.8.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant