Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upgit subtree-ing leads to warnings and inclusion of demo_docs and README.rst #142
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
dideler
Oct 10, 2014
This issue affects us as well. We recently forked the theme at Freeseer/sphinx_rtd_theme so we can make minor modifications and subtreed it at Freeseer/freeseer.
But I just tried to build the docs and came across all the warnings as well. My first thought was to delete the demo files (I see @binwiederhier went a step further and deleted everything except the theme).
I also don't know how this would affect the subtree when getting updates. But since there's an extra step between our docs and upstream (our docs subtree -> our forked theme -> upstream theme) we should still be able to get updates from upstream by cherry picking them to our fork and then pulling in those changes via the subtree. Unfortunately, I think the process will be a bit more difficult in @binwiederhier's case.
dideler
commented
Oct 10, 2014
|
This issue affects us as well. We recently forked the theme at Freeseer/sphinx_rtd_theme so we can make minor modifications and subtreed it at Freeseer/freeseer. But I just tried to build the docs and came across all the warnings as well. My first thought was to delete the demo files (I see @binwiederhier went a step further and deleted everything except the theme). I also don't know how this would affect the subtree when getting updates. But since there's an extra step between our docs and upstream (our docs subtree -> our forked theme -> upstream theme) we should still be able to get updates from upstream by cherry picking them to our fork and then pulling in those changes via the subtree. Unfortunately, I think the process will be a bit more difficult in @binwiederhier's case. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
binwiederhier
Oct 22, 2014
+1 for the comment; it's not a deal breaker, since the theme doesn't change very often (and doesn't have to), but it's a bit ugly that way...
binwiederhier
commented
Oct 22, 2014
|
+1 for the comment; it's not a deal breaker, since the theme doesn't change very often (and doesn't have to), but it's a bit ugly that way... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Blendify
Mar 7, 2017
Contributor
I talked to @ericholscher and this is not something that we really want to officially support.
|
I talked to @ericholscher and this is not something that we really want to officially support. |
binwiederhier commentedAug 20, 2014
The readme page says the theme can be git subtree'd. As far as I can tell, this cannot be done without compilation warnings and the unexpected inclusion of some of the rst-files in the project root (README.rst) and demo_docs folder.
Example:
This creates a valid documentation, but it also includes the demo_docs resources and files for some reason (full output below):
An easy fix for this is to manually delete all files and folders, except for the theme directory:
But that obviously affects the git subtree, and I'm not entirely sure how updates/pulls from the subtree would be affected. Any idea how to solve this in a platform agnostic way (no symlinking)? A live example of this can be seen in the Syncany documentation (just started documenting, not much there yet).
Full compilation output: