Skip to content

Commit

Permalink
Merge pull request #224 from rffontenelle/fix-links
Browse files Browse the repository at this point in the history
Update links in the docs
  • Loading branch information
sebp authored Apr 28, 2024
2 parents 5eb2e65 + 05cace2 commit ff52cab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/builder.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The final code of the example
Gtk.Template
------------
:class:`Gtk.WidgetClass` allows UI definition files to be used to extend a widget,
PyGObject provides :doc:`guide/gtk_template` as a way of accessing this from Python.
PyGObject provides :doc:`pygobject:guide/gtk_template` as a way of accessing this from Python.

The UI definition file used in the example needs a small change to include a *<template>* element:

Expand All @@ -136,4 +136,4 @@ Then it can be used to implement the example with a :class:`Gtk.Window` subclass
.. literalinclude:: ../examples/template_example.py
:linenos:

More information can be found at the `PyGObject <https://pygobject.readthedocs.io/en/latest/guide/gtk_template.html>`_ website.
More information can be found at the `PyGObject <https://pygobject.gnome.org/guide/gtk_template.html>`_ website.
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"gobject": ("https://lazka.github.io/pgi-docs/GObject-2.0", None),
"gio": ("https://lazka.github.io/pgi-docs/Gio-2.0", None),
"gtk": ("https://lazka.github.io/pgi-docs/Gtk-3.0", None),
"pygobject": ("https://pygobject.readthedocs.io/en/latest", None),
"pygobject": ("https://pygobject.gnome.org/", None),
}

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion source/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lists and tuples will be needed.

Although this tutorial describes the most important classes and methods within
GTK+ 3, it is not supposed to serve as an API reference. Please refer to the
`GTK+ 3 Reference Manual <https://developer.gnome.org/gtk3/stable/>`_ for a
`GTK+ 3 Reference Manual <https://docs.gtk.org/gtk3/>`_ for a
detailed description of the API. Also there's a `Python-specific reference
<https://lazka.github.io/pgi-docs/>`_ available.

Expand Down
2 changes: 1 addition & 1 deletion source/menus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ UI Manager
----------

:class:`Gtk.UIManager` provides an easy way of creating menus and toolbars using
an `XML-like description <https://developer.gnome.org/gtk3/stable/GtkUIManager.html#XML-UI>`_.
an `XML-like description <https://docs.gtk.org/gtk3/class.UIManager.html#ui-definitions-xml-ui>`_.

First of all, you should add the :class:`Gtk.ActionGroup` to the UI Manager with
:meth:`Gtk.UIManager.insert_action_group`. At this point is also a good idea to
Expand Down

0 comments on commit ff52cab

Please sign in to comment.