/SwiftRef

Community-Generated Swift Programming Language Reference

Primary LanguageHTMLApache License 2.0Apache-2.0

Welcome to SwiftRef

This is the development home of SwiftRef, a community project to create a technical reference for the Swift programming language.

Please see the latest published draft for information about the motivation for this project.

Infrastructure

The reference is developed as a Jekyll website, currently being served by GitHub Pages.

Conventions and Guidelines

  • Avoid unnecessary HTML tags; use Markdown formatting to the degree possible.
  • Wrap lines at 80 columns to support diff-friendly change tracking.
  • Follow writing conventions spelled out in the document.
  • Chapters are represented as individual Markdown files in the chapters/ subdirectory.
  • Each chapter begins with a 2nd-level heading, e.g. ## Chapter Name. All other headings in a chapter are 3rd-level and below.
  • Each file's name starts with a 4-digit number that determines its order in the overall document. Initial numbering is spaced by 100s.
  • Maintain stable file names and heading titles for linkability until another solution is in place.

Development Hints

Creating a complete installation of jekyll and all the parts needed for github pages development can be fraught. If you install docker-compose, you can start a webserver serving the site at http://localhost:4000 by invoking

docker-compose up

in the root directory of your working copy.