-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 13612bf
Showing
144 changed files
with
6,931 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
label: Base documentation article | ||
hide_body: false | ||
fields: | ||
- name: title | ||
label: Title | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Title for SEO, page and title | ||
- name: description | ||
label: Description | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Description for SEO | ||
- name: thumbnail | ||
label: Thumbnail | ||
type: file | ||
hidden: false | ||
default: '' | ||
description: Thumbnail and post hero | ||
- type: include | ||
template: twitter-data | ||
label: Twitter metadata fields | ||
name: twitterData | ||
- type: include | ||
template: facebook-data | ||
label: Facebook metadata fields | ||
name: facebookData | ||
- type: list | ||
name: categories | ||
label: Category | ||
description: Category | ||
config: | ||
use_select: true | ||
source: | ||
type: documents | ||
file: content/_index.md | ||
path: category_names | ||
section: docs | ||
min: '1' | ||
max: '1' | ||
- type: number | ||
name: weight | ||
label: Weight | ||
default: '0' | ||
description: Importance in ordering (bigger number comes earlier) | ||
config: | ||
step: '1' | ||
required: true |
56 changes: 56 additions & 0 deletions
56
.forestry/front_matter/templates/documentation-article.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
label: Documentation article | ||
hide_body: false | ||
fields: | ||
- type: include | ||
name: baseDocumentationArticle | ||
label: Base documentation article | ||
template: docs-base-article | ||
description: Standard fields for all documentation articles | ||
- type: field_group | ||
name: menu | ||
label: Menu | ||
hidden: true | ||
fields: | ||
- type: field_group | ||
name: docs_sidebar | ||
label: Docs sidebar | ||
hidden: true | ||
fields: | ||
- type: number | ||
name: weight | ||
label: Weight | ||
hidden: false | ||
default: '1' | ||
config: | ||
step: '1' | ||
pages: | ||
- content/troubleshooting/codemagic-status-page.md | ||
- content/troubleshooting/accessing-builder-machine-via-ssh.md | ||
- content/building/build-versioning.md | ||
- content/building/dependency-caching.md | ||
- content/building/specifying-custom-ios-scheme.md | ||
- content/testing/running-automated-tests.md | ||
- content/building/building-android-app-bundles.md | ||
- content/publishing/publishing-to-codemagic-static-pages.md | ||
- content/custom-scripts/upload-custom-artifacts.md | ||
- content/custom-scripts/access-private-git-submodules.md | ||
- content/custom-scripts/publish-build-artifacts-to-amazon-s3.md | ||
- content/custom-scripts/load-firebase-configuration.md | ||
- content/code-signing/android-code-signing.md | ||
- content/custom-scripts/add-a-git-tag-with-app-version.md | ||
- content/building/building-for-the-web.md | ||
- content/testing/beta-testing-with-testmagic.md | ||
- content/custom-scripts/run-static-code-analysis.md | ||
- content/testing/static-code-analysis.md | ||
- content/testing/running-tests-only.md | ||
- content/testing/testing-widgets.md | ||
- content/building/environment-variables.md | ||
- content/getting-started/creating-workflows.md | ||
- content/publishing/publishing-to-app-store.md | ||
- content/code-signing/ios-code-signing.md | ||
- content/publishing/publishing-to-google-play.md | ||
- content/getting-started/automatic-language-detection.md | ||
- content/getting-started/multiple-projects-in-one-repository.md | ||
- content/getting-started/adding-apps-from-custom-sources.md | ||
- content/building/automatic-build-triggering.md |
41 changes: 41 additions & 0 deletions
41
.forestry/front_matter/templates/documentation-home-page.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
label: Documentation home page | ||
hide_body: false | ||
fields: | ||
- type: text | ||
name: title | ||
label: Title | ||
- type: text | ||
name: description | ||
label: Description | ||
description: Description for SEO | ||
- type: list | ||
name: category_names | ||
label: Category names | ||
config: | ||
use_select: false | ||
source: | ||
type: documents | ||
- type: field_group_list | ||
name: category_values | ||
label: Category values | ||
description: Extra metadata for categories if needed | ||
fields: | ||
- type: select | ||
name: name | ||
config: | ||
source: | ||
type: documents | ||
section: docs | ||
file: content/_index.md | ||
path: category_names | ||
label: Name | ||
description: Name matching the previous list | ||
- type: text | ||
name: title | ||
label: Title | ||
description: Title to override name when displaying | ||
config: | ||
labelField: name | ||
pages: | ||
- content/_index.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
label: Facebook metadata | ||
hide_body: false | ||
fields: | ||
- name: facebook_title | ||
label: Facebook title | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Facebook title. If not set, post title is used | ||
- name: facebook_description | ||
label: Facebook description | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Facebook description. If not set, post description is used | ||
- name: facebook_image | ||
label: Facebook image | ||
type: file | ||
hidden: false | ||
default: "/uploads/2019/01/default-thumb.png" | ||
description: Facebook image. If not set, site-wide default Facebook image is used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
label: Twitter metadata | ||
hide_body: false | ||
fields: | ||
- name: twitter_title | ||
label: Twitter title | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Twitter title. If not set, post title is used | ||
- name: twitterDescription | ||
label: Twitter description | ||
type: text | ||
hidden: false | ||
default: '' | ||
description: Twitter description. If not set, post description is used | ||
- name: twitter_image | ||
label: Twitter image | ||
type: file | ||
hidden: false | ||
default: "/uploads/2019/02/twitter.png" | ||
description: Twitter image. If not set, site-wide default Twitter image is used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
new_page_extension: md | ||
auto_deploy: false | ||
admin_path: "/enter" | ||
webhook_url: | ||
sections: | ||
- type: directory | ||
path: content | ||
label: Docs | ||
create: all | ||
match: "**/*" | ||
exclude: "/uploads/*" | ||
templates: | ||
- documentation-article | ||
upload_dir: content/uploads | ||
public_path: "/uploads" | ||
front_matter_path: '' | ||
use_front_matter_path: false | ||
file_template: ":year:/:month:/:filename:" | ||
build: | ||
preview_command: "./build.sh" | ||
publish_command: "./build.sh" | ||
preview_env: | ||
- HUGO_ENV=staging | ||
- HUGO_ENVIRONMENT=staging | ||
- HUGO_VERSION=0.55.3 | ||
publish_env: | ||
- HUGO_ENV=production | ||
- HUGO_ENVIRONMENT=production | ||
- HUGO_VERSION=0.55.3 | ||
preview_output_directory: dist | ||
output_directory: dist | ||
instant_preview_command: hugo server -D -E -F --port 8080 -s site --bind 0.0.0.0 | ||
--renderToDisk --cleanDestinationDir --disableFastRender -d dist | ||
preview_docker_image: forestryio/build:latest | ||
mount_path: "/opt/buildhome/repo" | ||
version: 0.55.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
`inline code` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< drive "1c7Jo0QRXV4mJd-4FenxH6OjrkLIydQo0" >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!--more--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< figure src="/uploads/Screenshot_20190402-160458.jpg" caption="optional caption goes here" title="optional alt title goes here" size="small" align="left" >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< gist spf13 7896402 >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{< highlight html >}} | ||
<header>Hello world!</header> | ||
<main>Hello</main> | ||
{{< /highlight >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< instagram BWNjjyYFxVx >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< spotify 3dIObdYq4t2ImbqquBakT6 >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< tweet 877500564405444608 >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< video-gif src="/uploads/2019/02/DevJoke-11-2.mp4" >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< vimeo 36820781 >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{< youtube "rMnasxSxfl8?start=23" >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/public/ | ||
/resources/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
routes: | ||
- route: "^.+\\.(js|css|svg|ttf|woff|woff2)$" | ||
# cache static assets for 20 years since they are fingerprinted | ||
headers: | ||
Cache-Control: "max-age=630720000, no-transform, public" | ||
gzip: true | ||
- route: "^.+\\.(ico|pdf|jpg|JPG|jpeg|png|PNG|gif|GIF|mp4|mov|mkv)$" | ||
# images 1 week for now because content images are not fingerprinted | ||
# but without gzip | ||
headers: | ||
Cache-Control: "max-age=604800, no-transform, public" | ||
gzip: false | ||
- route: "^.+\\.(html|xml|json)$" | ||
# 5 minutes for main content and design like pages and search index | ||
headers: | ||
Cache-Control: "max-age=300, no-transform, public" | ||
gzip: true | ||
- route: "^sitemap\\.xml$" | ||
# sitemap | ||
headers: | ||
Cache-Control: "max-age=300, no-transform, public" | ||
Content-Type: "application/xml; charset=utf-8" | ||
gzip: true | ||
- route: "^.+\\.xml$" | ||
# rss | ||
headers: | ||
Cache-Control: "max-age=300, no-transform, public" | ||
Content-Type: "application/rss+xml; charset=utf-8" | ||
gzip: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "./build.sh", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "serve", | ||
"type": "shell", | ||
"command": "./serve.sh", | ||
"group": "build", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"severity": "error", | ||
"fileLocation": "absolute", | ||
"owner": "hugo", | ||
"pattern": { | ||
"regexp": "template: (.*):(\\d+): (.*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3, | ||
"loop": true | ||
}, | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": "Change detected, rebuilding site", | ||
"endsPattern": "Total in \\d+ ms" | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.