I use in my sphinx project a toctree with glob option and I want to show different titles than the H1 of my file or the name of the file with using Titlesonly as option of toctree.
Here is a snap of my code :
in the index.md there is README.md files of my project
```{toctree}
---
maxdepth: 1
glob:
---
src/*/*
I want to show the 'Project Root' for example 'audit' instead of the title of the file 'Projet audit @shared'
Here is a snap of README.md
# Projet audit @shared
* Project Root: `audit`
You cannot specify the document titles using glob. The syntax for showing custom titles in reST is described in the documentation.