|
1 | 1 | # Ibexa DXP documentation |
2 | 2 |
|
3 | | -This package contains the official Ibexa DXP documentation as plain Markdown |
4 | | -files, generated from the same sources as the website. Install it into an Ibexa |
5 | | -DXP project so that AI coding assistants (and humans) can read the |
6 | | -documentation offline, right next to the code it describes: |
| 3 | +Official Ibexa DXP documentation as plain Markdown files. |
7 | 4 |
|
8 | | -```bash |
9 | | -composer require --dev ibexa/documentation-developer:~5.0 |
10 | | -``` |
| 5 | +## Installation |
11 | 6 |
|
12 | | -## Layout |
| 7 | +Run the following command: |
13 | 8 |
|
14 | | -- `developer/` — the [developer documentation](https://doc.ibexa.co/en/latest/): |
15 | | - APIs, extension points, configuration, tutorials. |
16 | | -- `user/` — the [user documentation](https://doc.ibexa.co/projects/userguide/en/latest/): |
17 | | - working with the back office, content management, commerce. |
18 | | -- Each set has its own `llms.txt` at its root (`developer/llms.txt`, |
19 | | - `user/llms.txt`) — a table of contents with relative links. Start there to |
20 | | - find the right page. |
21 | | -- One Markdown file per page, mirroring the URL structure of the website: |
22 | | - `developer/<section>/.../<page>/index.md` corresponds to |
23 | | - `https://doc.ibexa.co/en/latest/<section>/.../<page>/`, and |
24 | | - `user/<section>/.../<page>/index.md` to |
25 | | - `https://doc.ibexa.co/projects/userguide/en/latest/<section>/.../<page>/`. |
26 | | -- `.agents/skills/external/` — agent skills for working with Ibexa DXP. When |
27 | | - the package is installed with Symfony Flex, its recipe copies them into your |
28 | | - project's `.agents/skills/ibexa/` directory. |
| 9 | +```bash |
| 10 | +composer require --dev ibexa/documentation-developer:~5.0 --no-scripts |
| 11 | +``` |
29 | 12 |
|
30 | | -## Conventions |
| 13 | +## Content |
31 | 14 |
|
32 | | -- Links between documentation pages are relative Markdown links and work |
33 | | - offline — including cross-links between the developer and user documentation. |
34 | | -- PHP API references are links to the class source in your project's `vendor/` |
35 | | - directory, with the fully qualified class name as the link text, for example |
36 | | - ``[`Ibexa\Contracts\Core\Repository\SearchService`](../../../../core/src/contracts/Repository/SearchService.php)``. |
37 | | - If your project doesn't include the package a class belongs to, the link |
38 | | - target won't exist — the class name in the link text still tells you what the |
39 | | - reference is. |
40 | | -- A few links have no local equivalent and stay absolute: images, the |
41 | | - [PHP API reference](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/) |
42 | | - itself, and other documentation sites (e.g. Ibexa Connect). |
| 15 | +This package contains two documentation sets: |
43 | 16 |
|
44 | | -## Using with AI agents |
| 17 | +- `developer` contains content of the [developer documentation](https://doc.ibexa.co/en/latest/). |
| 18 | +- `user` contains content of the [user documentation](https://doc.ibexa.co/en/latest/). |
45 | 19 |
|
46 | | -Point your agent at this package, for example by adding to your project's |
47 | | -`CLAUDE.md` / `AGENTS.md`: |
| 20 | +Each set has its own `llms.txt` at its root (`developer/llms.txt`, `user/llms.txt`) with a table of contents with relative links. |
48 | 21 |
|
49 | | -```markdown |
50 | | -Ibexa DXP documentation is installed locally in |
51 | | -vendor/ibexa/documentation-developer/: developer documentation in developer/, |
52 | | -user documentation in user/. To find a topic, read the set's table of contents |
53 | | -(developer/llms.txt or user/llms.txt) or search the Markdown files, then follow |
54 | | -the relative links. PHP API links in the docs point at the class sources in |
55 | | -vendor/. |
56 | | -``` |
| 22 | +## Use with AI Agents |
57 | 23 |
|
58 | | -## Versioning |
| 24 | +To use the documentation with AI agents, you can: |
59 | 25 |
|
60 | | -A new tag is published whenever the generated documentation content changes; |
61 | | -tag names combine the documentation branch and the build date. Use a `~5.0` |
62 | | -constraint to stay on the documentation matching your Ibexa DXP version. |
| 26 | +- use the `ibexa-documentation` Agent skill provided by this package (recommended) |
| 27 | +- instruct the agent manually, by mentioning in the prompt: |
63 | 28 |
|
64 | | -The documentation sources live on the version branches of |
65 | | -[ibexa/documentation-developer](https://github.com/ibexa/documentation-developer) |
66 | | -and [ibexa/documentation-user](https://github.com/ibexa/documentation-user) |
67 | | -— contributions are welcome there. |
| 29 | +``` text |
| 30 | +Ibexa DXP documentation is installed locally in vendor/ibexa/documentation-developer/ |
| 31 | +``` |
0 commit comments