199 Commits

Author SHA1 Message Date
Claudio Zizza
40e77f6005 Refactor project-version handling into its own class 2025-12-04 23:38:57 +01:00
Claudio Zizza
182c5736e8 Filter out versions that are not supposed to be in the docs 2025-12-04 22:47:20 +01:00
Grégoire Paris
0c4d609fe8 Improve phpdoc types 2025-10-18 14:09:03 +02:00
Claudio Zizza
3ae5e119c0 Remove flag on yaml parsing
This fixes phpstan issues in #831
2025-10-15 23:47:07 +02:00
Grégoire Paris
33dd4ee532 Throw clear error message on misconfiguration
This issue can occur when a project versions has no branch name and no
tags.
2025-10-15 07:56:30 +02:00
Christophe Coevoet
495b4ac8f4 Inline the static website generator in the website repo
Maintaining a standalone static website generator project that is not
reused outside our website adds maintenance overhead. For instance,
support for using `phpdocumentor/guides` was implemented in the website
repo rather than the standalone generator package, which was still using
the `doctrine/rst-parser` package that we want to abandon.
2025-10-09 21:46:37 +02:00
Claudio Zizza
998ce29806 Remove unused phpunit bootstrap 2025-10-09 21:44:14 +02:00
Claudio Zizza
7e6f08f672 Add latest changes of the build command to the website 2025-10-08 11:12:50 +02:00
Claudio Zizza
04d4a65624 Skip not cloned project repos on build 2025-10-08 10:49:18 +02:00
Jaapio
ec00efbcc4 Added extra tests 2025-07-05 23:48:53 +02:00
Jaapio
156dacd5c2 Remove old unused code rendering 2025-07-05 23:48:53 +02:00
Claudio Zizza
3570624fea Fix order of arguments for saveObjects 2025-04-25 00:05:50 +02:00
Claudio Zizza
2bb3d70e32 Introduce additional sort order for projects 2025-04-16 00:05:43 +02:00
Claudio Zizza
01221066db Adapt code to new coding-standard version 2025-03-25 00:50:23 +01:00
Grégoire Paris
5e98897d27 Upgrade the Algolia SDK to v4
The main difference is the disappearance of the SearchIndex interface.
Instead, the client's method now all have a new argument for specifying
the index name to act on.
2025-02-05 07:56:36 +01:00
Claudio Zizza
6756e79bf1 Remove code path usage from projects 2025-01-24 00:38:13 +01:00
Claudio Zizza
b8149dc6c0 Fix phpstan error that appear with bleedingEdge 2024-10-16 19:54:55 +02:00
Jaapio
670b052175 Improve test assert 2024-09-20 20:35:10 +02:00
Jaapio
0e6b6cde5a Link of asset may change 2024-09-18 23:41:27 +02:00
Jaapio
2e2ec879bc Fix test with new rendering 2024-09-18 23:35:36 +02:00
Jaapio
d5a3cc643a Use guides to build search index 2024-09-17 23:14:47 +02:00
Jaapio
971020a87a Fix doc style 2024-08-23 17:10:34 +02:00
Jaapio
792e73c923 Add new static website generator
Use guides to render rst pages.
2024-08-21 23:06:38 +02:00
Claudio Zizza
4810d080a2 Fix tests with dependencies to the partner model 2024-07-22 22:30:53 +02:00
Claudio Zizza
8bd2d4188a Create DbPrefill for partners 2024-07-22 22:23:45 +02:00
Claudio Zizza
973e972d7e Remove last of the hydrators 2024-07-22 21:02:11 +02:00
Claudio Zizza
595ef4b4d5 Remove DataBuilder classes and command
DataBuilder became obsolete and are not used anymore in the project
2024-07-21 01:12:43 +02:00
Claudio Zizza
69c9777ab3 Fix typo for skipped test message 2024-07-19 20:45:24 +02:00
Claudio Zizza
b05d808e43 Set expected invocation number in projects DataSource test 2024-07-19 20:42:17 +02:00
Claudio Zizza
20483d5a9b Create tests for project dbfill 2024-07-17 21:24:13 +02:00
Claudio Zizza
7aade29674 Remove the now unused cache dir from WebsiteBuilder 2024-07-17 21:24:13 +02:00
Claudio Zizza
7ccc9db1fb Adapt tests to new projects entities structure 2024-07-17 21:24:13 +02:00
Claudio Zizza
bd76214aac Remove ProjectHydrator 2024-07-17 21:24:13 +02:00
Claudio Zizza
56ef77c12f Move ProjectDataBuilder logic to Projects datasource 2024-07-17 21:24:13 +02:00
Claudio Zizza
f234adb3de Move blogpost data-builder logic to datasource 2024-07-03 21:22:46 +02:00
Claudio Zizza
4ba8235234 Remove BlogPostHydrator 2024-07-03 19:54:51 +02:00
Claudio Zizza
959b8eef13 Replace skeleton mapper with orm for sitemappage 2024-06-28 21:02:38 +02:00
Claudio Zizza
746f0cfa18 Remove outdated static sponsor list 2024-06-26 23:09:29 +02:00
Claudio Zizza
c8e8026bd2 Create database prefill logic for datasources 2024-06-20 23:55:15 +02:00
Claudio Zizza
cf9e348649 Remove DoctrineUserHydrator 2024-06-20 23:55:15 +02:00
Claudio Zizza
900d1c8dbb Remove mock of final class ProjectExtension
nunomaduro/mock-final-classes was only introduced for RST Builder class that became final
2024-05-24 00:22:46 +02:00
Claudio Zizza
212462d9bc Change config key versionFilter to versionsGreaterThan 2024-04-24 00:10:57 +02:00
Claudio Zizza
03f945f20a Move version filter to product hydrator 2024-04-24 00:10:57 +02:00
Claudio Zizza
0b8cfa719a Directly inject GitHub Repo instance as service
To prevent mocking GitHub Client's magic methods, the actual instance will now be injected
2024-02-06 21:01:50 +01:00
Jonathan H. Wage
ec8492be6c Fix phpcs errors. 2024-02-05 13:16:54 -06:00
Jonathan H. Wage
6abfc86b84 Remove Contributors data as it is causing the build to fail and be slow. 2024-02-05 13:12:33 -06:00
Claudio Zizza
8bea0533ba Set slug for team members api access 2024-01-18 22:05:17 +01:00
Claudio Zizza
d4156ef99c Create test for TeamMember DataSource 2024-01-18 22:05:17 +01:00
Claudio Zizza
b815e1e3ee Rise phpstan error level to 8 2024-01-15 21:13:21 +01:00
Claudio Zizza
de4dcf270b Improve website build time in testing workflows (#551)
* Move website data files to config directory

* Reduce projects for builds of test env

Reducing amount of projects for tests will improve build time of the website

* Adapt functional tests to use existing projects

The test environment has only certain projects available for performance reasons

* Use test environment for website build in CI

* Use default cache directory in test environment
2023-11-02 21:19:55 +01:00