-
Notifications
You must be signed in to change notification settings - Fork 162
Migrate docs to the main code repository #37
Comments
discoverability can be improved by simply having a link in the main repo to the docs repo I think the only real problem here is the discoverability (links from both repos to one another) and that can be fixed with a few well placed links |
Ruslan makes a point about the build system in the main repo. Docs changes would trigger the whole test suite. We've decided not to build Docker nightlies through CI so that part will be less of a problem. Just for context, it looks like CI builds take about four minutes these days. So docs changes would have that slight delay before being merge-able. Maybe not a big deal since it will usually take me much longer to get to reviewing the change anyway. I'm starting to think you're right about putting the repositories together. To allay my fears about binaries accumulating over time we could put the images into git lfs. Otherwise remember that images never disappear from git history, even if they are deleted in later commits. All images from the beginning of time in all their versions hang around. I wonder if Read The Docs supports git lfs... |
I'm working on porting the 0.3 docs as a real version on read the docs before thinking about migration. In the meantime anyone want to research Git LFS integration with RTD? |
OK 0.3 docs are now live on our site. It also appears there is a way to use Git-LFS on read the docs (see readthedocs/readthedocs.org#1846). Migrating the docs to the main repo requires a few steps. RTD uses tags or branches in the repo for docs versions. This might cause inconvenience in the main repo. Help me think this through, here are the steps I see to get the docs integrated with the main repo.
|
Here are a few suggestions:
Maintenance effort will include marking a new release branch active in RTD when a major update happens. You can have a checklist in the repo to make sure it is not missed, since this will be an infrequent operation. |
(This is still on my radar, currently prioritizing reviewing open the open PRs and fixing environment vars in Docker which has been blocking people) |
Revisiting this again. You know, I do acknowledge that there are some benefits of merging the docs and main repo but it doesn't feel worth the effort right now. I'm going to put in some effort over the next few days to take care of a lot of other docs issues and let's just leave the repo as it is for now. |
Having documentation live with the code has some benefits:
@begriffs summarized the original reasoning behind having this separate docs repo in begriffs/postgrest#805
In my opinion, the costs outweigh the benefit of those two points, but I guess it's somewhat subjective.
If a pull-request to move the docs to the main repo would be accepted, I'd be happy to start working on it :)
The text was updated successfully, but these errors were encountered: