Skip to content

Migrate remaining content from documentation/Usage.md into DocC articles #8734

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 10 commits into
base: main
Choose a base branch
from

Conversation

heckj
Copy link
Member

@heckj heckj commented May 28, 2025

Migrate remaining content from documentation/Usage.md into DocC articles

Motivation:

Migrate existing documentation from plain markdown into DocC and slightly update content when outdated.

Modifications:

Added the following new articles:

  • Sources/PackageManagerDocs/Documentation.docc/BundlingResources.md
  • Sources/PackageManagerDocs/Documentation.docc/CreatingSwiftPackage.md
  • Sources/PackageManagerDocs/Documentation.docc/Dependencies/EditingDependencyPackage.md
  • Sources/PackageManagerDocs/Documentation.docc/ReleasingPublishingAPackage.md
  • Sources/PackageManagerDocs/Documentation.docc/SettingSwiftToolsVersion.md
  • Sources/PackageManagerDocs/Documentation.docc/SwiftVersionSpecificPackaging.md
  • Sources/PackageManagerDocs/Documentation.docc/UsingBuildConfigurations.md
  • Sources/PackageManagerDocs/Documentation.docc/UsingShellCompletion.md

Updated the following articles to accommodate the new articles:

  • Sources/PackageManagerDocs/Documentation.docc/Documentation.md
  • Sources/PackageManagerDocs/Documentation.docc/AddingDependencies.md
  • Sources/PackageManagerDocs/Documentation.docc/ResolvingPackageVersions.md

resolves #8593

@heckj
Copy link
Member Author

heckj commented May 28, 2025

@swift-ci please test


In general, avoid placing files that aren’t resources in a target’s source folder.
If that’s not feasible, avoid excluding every file individually, place all files you want to exclude in a directory, and add the directory path to the array of excluded files.
Swift Package Manager warns you about files it doesn't recognize in a target's `Sources` directory.
Copy link
Contributor

Choose a reason for hiding this comment

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

question: Since we're avoiding the use of SwiftPM in the docs, are Swift Package Manager and the package manager used interchangeably as replacements to SwiftPM? Do we prefer one over the other?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've been leaning into "package manager", generally assuming that within these articles, the Swift part is heavily assumed and redundant. I've been switching it away from being referenced as a proper noun in general.

@heckj heckj requested a review from bripeticca May 29, 2025 20:14
@heckj heckj enabled auto-merge (squash) May 29, 2025 20:36
@heckj
Copy link
Member Author

heckj commented May 29, 2025

@swift-ci please test

@heckj
Copy link
Member Author

heckj commented May 30, 2025

@swift-ci please test

@heckj heckj force-pushed the docs/migrate-usage-remaining branch from 4801c15 to 61470cf Compare May 30, 2025 18:54
@heckj
Copy link
Member Author

heckj commented May 30, 2025

@swift-ci please test

heckj and others added 6 commits May 30, 2025 11:56
…s.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…s.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…s.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…tion.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…tion.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…s.md

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
@heckj heckj force-pushed the docs/migrate-usage-remaining branch from 61470cf to 2b20de6 Compare May 30, 2025 18:56
@heckj
Copy link
Member Author

heckj commented May 30, 2025

@swift-ci please test

@heckj
Copy link
Member Author

heckj commented Jun 2, 2025

@swift-ci please test linux platform self hosted

@bripeticca
Copy link
Contributor

@swift-ci please test windows

@bripeticca
Copy link
Contributor

@swift-ci please test linux

@heckj
Copy link
Member Author

heckj commented Jun 2, 2025

@swift-ci please test windows self hosted

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 Usage to DocC
3 participants