Skip to content

Commit

Permalink
fix: rst references
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  • Loading branch information
sergiusens committed Oct 17, 2024
1 parent d5b1bca commit 1d2531f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/common/craft-parts/reference/plugins/go_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ How it works

During the build step the plugin performs the following actions:

* If a `go workspace`_ has been setup by use of the :ref:`go-use <go-use>` plugin,
* If a `go workspace`_ has been setup by use of the :ref:`go-use <craft_parts_go_use_plugin>`
plugin,
call ``go work use <build-dir>`` to add the source for the part to the workspace;
* If not operating in the context of a `go workspace`_, call ``go mod download all``
to find and download all necessary modules;
Expand Down
4 changes: 2 additions & 2 deletions docs/common/craft-parts/reference/plugins/go_use_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Keywords
There are no additional keywords to the the common :ref:`plugin <part-properties-plugin>`
and :ref:`sources <part-properties-sources>` keywords.

.. _go-details-begin:
.. _go-use-details-begin:

Dependencies
------------
Expand All @@ -33,7 +33,7 @@ stage the ``go`` executable to be used in the build step. This can be useful,
for example, in cases where a specific, unreleased version of ``go`` is desired
but unavailable as a snap or an Ubuntu package.

.. _go-details-end:
.. _go-use-details-end:

How it works
------------
Expand Down

0 comments on commit 1d2531f

Please sign in to comment.