Skip to content

Commit ae25765

Browse files
committed
manifest: Remove eol gnome software links and dupe shared-module
instructions
1 parent 584b943 commit ae25765

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

docs/manifests.rst

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -270,35 +270,13 @@ to be specified.
270270
Shared Modules
271271
``````````````
272272

273-
`Shared Modules (or shared-modules) <https://github.com/flathub/shared-modules>`_ is a repository containing various manifests to build common libraries. It is intended to be used as a git submodule.
273+
Flathub contains a `shared modules <https://github.com/flathub/shared-modules>`_
274+
repository containing build manifests for commonly used modules. These
275+
are usally shared by apps on Flathub and maintained in a single place.
276+
The repository is intended to be used as a git submodule.
274277

275-
To add it to your repository, run this command:
276-
277-
.. code-block:: bash
278-
279-
git submodule add https://github.com/flathub/shared-modules.git
280-
281-
Then, add whichever module you want. In this example, we will use `gtk2`:
282-
283-
.. code-block:: yaml
284-
285-
modules:
286-
- shared-modules/gtk2/gtk2.json
287-
288-
To update the submodule, run this command:
289-
290-
.. code-block:: bash
291-
292-
git submodule update --remote --merge
293-
294-
To remove the submodule, run these commands:
295-
296-
.. code-block:: bash
297-
298-
git submodule deinit -f -- shared-modules
299-
rm -rf .git/modules/shared-modules
300-
git rm -f shared-modules
301-
rm .gitmodules
278+
Please see the `readme <https://github.com/flathub/shared-modules/blob/master/README.md>`_
279+
for details on how to use this.
302280

303281
Flatpak Builder Tools
304282
`````````````````````
@@ -308,7 +286,5 @@ Flatpak Builder Tools
308286
Example manifests
309287
-----------------
310288

311-
A `complete manifest for GNOME Dictionary built from Git
312-
<https://github.com/flathub/org.gnome.Dictionary/blob/master/org.gnome.Dictionary.yml>`_.
313-
It is also possible to browse `all the manifests hosted by Flathub
314-
<https://github.com/flathub>`_.
289+
Flathub hosts a large collection of applications and the respective
290+
manifests can be browsed and searched via `GitHub <https://github.com/flathub>`_.

0 commit comments

Comments
 (0)