Skip to content
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

Figure out how we can update documentation without doing release #561

Closed
itamarst opened this issue Aug 13, 2014 · 11 comments
Closed

Figure out how we can update documentation without doing release #561

itamarst opened this issue Aug 13, 2014 · 11 comments

Comments

@itamarst
Copy link
Contributor

Replaced by https://clusterhq.atlassian.net/browse/FLOC-561

Currently documentation updates require a new release. This is not ideal.

@itamarst
Copy link
Contributor Author

How about this:

  1. Switch ReadTheDocs to point at release/0.1 branch rather than at the 0.1.0 tag.
  2. Branches that should also go into live docs will be merged into the stable release/0.1 branch (in addition to master), via a separate PR.

Implementation will involve documenting this somewhere, and also doing the RTD change.

@wallrj
Copy link
Contributor

wallrj commented Aug 15, 2014

That sounds like a good plan. The only problem I can see is that the version selector box will look like

Versions
    latest
    release/0.1

...rather than...

Versions
    latest
    0.1

which is a bit ugly. But no big deal and perhaps there's something we could do to fix that.

@wallrj wallrj added ready and removed design labels Aug 15, 2014
@itamarst
Copy link
Contributor Author

That's... hm. Possibly a problem. It would impact the URL too I guess, and quite possibly the URL will be /en/release%2F0.1/; that we can check. If it's /en/release/0.1/ that's not necessarily a problem, and I guess it's more accurate than /en/0.1.0/ anyway.

@lukemarsden
Copy link
Contributor

That sounds OK, only problem is that existing links (like from http://www.theregister.co.uk/2014/08/13/flocker_software_containerisation/) would break. We'd need to fix that by adding redirects in our nginx proxy I guess?

I would say this is a high priority fix, since #564 depends on it, and that is (IMO) impacting on the drop-off rate from people going from our homepage (https://clusterhq.com) and clicking the 'Get Started with Flocker now' link.

@itamarst
Copy link
Contributor Author

We wouldn't break existing links, just add another default (and maybe hide the old 0.1.0 so it's linkable but doesn't show up by default - "Protected Versions ... won’t show up in your version listings, but will be available once linked to.")

@itamarst itamarst self-assigned this Aug 18, 2014
@itamarst
Copy link
Contributor Author

Our release branch is called release/flocker-0.1. RTD translates this to release-flocker-0.1, which is sort've wierd thing to have in the URL.

@itamarst
Copy link
Contributor Author

I propose we switch our release branches to be release/0.1 and then RTD will have release-0.1 in the URL, e.g. https://docs.clusterhq.com/en/release-0.1/ which looks fine.

@wallrj
Copy link
Contributor

wallrj commented Aug 19, 2014

I noticed that django have somehow configured RTD to use URLs in the following format.

They have branches named eg stable/1.5.x

Could be worth asking them about that.

And their main documentation site doesn't seem to use RTD at all. It's a Django app:

...which allows them more control over their urls.

@itamarst
Copy link
Contributor Author

Yeah, not clear how. The RTD developer I talked to said he might have the feature I requested done this week (configuragle aliases a-la "latest") so maybe we can just do that.

@itamarst
Copy link
Contributor Author

Blocked on readthedocs/readthedocs.org#893 (or we can rename our release branches if that doesn't happen soon).

@adamtheturtle
Copy link
Contributor

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-561. You are welcome to file additional issues in GitHub if that's easier for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants