Skip to content

Conversation

@seanmcn
Copy link
Collaborator

@seanmcn seanmcn commented Apr 5, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added/updated tests.

@seanmcn
Copy link
Collaborator Author

seanmcn commented May 8, 2024

I've updated the configuration for demo1 to what I think it should be, however I'm now being presented by the following errors on generation:

Generation completed with errors
├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WARNING │ PageLinkerPlugin: Key `InvalidArgumentException` not found to get document link.                                           │
│         │ This error occurs during the document rendering process                                                                    │
│         │ /src/Core/Plugin/CorePlugin/PageLinker/BasePageLinker.php#102                                                              │
│         │ /sectionWithSubsections/pageLinkingExample/index.md.twig                                                                   │
├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WARNING │ PageLinkerPlugin: Key `Doctrine\Common\Annotations\AnnotationException` not found to get document link.                    │
│         │ This error occurs during the document rendering process                                                                    │
│         │ /src/Core/Plugin/CorePlugin/PageLinker/BasePageLinker.php#102                                                              │
│         │ /sectionWithSubsections/pageLinkingExample/index.md.twig                                                                   │
├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WARNING │ PageLinkerPlugin: Key `Doctrine\Common\Annotations\AnnotationException` not found to get document link.                    │
│         │ This error occurs during the document rendering process                                                                    │
│         │ /src/Core/Plugin/CorePlugin/PageLinker/BasePageLinker.php#102                                                              │
│         │ /sectionWithSubsections/pageLinkingExample/index.md.twig                                                                   │
├─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WARNING │ PageLinkerPlugin: Key `/demo/demo1/docs/sectionWithSubsections/classListExample/index2.md` not found to get document link. │
│         │ This error occurs during the document rendering process                                                                    │
│         │ /src/Core/Plugin/CorePlugin/PageLinker/BasePageLinker.php#102                                                              │
│         │ /sectionWithSubsections/pageLinkingExample/index.md.twig                                                                   │
└─────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

It's a bit strange, classListExample/index2.md is expected to be missing, but I've tried a few different variations of configuration, and none seem to load in vendor/doctrine as expected. 🤔 Perhaps we have broken something with the PageLinker or RecursiveDirectoriesSourceLocator around that? But oddly the main version is completely fine, so perhaps just something obvious I'm overlooking. 🤷

Will pick this back up later in the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants