Skip to content

Update Compose file documentation for version 2 - #2699

Merged
aanand merged 5 commits into
docker:masterfrom
aanand:update-compose-file-docs
Jan 21, 2016
Merged

aanand merged 5 commits into
docker:masterfrom
aanand:update-compose-file-docs

Conversation

@aanand

@aanand aanand commented Jan 19, 2016

Copy link
Copy Markdown
  • Explain each version in its own section
  • Explain how to upgrade from version 1 to 2
  • Note which keys are restricted to particular versions
  • A few corrections to the docs for version-specific keys

Closes #2622.

@aanand aanand added this to the 1.6.0 milestone Jan 19, 2016
@aanand
aanand force-pushed the update-compose-file-docs branch from 8682ff0 to 4dfc5d7 Compare January 19, 2016 13:31
Comment thread docs/compose-file.md Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't actually valid (from my tests at least). I think it needs to be either local, {}, or blank. There's another instance of this in docs/index.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix the one in docs/index.md

@dnephin

dnephin commented Jan 19, 2016

Copy link
Copy Markdown

cc @londoncalling for docs changes

Comment thread docs/compose-file.md Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we maybe start with v2, and move the v1 format to the bottom of each section?

@londoncalling

Copy link
Copy Markdown

@dnephin fyi, taking a look at this today, thx!

@aanand
aanand force-pushed the update-compose-file-docs branch 2 times, most recently from c312e8a to 93e6099 Compare January 21, 2016 13:58
@aanand

aanand commented Jan 21, 2016

Copy link
Copy Markdown
Author
  • Updated for @dnephin's feedback
  • Documented depends_on
  • Updated now that links are in v2

@aanand aanand mentioned this pull request Jan 21, 2016
2 tasks done
@aanand

aanand commented Jan 21, 2016

Copy link
Copy Markdown
Author

@londoncalling Thoughts on the latest iteration?

@aanand
aanand force-pushed the update-compose-file-docs branch from 9822dc3 to 8086733 Compare January 21, 2016 17:37
Comment thread docs/compose-file.md Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to fix formatting on project name (1 of 3)

@londoncalling

Copy link
Copy Markdown

Hey @aanand , other than the minor copy-edit thing I just found (see previous comments), LGTM.

- Explain each version in its own section
- Explain how to upgrade from version 1 to 2
- Note which keys are restricted to particular versions
- A few corrections to the docs for version-specific keys

Signed-off-by: Aanand Prasad <[email protected]>
Signed-off-by: Aanand Prasad <[email protected]>
Signed-off-by: Aanand Prasad <[email protected]>
Signed-off-by: Joffrey F <[email protected]>

Conflicts:
	docs/compose-file.md
@aanand
aanand force-pushed the update-compose-file-docs branch from 8086733 to fec8cc9 Compare January 21, 2016 18:51
@aanand

aanand commented Jan 21, 2016

Copy link
Copy Markdown
Author

Thanks. Just rebased and cleaned up and will merge once the build passes.

aanand added a commit that referenced this pull request Jan 21, 2016
Update Compose file documentation for version 2
@aanand
aanand merged commit 730c33b into docker:master Jan 21, 2016
@aanand
aanand deleted the update-compose-file-docs branch January 21, 2016 18:57
@aanand

aanand commented Jan 26, 2016

Copy link
Copy Markdown
Author

Cherry-picked into #2753

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants