mvriel
Repos
57
Followers
140
Following
7

Events

mvriel delete branch transform-per-documentation-set
Created at 2 hours ago

Fix phpunit warnings

Changed code coverage check to 64 because pipeline is weird

For a reason that I do not know, the pipeline shows a far lower coverage than running it locally. This now breaks the pipeline for this PR, and the only way to fix that would be to write extra unrelated tests, or change the number temporarily.

Merge branch 'transform-per-documentation-set' into introduce-views-to-make-sure-templates-keep-working

Migrate twig rendering to use ViewSet

Created at 1 day ago
Change writers to be performed on a per-documentation-set basis

Converted back to draft because I am not sure I did not introduce a bug when rendering guides. I want to check that first

Created at 1 day ago

Changed code coverage check to 64 because pipeline is weird

For a reason that I do not know, the pipeline shows a far lower coverage than running it locally. This now breaks the pipeline for this PR, and the only way to fix that would be to write extra unrelated tests, or change the number temporarily.

Created at 1 day ago

Fix phpunit warnings

Created at 1 day ago
pull request opened
Introduce views to make sure templates keep working

Note: depends on https://github.com/phpDocumentor/phpDocumentor/pull/3496; merge that first

Created at 2 days ago
mvriel create branch introduce-views-to-make-sure-templates-keep-working
Created at 2 days ago

Fix linting issue

Created at 2 days ago

Refactor away last uses in writers and tests

Created at 2 days ago

Forgot one location

Created at 2 days ago

Add more restrictions to prevent unwanted side-effects

Created at 2 days ago
Change writers to be performed on a per-documentation-set basis

In draft because I want to perform a review myself of these changes first

Created at 2 days ago
pull request opened
Change writers to be performed on a per-documentation-set basis

We are inching closer to supporting the whole documentation pipeline per documentation set instead of a per-project level.

This is one of the final steps to make the architecture work in this way.

Once this is solved, we can start experimenting with enabling multi-documentation-set rendering and discovering the issues stemming from that.

Created at 2 days ago
mvriel create branch transform-per-documentation-set
Created at 2 days ago

Elements offset is required

When building documentation, the elements offset is required and as such I have moved the initialization to the front of the compiler.

A question could be whether this is really needed, but I have postponed that question for later; so that the effort to support Documentation Sets progresses.

Created at 3 days ago

Ensure elements index builder only runs on api sets

Created at 3 days ago
Refactor all compilers to work on a DocumentationSet

I'm missing some checks on ApiSetDescriptor in some of the compiler passes. Did I overlook something?

I have explicitly not added these and tried to keep it as generic as possible. At the moment, guides do not use files and indexes; but I would love to have this a generic mechanism across all Documentation Sets.

At this point, because only API Sets populate these indexes, I have limited the checks on API Sets only where it really is about API Sets. You can find a few of these in the compiler passes themselves

Created at 3 days ago
PHP Fatal error

As for the deprecations, these are upstream issues as far as I can determine right now. When we were to upgrade box, they may be resolved but at the moment our focus is not yet on these deprecation messages.

Created at 3 days ago
Guides: references to API documentation resolve to the wrong directory

When I use the :php:class: or any of the other :php: references, then a correct path seems be rendered but I and up on the path file://wsl%24/classes/ instead of the correct file location.

Created at 3 days ago
Guides: references to API documentation resolve to the wrong directory

I believe this issue is resolved now

Created at 3 days ago
Unable to parse file "xxx.php", an error was detected: An array can have only integers or strings as keys

I have just attempted to reproduce the scenario but was unable to:

image

I know about this issue, but I believe it is resolved with the latest version of the TypeResolver library.

Can you pull the latest version of phpDocumentor's docker image (docker pull phpdoc/phpdoc) and try again?

Created at 3 days ago