Bug 167707 - Some of the Python examples links are broken in the examples page of the LibreOffice SDK site
Summary: Some of the Python examples links are broken in the examples page of the Libr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL: https://api.libreoffice.org/examples/...
Whiteboard: target:26.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-29 07:03 UTC by 林博仁 Buo-ren Lin
Modified: 2025-07-29 14:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 林博仁 Buo-ren Lin 2025-07-29 07:03:11 UTC
Description:
Refer to the following page:

https://api.libreoffice.org/examples/examples.html#python_examples

Links under the Text Document Examples and Spreadsheet Document Examples section currently lead to an Error 404 page.

Relevant entries in the #libreoffice-dev IRC channel:

<buovjaga> brlin_: moving discussion from #tdf-infra, see this, looks like when the examples were added, the Makefiles were not updated: https://git.libreoffice.org/core/+/master/odk/Package_examples.mk#584
buovjaga> Makefile updated 665d1633c9e08da85fae179e62923211bc07c480
<IZBot> core - tdf#143123 port DocumentHandling examples to Python - https://git.libreoffice.org/core/commit/665d1633c9e08da85fae179e62923211bc07c480
<buovjaga> Makefile not updated 8f34b0d40e149b7274a1aa4ce0b33ddbf825ee52
<IZBot> core - tdf#143123 Port Text Java examples to Python - https://git.libreoffice.org/core/commit/8f34b0d40e149b7274a1aa4ce0b33ddbf825ee52
<buovjaga> brlin_: you will get that stuff locally in your instdir/sdk when you use --enable-odk Would you like to submit a patch to fix the issues?
<brlin_> buovjaga: Not sure I'm able to provide patch in a timely manner but I'll check it out?  I should probably file a new bug first.
<buovjaga> brlin_: could also be like "tdf#143123 related ..."


Steps to Reproduce:
1. Browse the https://api.libreoffice.org/examples/examples.html#python_examples URL
2. Click the BookmarkInsertion example link under the Python examples > Text Document Examples section

Actual Results:
Error 404 page.

Expected Results:
An index page should be available in the <https://api.libreoffice.org/examples/python/Text/> URL.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
N/A
Comment 1 Julien Nabet 2025-07-29 10:53:09 UTC
I've submitted this patch:
https://gerrit.libreoffice.org/c/core/+/188524
Comment 2 Commit Notification 2025-07-29 14:36:41 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8b64d01f17d12e62b6456cc90ec7df00a591cd76

tdf#167707: add missing Python examples in api

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.