New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does one submit a tutorial to this repo? #3416
Comments
The current plan is to house these in our wiki. Unfortunately, you cannot submit a pull request to the wiki repository. This means contributors would have to directly push to the wiki repository. This is both unsafe and also limits contributors to only those with write access to the whole repository. As, we expect our users to help with these, limiting the contributors is particularly problematic. There are a couple possible solutions:
I'm not sure which option is best, I would recommend the first or second. Any comments would be great. |
I would vote for #2. I think I would be nice to have our docs in a separate repo at some point. I realize this is challenging because some of the docs are built from source. On the point about issues being posted to the main repo, we have two options: (1) we can manually migrate as we do not get a high volume of documentation issues or (2) we can get a bot to auto-migrate documentation issues to the new repo (this is quite easy). I also remember recently seeing that git now supports cross repo symlinks, so we might even be able to symlink the wiki docs from one repo into the other. Not something to worry at all about now. My larger concern is getting this open so #1 or #2 both, as indicated, achieve that goal. #2 is my preference for separation of concerns and openness. |
This is about 'tutorials' (which are a flavor of documentation) or this is about all the documentation for ISIS? |
The original post is about the wiki contents and tutorials. What is the best mechanism to accept PRs on those so that the community can also contribute back. The discussion morphed a little into the source information that is used in rendering and populating all documentation. |
That's what I was afraid of, so I'm glad I asked. If you're talking about tutorials only then a separate repo might be tractable. Odds are good its going to have a lot of images and possibly videos. I don't need to enumerate how that's difficult for any repo. You maybe need to think about exactly what kind of 'tutorial' you're trying to collect (a text and still images tutorial is fundamentally different than one that is supplemented by video or entirely video). But if we're just talking about tutorials that read like a magazine article (they include text and figures), I'd keep them with the source. They are inherently tied to particular spans of versions of the software, itself, and putting them in a separate repo means you'd have to do a lot of version dependency tracking with your tutorials which is an extra step. There are drawbacks to both approaches, but it is not clear that a separate repo solves more problems than in generates. If you are talking about all documentation then a separate repo is a terrible idea. Don't do that. You'll spend all your time cross-linking to keep things current, spending effort to make sure your document repo is correctly tracking your code repo (:shiver emoji:), when you could just keep it in the same repo and not have that problem. |
@rbeyer I agree keeping the API and application docs with the source code makes sense. I think higher level documentation about how to string applications together and the website make sense in a separate repo. |
For right now, I have cloned the wiki on a separate repository: https://github.com/USGS-Astrogeology/ISIS_wiki/tree/master/tutorials Tutorials can be submitted via pull request on that repo. In the future I want to investigate how to setup automated merging and pushing to the wiki on this repo. |
Description
We currently have zero documentation on how to submit a tutorial to the repository, so asking users to submit tutorials is a bit 'problematic'...
Suggested Edit
Add a wiki page on how to submit tutorials...
Thanks!
The text was updated successfully, but these errors were encountered: