Closed alcaeus closed 2 years ago
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This is weird, I see the link in https://github.com/doctrine/mongodb-odm/blob/2e1d0bfd4b325449030c0bfde2ebd273cefba10a/docs/en/sidebar.rst but not on the website
Maybe there's something wrong with the page itself or the rst build. This needs further investigations.
Wow! Found some very-very useful pages! I think you underestimate this bug.
Can someone say how this doc builds? Did not find any scripts|configs inside this repo. Have some ideas, did fix, but can't check :(
Pinging @SenseException for help with the docs system.
Trying to build with this extensions, but still got problems with toc in sidebar:
extensions = [
'sensio.sphinx.configurationblock',
'sensio.sphinx.phpcode',
'sphinxcontrib.fulltoc'
]
The node injected in Doctrine\RST\Directives\Toctree::process()
contains the list of the files, but some of them already have a borked format.
/reference/introduction
/reference/architecture
/reference/console-commands
/reference/basic-mapping
/reference/custom-mapping-types
/reference//reference-mapping
/reference/bidirectional-/references
...
It seems it's not a problem of the rst toctree, but of the parser. The ones like /reference//reference-mapping
and /reference/bidirectional-/references
are missing as far as I can see on the website.
@SenseException any idea how could that be happening? Links in https://github.com/doctrine/mongodb-odm/blob/2.3.x/docs/en/sidebar.rst are correct :/
I guess the problem could be in word reference
which can be kind of reserved word. But I didn't find out how the doc has been generated :(
@maxgorovenko I think that might be partially true! But I think it's not a reserved word but a wrong search-and-replace, something like reference
to /reference
which doesn't stop after first replacement. @SenseException does it ring any bell for the build process?
You were faster. :-D
Bug Report
While looking up some documentation, I noticed that the Reference mapping documentation is not linked in the table of contents of the website. We should add this and double-check to make sure all documentation is accessible on the website.