Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add content
  • Loading branch information
ltoenning committed Jun 27, 2020
1 parent e424726 commit 0e00ae5
Show file tree
Hide file tree
Showing 319 changed files with 15,206 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/deploy.yml
@@ -0,0 +1,41 @@
name: Deploy

on:
push:
branches:
- master

env:
baseURL: https://swift-project.github.io/

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- run: npm install
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Checkout gh-pages worktree
run: |
rm -rf public
git worktree add -B gh-pages public origin/gh-pages
rm -rf public/*
- name: Build
run: hugo --minify --baseURL ${{ env.baseURL }}
- name: Deploy 🚀
run: |
git config user.email "action@github.com"
git config user.name "GitHub Action"
cd public
git add --all
git commit -m "Automatic deployment commit" | true
cd ..
git push origin gh-pages | true
34 changes: 34 additions & 0 deletions .github/workflows/pullrequest.yml
@@ -0,0 +1,34 @@
name: Test-Build

on:
push:
branches:
- '**' # build for all branches except master
- '!master'
pull_request:

env:
baseURL: https://swift-project.github.io

jobs:
test-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- run: npm install
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Checkout gh-pages worktree
run: |
rm -rf public
git worktree add -B gh-pages public origin/gh-pages
rm -rf public/*
- name: Build
run: hugo --minify --baseURL ${{ env.baseURL }}
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
public/*
node_modules/*
resources/_gen/*
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy.git
7 changes: 7 additions & 0 deletions .vscode/important.code-snippets
@@ -0,0 +1,7 @@
{
"Important": {
"prefix": ["important"],
"body": ["{{% alert title=\"Important\" color=\"warning\" %}}\n$1\n{{% /alert %}}"],
"description": "An important block."
}
}
7 changes: 7 additions & 0 deletions .vscode/link.code-snippets
@@ -0,0 +1,7 @@
{
"Link markdown": {
"prefix": ["link", "linkmd"],
"body": ["[$1]({{< ref \"$2\" >}})"],
"description": "A markdown shortcode link."
}
}
7 changes: 7 additions & 0 deletions .vscode/note.code-snippets
@@ -0,0 +1,7 @@
{
"Note": {
"prefix": ["note"],
"body": ["{{% alert title=\"Note\" color=\"primary\" %}}\n$1\n{{% /alert %}}"],
"description": "A note block."
}
}
25 changes: 25 additions & 0 deletions README.md
@@ -0,0 +1,25 @@
# swift Homepage

This site was adopted from is build with [Docsy](https://github.com/google/docsy) and adopted from [Docsy-Example](https://github.com/google/docsy-example)

The emoji cryingface.svg was designed by OpenMoji - the open source emoji and icon project. License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/#)

All documents under content/en/docs are licensed under GNU Free Document License Version 1.3 (see https://www.gnu.org/licenses/fdl-1.3.en.html)

## Running the website locally

Clone the repository with

```
git clone <URL> --recurse-submodules
```

Install dependencies:
```
npm install
```

And start the local development server
```
hugo server
```
7 changes: 7 additions & 0 deletions assets/scss/_variables_project.scss
@@ -0,0 +1,7 @@
/*
Add styles or override variables from the theme here.
*/
$primary: #203D48;
$secondary: #0C727D;
175 changes: 175 additions & 0 deletions config.toml
@@ -0,0 +1,175 @@
baseURL = "/"
title = "swift project"

enableRobotsTXT = true

# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["docsy"]

# Will give values to .Lastmod etc.
enableGitInfo = true

# Language settings
contentDir = "content/"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

disableKinds = ["taxonomy", "taxonomyTerm"]

# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = false
#pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"

# Configure how URLs look like per section.
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"

## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday]
plainIDAnchors = true
hrefTargetBlank = true
angledQuotes = false
latexDashes = true

# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"

[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
#id = "UA-00000000-0"

# Language configuration

[languages]
[languages.en]
title = "swift project"
description = "The multiple simulator and OS pilot client"
languageName ="English"
# Weight used for sorting.
weight = 1
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

# Everything below this are Site Params

[params]
copyright = "swift developers"
privacy_policy = "https://help.github.com/en/github/site-policy/github-privacy-statement"

# First one is picked as the Twitter card image if not set on page.
# images = ["images/project-illustration.png"]

# Menu title if your navbar has a versions selector to access old versions of your site.
# This menu appears only if you have at least one [params.versions] set.
version_menu = "Releases"

# Flag used in the "version-banner" partial to decide whether to display a
# banner on every page indicating that this is an archived version of the docs.
# Set this flag to "true" if you want to display the banner.
archived_version = false

# The version number for the version of the docs represented in this doc set.
# Used in the "version-banner" partial to display a version number for the
# current doc set.
version = "0.0"

# A link to latest version of the docs. Used in the "version-banner" partial to
# point people to the main doc site.
url_latest_version = "https://example.com"

# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
github_repo = "https://github.com/swift-project/swift-project.github.io"
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
github_project_repo = "https://github.com/swift-project"

# Specify a value here if your content directory is not in your repo's root directory
# github_subdir = ""

# Google Custom Search Engine ID. Remove or comment out to disable search.
gcs_engine_id = "011737558837375720776:fsdu1nryfng"

# Enable Algolia DocSearch
algolia_docsearch = false

# Enable Lunr.js offline search
offlineSearch = false

# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = false
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = true
# Set to true to disable the About link in the site footer
footer_about_disable = true

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
# add "hide_feedback: true" to the page's front matter.
[params.ui.feedback]
enable = true
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
yes = 'Glad to hear it! Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'

# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
# add "hide_readingtime: true" to the page's front matter
[params.ui.readingtime]
enable = false

[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
[[params.links.user]]
name ="Facebook"
url = "https://facebook.com/pilotclientproject"
icon = "fab fa-facebook"
desc = "Like us on Facebook to get the latest news!"
[[params.links.user]]
name = "Discord"
url = "https://discord.gg/vc3uHEk"
icon = "fab fa-discord"
desc = "Contact us on Discord!"
[[params.links.user]]
name = "Youtube"
url = "https://www.youtube.com/channel/UCxIqqktigmuCmVs2jL_dv2Q"
icon = "fab fa-youtube"
desc = "Find us on YouTube!"

# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
[[params.links.developer]]
name = "GitHub"
url = "https://github.com/swift-project"
icon = "fab fa-github"
desc = "Development takes place here!"
[[params.links.developer]]
name = "Doxygen documentation"
url = "https://example.org/doxygen"
icon = "fas fa-laptop-code"
desc = "Development documentation"

[[menu.main]]
name = "Datastore"
weight = 50
url = "https://datastore.swift-project.org/page/about.php"
44 changes: 44 additions & 0 deletions content/_index.html
@@ -0,0 +1,44 @@
+++
title = "Goldydocs"
linkTitle = "Goldydocs"

+++

{{< blocks/cover title="swift project: the multiple simulator and OS pilot client!" image_anchor="top" height="full" color="orange" >}}
<div class="mx-auto">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="https://github.com/swift-project/pilotclient/releases">
Download <i class="fab fa-github ml-2 "></i>
</a>
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="{{< relref "/docs" >}}">
Documentation <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
{{< blocks/link-down color="info" >}}
</div>
{{< /blocks/cover >}}


{{% blocks/lead color="primary" %}}
swift is an open-source pilot client which can allows users to connect their flightsimulator to FSD-networks like VATSIM.

swift is an independed (private/non-commercial) software project creating open source software for flight simulaton.
{{% /blocks/lead %}}

{{< blocks/section color="secondary" >}}
{{% blocks/feature icon="fa-plane-departure" title="Multiple simulator support!" %}}
swift supports all major flight simulators like X-Plane 10/11, Prepar3D v1-v5, FSX, FS9 and Flightgear.

Support for other simulators can easily be added.
{{% /blocks/feature %}}


{{% blocks/feature icon="fas fa-desktop" title="Multiple OS support!" %}}
swift is available for all major operating systems.
{{% /blocks/feature %}}

{{% blocks/feature icon="fab fa-github" title="Open Source!" url="/docs/gi" %}}
swift is the only pilotclient which is fully open-source under GPLv3. New contributors are always welcome!
{{% /blocks/feature %}}


{{< /blocks/section >}}

20 changes: 20 additions & 0 deletions content/about/_index.html
@@ -0,0 +1,20 @@
---
title: About Goldydocs
linkTitle: About
menu:
main:
weight: 10

---


{{< blocks/cover title="About swift" image_anchor="bottom" height="min" >}}

<p class="lead mt-5">An open source pilot client.
</p>

{{< /blocks/cover >}}

{{% blocks/lead %}}
History
{{% /blocks/lead %}}
Binary file added content/about/featured-background.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions content/blog/_index.md
@@ -0,0 +1,7 @@
---
title: "swift Blog"
linkTitle: "Blog"
menu:
main:
weight: 30
---

0 comments on commit 0e00ae5

Please sign in to comment.