-
Notifications
You must be signed in to change notification settings - Fork 179
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
move documentation from wiki to git #626
Comments
as you can see, the wiki-style links ([[implicit creation options…]]) would need fixing, but I'm more than happy to put that kind of effort in. |
I completely agree with your suggestion
Looks great! 👍 |
w00t! I think there may also be benefit in moving the release notes to committed files, but one issue at a time. And now, just to make things more interesting, if @adamralph signs onto the overall idea of moving the docs, I think it would be good to have this done in time for the 2.0.0 release. That way we can say all 2.x+ documentation is in readthedocs or whatever. Oh, there's the lingering concern of what to do with the 1.x docs. We could leave them in the wiki, with a warning. I'm not sure how to move them to readthedocs without adding a commit that's tagged with a 1.x.y label… I may dig for more information on alternatives. |
Sounds good to me
We could just add the 1.x documentation in a new 1.x branch (based on the last 1.x.y tag) |
My thought as well, but wasn't sure how it would sit on everyone's "ideal vs. pragmatic" scale. |
Well, I'd say it's both pragmatic and ideal 😉 (at least I can't see any obvious drawback) |
If we want the docs to show up as "1.25.3", I think we'd need to tag with 1.25.3, and that tag already exists. If we moved it, it would no longer correspond exactly to the state of the repo that we released build 1.25.3 from. The parts that matter would be the same. Just not everything. |
I love it. I'm also a huge fan of https://readthedocs.org/ and I already played with it for FIE - https://readthedocs.org/projects/fakeiteasy/ If the 1.x docs are problematic because of the tag, then I suggest we leave them where they are in the wiki and start with 2.0 in readthedocs. |
Actually, for 1.x we can use the branching approach. We just create a support-1 branch at the current 1.25.3 commit, add a docs-only commit to it and then just move the tag. |
Maybe I'm missing something obvious, but I don't really understand what the problem is. Does it have something to do with how ReadTheDocs works?
If we leave the 1.x docs in the wiki, I'm worried people will often look in the wrong place when looking for the docs... |
@blairconrad @thomaslevesque if you give me your account names for readthedocs then I'll make you co-owners of the project. |
Yes, readthedocs generates documents by building from tags in the GitHub repo, so if we want docs versioned 1.25.3 then they need to be built from that tag in the repo. However, the commit which has that tag has no docs content. So, we'd need to branch off from that tag (I suggest a "support-1" branch) add a commit to add the docs content and then move the tag to that commit, then rebuild the docs in readthedocs.
Agreed, I'm 👍 to go with the hacked tag approach. |
Ah, I see. Moving tags is probably not a good habit, but in this case I think it's ok, as long as we're not touching the code. |
I just created mine: thomaslevesque (I expected readthedocs to support GitHub OAuth login, but sadly it doesn't) |
That's the key to the hack. 😄 We have to be very careful that the commit only adds the docs content. |
blairconrad! Um. Without the exclamation point. I was excited. Like @thomaslevesque, I was surprised at having to "create an account". I was griping about it to a coworker.
Oh, good. That was my thought. I feared it wouldn't be pure enough for you, @adamralph. |
My work-in-progress can be seen at http://bfakeiteasy.readthedocs.org/. That's what will become the 2.0 version. I've exported the wiki pages, cleaned up the formatting, added titles to the top, and changed the internal links (the wiki format did not work). I'd like your opinion on some things, @adamralph and @thomaslevesque:
All sound okay? |
Great job @blairconrad!
It would probably be useful to have a page showing all the changes in 2.0.0, to make it easier for people to migrate to 2.x. If the information is scattered on many different pages, it will be harder to find. |
There is the Changes in version 2.0 page. Is that what you're suggesting, @thomaslevesque? |
Agreed, stable should be the default. Each time we release a major we can also explicitly build the previous major tag, so that people can still access it. |
Waffle auto-magically assigned me when I raised #650. I've raised an issue with Waffle for turning off this auto-magic - https://github.com/waffleio/waffle.io/issues/2479 |
@blairconrad do you need any help with:
? |
@adamralph, I'm happy for you or anyone to go ahead. It's not that it's overly difficult (I think), but I've been distracted by the other issues. |
@blairconrad I'll see what I can do. It's not so much "bothered by it being open" but more "what's left to do to release 2.0". |
All done! |
Not to complain, but I'd've thought the readme's Documentation link wouldn't point at the wiki anymore. |
Oops! |
Are we planning on retaining the "Changes in 2.0" wiki topic forever, or just until we actually release, when people can read the release notes? |
I almost removed it, but then I thought I'd leave it in until the release is published. Good point about the broken links 😁 It's a shame we can't make the draft release public. Perhaps we should copy the contents of the draft release into that wiki page for now, to fix the links? |
Is there any reason that the draft release is not using fenced code blocks (but the wiki page is)? |
My memory is fuzzy, but the draft release was probably recreated from the readthedocs docs before they were removed, and it doesn't like the fenced code blocks in lists. |
I've added fenced code blocks to the release notes and copied to the wiki. |
I probably should've just put it in the wiki and made the release notes a pointer to the wiki (for now). |
👍 thanks v much @blairconrad |
This issue has been fixed in release 2.0.0. |
Having the docs in the wiki is convenient, and allows for convenient updates by anyone in the world, but introduces problems keeping the documentation synchronized with the code. This was most apparent during the current long-running 2.0.0 release cycle, but I've noticed it other times as well.
If we moved the documentation into the code, and used something like Read the Docs to host our documentation, we'd be able to
I'd be inclined to put product documentation in the source. You know, things that relate directly to using FakeItEasy and may change release by release.
I think keeping the contributor / owner docs in the wiki makes more sense.
Changes I'd like to make before publishing Please push back if there's anything that doesn't make sense
The text was updated successfully, but these errors were encountered: