Skip to content

Migrate PackageCollections.md to DocC #8715

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

bripeticca
Copy link
Contributor

@bripeticca bripeticca commented May 22, 2025

The covers the porting of content for PackageCollections.md into our DocC catalog and fixes #8589.

The new guide article for PackageCollections exists under Sources/PackageManagerDocs/Documentation.docc/PackageCollections.md and touches on creating, publishing, signing/protecting, and modifying package collections. Below the overview there is a list of subcommands available on the swift package-collection tool with links navigating to the Swift commands documentation.

Each of the PackageCollection CLI commands have been augmented with supplementary information about how to use the subcommand (if applicable), all of which is taken from the original /Documentation/PackageCollections.md markdown file.

Some links within these guides either still reference the old links in the original Documentation/PackageCollections.md file or are placeholders - both are marked with a TODO to update these links once other issues under #8603 are completed and we can replace the links with the appropriate DocC equivalent.

Some content in these guides are also taken from Sources/PackageCollectionsModel/Formats/v1.

- add more information to the subcommand pages, giving
  a brief overview before describing the usage of the
  command itself
- update the links to these subcomand pages for the
  package collection guide
- add a file per topic for package collections
- link out to the subcommand reference when applicable
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@heckj
Copy link
Member

heckj commented May 23, 2025

@swift-ci please test self hosted macOS platform

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca bripeticca requested a review from heckj May 27, 2025 15:34
@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

@bripeticca bripeticca marked this pull request as ready for review May 30, 2025 18:35
@bripeticca
Copy link
Contributor Author

@swift-ci please test

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.

Migrate documentation for Package Collections to DocC
2 participants