Problem: Source and generated files are confusing in the same folder. Moving sources broke the editor (#1585, backed out in #1598).
Solution: Put sources in a separate folder within Mintlify's content tree and register them as hidden pages so they remain editable.
- Keep ordinary pages, navigation, and images directly editable.
- Move network source pages into
docs-main/sources/, mark them hidden, and map each to its public output.
- Regenerate, validate, and preview public outputs after editor saves.
- Preserve concurrent saves and flag direct edits to generated outputs.
- Pilot one page through editing, saving, and generation before expanding. Hidden-page visibility is confirmed; the new folder and round-trip preservation still need testing.
Downside: For generated pages, editor users must edit the hidden source file. They may mistakenly edit the visible generated page instead, so validation must catch those edits and direct them to the source.
Problem: Source and generated files are confusing in the same folder. Moving sources broke the editor (#1585, backed out in #1598).
Solution: Put sources in a separate folder within Mintlify's content tree and register them as hidden pages so they remain editable.
docs-main/sources/, mark them hidden, and map each to its public output.Downside: For generated pages, editor users must edit the hidden source file. They may mistakenly edit the visible generated page instead, so validation must catch those edits and direct them to the source.