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

Update links in the docs #224

Merged
merged 2 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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