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

Improve docs experience for those not running the latest beta #26

Open
ruurd opened this issue Sep 6, 2022 · 3 comments
Open

Improve docs experience for those not running the latest beta #26

ruurd opened this issue Sep 6, 2022 · 3 comments
Labels
Enhancement New feature or request

Comments

@ruurd
Copy link

ruurd commented Sep 6, 2022

Is it possible to downgrade to 5.6 to make it usable for mere mortals that run latest Monterey?

@amartini51
Copy link
Member

amartini51 commented Sep 6, 2022

The version of TSPL on Swift.org always shows the latest version of Swift that's available in Xcode or in an Xcode beta. However, you can see both the Swift 5.6 and Swift 5.7 (beta) versions of TSPL on Apple Books:

https://books.apple.com/us/book/the-swift-programming-language-swift-5-6/id881256329

Under an older publication pipeline, when we published TSPL as part of the Apple developer documentation website, both the beta and non-beta versions of the book were available. Maybe we should turn this GitHub issue into a request to publish both versions again when we use DocC.

EDIT: Now that Swift 5.7 is out of beta, the Swift 5.6 version is no longer available; the link above takes you to the non-beta 5.7 book. Here are links to the two versions, for future comparison or reference:

@rtharston
Copy link
Contributor

I agree with amartini51, it would be nice to have both beta and release docs available.

@ruurd, I understand you are referring to not running a beta (Ventura or Xcode), but in case you weren't aware, you can run Xcode 14 on Monterey as well (and it is now out of beta, if that was holding you back). :)

@amartini51 amartini51 changed the title Maybe downgrade swift version to 5.6 Improve docs experience for those not running the latest beta Sep 13, 2022
@amartini51 amartini51 added the Enhancement New feature or request label Oct 10, 2022
@amartini51
Copy link
Member

Discussed again on the forum: https://forums.swift.org/t/72375

To have it written down, we've had the following things available over time:

  • When TSPL was hosted on developer.apple.com, there were separate web versions of the book for beta and prerelease, separate ePUB versions in the Apple Books store for beta and prerelease, and an ePUB version on Swift.org for only the latest.
  • When TSPL was hosted on Swift.org using its pre-DocC toolchain, there was a single web version for the latest. There were separate ePUB versions in the Apple Books store for beta and prerelease, and an ePUB version on Swift.org for only the latest.
  • Currently, with TSPL hosted on Swift.org and built using DocC, there is a single web version for the latest. We're no longer able to build an ePUB version (see Add support for an offline reading experience (ePUB, PDF, etc.) #2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants