Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I do not know if that was supported with doctrine/rst-parser, but there is such a thing as a caption option for the toctree directive, and it seems that phpDocumentor/guides supports it. When I tried it, it produced a "p" element with a caption class. Adding support for that means we could get rid of the toc and tocheader directly. These custom directives appear to be the directives that cause the most unfixable warnings (unfixable without a custom guides extension, that is). We might end up with an extension anyway if there are other warnings, but I think this could be a nice simplification.
- Loading branch information