Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.x #75

Open
wants to merge 218 commits into
base: master
Choose a base branch
from
Open

2.x #75

wants to merge 218 commits into from

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.

2 participants