Skip to content

give a clear error message if no documentation is present #1177

@franzholz

Description

@franzholz

If I execute the command (https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/WritingDocForExtension/Index.html#write-doc-extensions-intro-rendering)
manually for a new extension without any documentation in the folder Documentation, then it ends up in a unclear error message:

In ParseDirectoryHandler.php line 127:
Could not find an index file "", expected file names: index.rst, Index.rst

A recommendation should be given:
If you do not have any documentation in the Documentation folder, then you can generate a basic one from a template by executing the command as explained here:

https://docs.typo3.org/permalink/h2document:how-to-start-docs-extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions