Closed bittner closed 9 years ago
I see it and that is.. weird. I'll look into it.
Update:
The <hr>
is caused by the include expression. I wonder if there's some way to get rid of that.
Update 2:
I got it. The <hr>
is caused by the ------
characters right after the Support
and How to Contribute
lines. It's including it directly, which generates a horizontal rule.
The workaround is to use comments as markers. In this case, I put the comments before the headers so that they will get included as well.
README.rst
.. support-marker
Support
-------
index.rst
.. include:: ../README.rst
:start-after: .. support-marker
:end-before: Installation
Still kinda hacky, but I don't like those <hr>
s! :laughing:
Great, looks good now.
With markers the redundant sections headers are not even needed. Much better in the end.
Darn! Non-issue #14 strikes back here too! Makes the build fail for Python 2.7 + Django 1.6. :fearful:
If you merged this PR I could pull the changes into the feature branches of my other two active PRs. That requires some care in order not to lose the correct changes to the docs. (I'm traumatized by some ping-pong nightmare in the behave docs, anybody noticing?)
Includes content from the README file instead of duplicating it.
Notes