Skip to content

Commit

Permalink
Braze Public Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhaobraze committed Jan 30, 2019
1 parent 5cb1ba6 commit dbe1c7f
Show file tree
Hide file tree
Showing 2,280 changed files with 64,781 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
_algolia_api_key
.gem/
/_site
.sass-cache
.DS_Store
.tags
.tags1
.ruby-version
jekyll-algolia-*
**/.asset_pipeline
/_docs/_hidden/private_betas/*
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.1
20 changes: 20 additions & 0 deletions Archive/academy/_build/cachesettings.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class CacheSettings
def initialize(app, pat)
@app = app
@pat = pat
end

def call(env)
res = @app.call(env)
path = env["REQUEST_PATH"]

@pat.each do |pattern, data|
if path =~ pattern && data.has_key?(:cache_control)
res[1]["Cache-Control"] = data[:cache_control]
return res
end
end

return res
end
end
84 changes: 84 additions & 0 deletions Archive/academy/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Site settings
title: Braze Academy
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
Welcome to Braze Academy! Learn how to become a marketing expert and
effectively use Braze's tools. Braze Academy gives you the knowledge, skills
and best practices to engage your users beyond the download.
baseurl: "/academy" # the subpath of your site, e.g. /blog/
url: "https://www.braze.com" # the base hostname & protocol for your site
twitter_username: Braze
github_username: Appboy
permalink: /:title/
index_url: /Home/
api_key: "bef30adf-6179-4b26-a3b5-42268996ad95"

# Allows the DocSearch element to be inspected. Set to true locally, but don't
# check in in that state, or it will cause undesirable behavior in prod.
search_debug: false

# Jekyll won't go into nested folders so you need to list them. I should submit a
# PR to Jekyll to fix that...
plugins_dir: ["_plugins", "_plugins/shared"]

# Pages directory
include: ["_pages"]

# Don't serve non-jekyll files
exclude: ['config.ru', 'Gemfile', 'Gemfile.lock', 'README.md', 'Procfile', 'Rakefile', 'vendor', 'config']

# Build settings
markdown: kramdown

image_buster:
dev: false
paths:
- '/assets/shared/img/*.*'

kramdown:
input: GFM

# Collections
collections:
Getting_Started:
relative_directory: _collections/Getting_Started
Segments_and_User_Targeting:
relative_directory: _collections/Segments_and_User_Targeting
Message_Building_and_Personalization:
relative_directory: _collections/Message_Building_and_Personalization
Campaigns:
relative_directory: _collections/Campaigns
Canvas:
relative_directory: _collections/Canvas
Data_and_Analytics:
relative_directory: _collections/Data_and_Analytics
Best_Practices:
relative_directory: _collections/Best_Practices
Release_Notes:
relative_directory: _collections/Release_Notes
Troubleshooting_Guide:
relative_directory: _collections/Troubleshooting_Guide
Webinars:
relative_directory: _collections/Webinars
GDPR:
relative_directory: _collections/GDPR
App_Settings:
relative_directory: _collections/App_Settings
Locations_and_Geofences:
relative_directory: _collections/Locations_and_Geofences
Manage_Your_Users:
relative_directory: _collections/Manage_Your_Users
News_Feed:
relative_directory: _collections/News_Feed
Templates_and_Media:
relative_directory: _collections/Templates_and_Media
Home:
relative_directory: _collections/Home


asset_pipeline:
bundle: true
compress: true
output_path: assets
display_path: academy/assets
gzip: true
Loading

0 comments on commit dbe1c7f

Please sign in to comment.