> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/gwiki-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/gwiki-tutorial/the-user-side/related-and-page-sets.md).

# Related and Page Sets

## **Related Pages**

Pages are "related" if they have the same parent page specified in the Page Editor. To make use of this, the administrator can enable the Related Pages block. This block can be configured to show a limited number of related pages, choosing either the newest or most popular related pages.

## **Page Sets**

Pages can be grouped into sets by specifying the same Page Set Home in the Meta Edit section of the Page Editor.

## **Page Set Navigation Buttons**

If the current page is part of a page set, navigation buttons will be displayed.

* ![First Icon](/files/-LD6N5I7GAmc59wHAUte) Go to the first page of a page set.
* ![Previous Icon](/files/-LD6N5I9CDqgN-qqXuzO) Go to the previous page in a page set.
* ![Home Icon](/files/-LD6N5IB1XDXMXNKaVXN) Go to the Page Set Home.
* ![Next Icon](/files/-LD6N5IDmFAroTTyaZBD) Go to the next page in a page set.
* ![Last Icon](/files/-LD6N5IFC1F8WUXtY7V_) Go to the last page in a page set.

## **Table of Contents**

The `{pagesettoc}` wiki directive can be used to insert the table of contents for a whole page set into the current page. Additionally, the administrator can make the Page Set TOC block available. The block can be configured for how many levels of the TOC to include in its display. This block also features a search function which searches only in the page set pages.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xoops.gitbook.io/gwiki-tutorial/the-user-side/related-and-page-sets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
