Skip to content

Added sphinx docs for RTD #83 - #341

Closed
micahhausler wants to merge 2 commits into
docker:masterfrom
micahhausler:docs
Closed

micahhausler wants to merge 2 commits into
docker:masterfrom
micahhausler:docs

Conversation

@micahhausler

Copy link
Copy Markdown

I included instructions for building the docs locally and adding more docs.

If you'd prefer this PR re-opened to a feature branch, let me know.

See #83

@SvenDowideit

Copy link
Copy Markdown

I wonder if instead, the docker-py docs should get merged into the docker API docs more, and we moved away from RTD, sphinx and rst to markdown in march this year.

(I don't know what the decision process is, just pointing out that perhaps there is a decision to be made)

@fredlf ?

@micahhausler

Copy link
Copy Markdown
Author

@SvenDowideit @fredlf Would you all prefer just axing the /docs folder and converting the RST in the docstrings to MarkDown? Do you prefer just .md files or something like MkDocs?

@fredlf

fredlf commented Oct 9, 2014

Copy link
Copy Markdown

I flat out don't understand this change. I'll get @SvenDowideit to explain it to me so I can make an informed evaluation. Sorry.

@SvenDowideit

Copy link
Copy Markdown

@micahhausler I don't know the answer either :/ @shin- can you give a bit more context?

On my end, I just presume that it would be good to use the same documentation platform across everything we do.

But I also wouldn't like to lose details.

To add to the complexity, we're looking at swagger to generate API docs in Docker (assuming I get there today)

@denibertovic

Copy link
Copy Markdown
Contributor

I like RTD a lot, and it's definitely a step up for docker-py. That being said I still vote for consistency.

@micahhausler

Copy link
Copy Markdown
Author

@shin- or anyone else, any update? Markdown for sure? Using MkDocs or just Markdown files?

@fredlf

fredlf commented Oct 15, 2014

Copy link
Copy Markdown

Sorry, @micahhausler , we've all been heads down on the upcoming release. I'll try to chat with @SvenDowideit tonight.

@micahhausler

Copy link
Copy Markdown
Author

Thanks!

@shin-

shin- commented Oct 24, 2014

Copy link
Copy Markdown
Contributor

Sorry for the delay. First off, thanks for the great work on this! But onto the debate at hand:

  1. Yes please, let's continue to work with Markdown, I find it to be a more concise and intuitive format. It's also more widely supported. The fact that it's also what we use for docker mainline is just icing on that cake.
  2. As for moving the docs to the official API docs, I don't recommend it. It would be confusing as to why docker-py gets that privilege over other API clients out there I think, and it's not relevant to the majority of docker users.
  3. I do like what I'm seeing from MkDocs, and I wouldn't mind giving it a go.

@micahhausler

Copy link
Copy Markdown
Author

@shin- Great. Do you want a PR to master or a different branch?

@shin-

shin- commented Oct 24, 2014

Copy link
Copy Markdown
Contributor

Master's good!

@fredlf

fredlf commented Oct 24, 2014

Copy link
Copy Markdown

Bah, sorry, forgot to write up the results of my discussions with Sven. Basically we agree that keeping things in .md is the right thing to do. The benefits of consistency and ease of use outweigh any benefit of switching we could think of.
As far as moving to the "official" API docs, maybe a good compromise would be to create a new reference page with links to other API clients. That would add convenience for devs without adding confusion about privileging one API client over another.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants