Replies: 2 comments
-
@newville We can make the doc and example as a separate repo, but linked to the xraylarch repo as a submodule. By doing so, the documentation can still be builded in the xraylarch repo, but without messing up the commits. This also apply for examples. |
Beta Was this translation helpful? Give feedback.
-
@Ameyanagi Thanks, yeah using a submodule might be worth doing. Just as an example of that, earlier I forgot that the tests run some of the examples. And this is a fine thing to expand -- we do not have enough unit or feature tests. I have not had the greatest experience with submodules, but I have not tried since "subtree" came into existence, and I think this might be the right use case. But if we put the examples (and so tests?) into a separate module or submodule, then you would need that submodule to run the tests. But, maybe this needs more thought. I think the basic problem is "repo is getting large". By themselves, the main folders are currently:
So: there is some cleanup and reorganization to do. If we add more Jupyter notebooks, that folder could easily blow up. I am okay with not adding very many Larix sessions, but they are useful for testing/demo purposes. Maybe we need multiple submodules. |
Beta Was this translation helpful? Give feedback.
-
At the Developer Zoom meeting yesterday (22-March), we discussed a few topics. One was to migrate more example analyses to Jupyter notebooks and to put these onto mybinder.org (or maybe Google colab). A related discussion point was to consider moving the examples, and maybe to docs to a separate repository. Since mybinder.org points to a GitHub repo, these two topics are sort of related: we could move the docs and examples to one or two new repos ("xraylarch-examples", "xraylarch-docs", or joined at "xraylarch-examples-docs"), and then point mybinder.org to that.
I think I prefer keeping docs and examples together so that the docs can do a "literalinclude" of examples, and so to migrate docs and examples to the separate repo "xraylarch-examples-docs".
The current docs use the "gh-pages" branch from "xraypy/xraylarch". I would like to keep that, but that makes a slight change to "build and install latest docs" to be:
git commit -am "update docs" && git push
Any thoughts or preferences @maurov @Ameyanagi, anyone else?
Beta Was this translation helpful? Give feedback.
All reactions