siemensikkema / swift-org-website

Swift.org website

Home Page:https://swift.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift.org Website

Overview

Swift.org website goals include:

  1. Welcome the curious about the Swift programming language.
  2. Share knowledge with the Swift users community and prospective users, including instructions for getting started with Swift as easily as possible, user guides, best practices, API documentation and feature announcements.
  3. Share knowledge with the Swift contributors community and prospective contributors, including contribution guides, technical details that assist contributions, project governance and legal information.
  4. Highlight community driven initiatives and technical work that have broad applicability to Swift users in all or some of its core usage domains.

See website overview for more information about the Swift.org website goals, content governance and contribution guidelines.

Technical

Swift.org uses Jekyll, a blog-aware, static site generator in Ruby.

Running locally

Requirements

  • Git
  • Ruby 3.1 or higher (a Ruby installation manager, such as rbenv or RVM is recommended, but not required)
  • Bundler

To run the site locally, enter the following commands into a terminal window:

git clone https://github.com/apple/swift-org-website.git
cd swift-org-website
bundle install
LC_ALL=en_us.UTF-8 bundle exec jekyll serve
open "http://localhost:4000"

Running in Docker

First build the site with Docker Compose:

docker-compose run build

Then you can run the site:

docker-compose up website

The website will be available on http://localhost:4000

About

Swift.org website

https://swift.org

License:Other


Languages

Language:SCSS 39.1%Language:JavaScript 34.2%Language:HTML 17.3%Language:CSS 4.5%Language:Shell 4.0%Language:Dockerfile 0.4%Language:Liquid 0.3%Language:Ruby 0.1%Language:Procfile 0.0%