Closed tstenner closed 4 years ago
Is there any way to render README.rst at https://labstreaminglayer.readthedocs.io/info/README.html ? i.e., can the docs access something in a parent directory? The goal is to avoid copy-pasting.
Is there any way to render README.rst at https://labstreaminglayer.readthedocs.io/info/README.html ?
Yes and no. I originally tried symlinking one to the other, but then the Github preview would only show the path instead of the contents. We could link add a symlink to /README.rst
in docs/info/
, but there's a certain OS starting with W that still has flaky support for four decade old features.
On the other hand, everyone working on the documentation so far and readthedocs use Unix, so I've updated the PR to replace the page in docs/info
with the symlink.
I think anyone reading the documentation offline or on GitHub would see ../../README.rst
in docs/info/getting_started.rst and understand that they should be looking to the README for info on how to get started. As long as this renders correctly in RTD then I'm OK with it.
Github can render a subset of RST, so we can re-use the getting started guide 1:1 as the main repository README (preview).
The only feature I'm missing is the cross-reference support, i.e.
:doc:`doc_name`
and:ref:`some_section`
.