-
Notifications
You must be signed in to change notification settings - Fork 23
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
[TASK] Introduce Multi-Level TocTrees #264
Conversation
So that functions like str_starts_with can be used in PHP 7.4 as well
Fyi, I'll put this one on my list to review tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Just some very minor comments.
I must admit that I can't 100% follow all logic, but the changes in test look correct to me so the logic must also be correct :)
I haven't been able to test this PR on the Symfony docs yet, as #251 had quite a big impact on our docs-builder package. I'm working on fixing 0.6 compatibility, but for now we can only run 0.5.
Toctrees display subpages of subpages if `maxdepth` is not set or greater then one. The number of levels to be displayed depends on `:maxdepth:`. Only the main document title is used if `:titlesonly:` is set.
Thank you @wouterj I committed your suggestions. |
@greg0ire can we merge this PR? |
Can and did! Thanks @linawolf ! |
Toctrees display subpages of subpages if
maxdepth
is not set or greater then one. The number of levels to be displayed depends on:maxdepth:
. Only the main document title is used if:titlesonly:
is set.resolves #197