Skip to content

Commit

Permalink
initial commit of developer.okta.com
Browse files Browse the repository at this point in the history
  • Loading branch information
karlmcguinness-okta committed Jan 23, 2014
0 parents commit 256e9e2
Show file tree
Hide file tree
Showing 138 changed files with 79,945 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.idea
*.iml
*.ipr
*.iws
build2
activemq-data
build
target
*.pyc
.ant_targets
test-app-icons.html
/junit*.properties
atlassian-ide-plugin.xml
classes

# Include files from snapshotted ide config (which are ignored otherwise)
!buildtools/ide/idea/.idea
!buildtools/ide/idea/*.iml
!buildtools/ide/idea/*/*.iml
!buildtools/ide/idea/*/*/*.iml

# ignore vim swap files
*.sw[a-p]

# ignore mac specific files
.DS_Store
reload_views.rb
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
developer.okta.com
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
com.okta.developer
==================

1. Clone in desktop / Download zip
2. Change CNAME with the right subdomain ("developers.okta.com")
3. Change Return URL for signup ( <input type=hidden name="retURL" value="http://github.essaoui.com/welcome.html">
4. Clean documentation (H1 - H6, unused list, ....)
5. Make sure docs folder has all okta's documentation
6. Update Okta repo
71 changes: 71 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Okta
pygments: true

# CAUTION:
# - When in Localhost, your site will run from root "/" regardless of BASE_PATH
# - Only the following values are falsy: ["", null, false]
# - When setting BASE_PATH it must be a valid url.
# This means always setting the protocol (http|https) or prefixing with "/"
BASE_PATH : false

# By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme.
# ex: [BASE_PATH]/assets/themes/[THEME-NAME]
#
# Override this by defining an absolute path to assets here.
# ex:
# http://s3.amazonaws.com/yoursite/themes/watermelon
# /assets
#
ASSET_PATH : false

# These paths are to the main pages Jekyll-Bootstrap ships with.
# Some JB helpers refer to these paths; change them here if needed.
#
sdks_path: /sdks/index.html
maruku:
use_tex: false
use_divs: false

rdiscount:
extensions: []

exclude: []

markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]

kramdown:
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
use_coderay: false

coderay:
coderay_wrap: div
coderay_line_numbers: inline
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: style

redcloth:
hard_breaks: true

sitemap:
filename: "/site-map.xml"
safe: true

folder_priority:
- text: Getting Started
weight: 1
- text: Endpoints
weight: 2
- text: Examples
weight: 3




16 changes: 16 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<footer class="bs-footer" role="contentinfo">
<div class="container">

</div>
</footer>
</body>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="{{ relative }}assets/js/jquery.js"></script>
<script src="{{ relative }}assets/dist/js/bootstrap.min.js"></script>
<script src="{{ relative }}assets/js/jquery-ui-1.10.3.custom.js"></script>
<script src="{{ relative }}assets/js/jquery.tocify.js"></script>
<script src="{{ relative }}assets/js/function.js"></script>
<script type="text/javascript" src="//use.typekit.net/pls8pog.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
46 changes: 46 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=0.0, maximum-scale=1.0, user-scalable=no">
<title>Okta Developers</title>
{% capture lvl %}{{ page.url | append:'index.html' | split:'/' | size }}{% endcapture %}
{% capture relative %}{% for i in (3..lvl) %}../{% endfor %}{% endcapture %}
<!-- Bootstrap core CSS -->
<link href="/assets/dist/css/bootstrap.css" rel="stylesheet">
<link href="/assets/css/jquery.tocify.css" rel="stylesheet">
<link href="/assets/css/main.css" rel="stylesheet">
{% if page.css %}
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/{{ page.css }}.css" type="text/css" />
{% endif %}
</head>
<body data-scrollspy="scrollspy" data-target="#sidebar" {% if page.url != "/index.html" %} class="body-features" {% endif %}>
<nav class="navbar navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- You'll want to use a responsive image option so this logo looks good on devices - I recommend using something like retina.js (do a quick Google search for it and you'll find it) -->
<a class="navbar-brand" href="/index.html"><span class="logo-dev">developers</span></a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<!-- <li {% if page.url == "/index.html" %} class="active-nav" {% endif %}><a href="/">Home</a></li> -->
<li><a href="/features.html" {% if page.url == "/features.html" %} class="active-nav" {%else%} class="black" {% endif %}>Features</a></li>
<li><a href="/docs.html" {% if page.url == "/docs.html" %} class="active-nav" {%else%} class="black" {% endif %} >Docs</a></li>
<li><a href="/discussion.html" {% if page.url == "/discussion.html" %} class="mrg-right-15 active-nav" {%else%} class="mrg-right-15 black" {% endif %}>Discussion</a></li>
<li><a href="http://www.okta.com" data-num="{{p.weight}}" class="button-gray visit">Visit Okta.com</a></li>
<li><a href="/signup.html" data-num="{{p.weight}}" class="button nav-button-padding "><strong>Get Started</strong></a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>
1 change: 1 addition & 0 deletions _includes/no_js.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Javascript disabled
13 changes: 13 additions & 0 deletions _includes/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Okta API
======================
### Placeholder

This is a placeholder located under _includes/welcome.md
It will be used as the welcome text for the docs page

### Contents
--------
This is the starting point for documentation on the Okta API. If you are new, take a look at the getting started section below.



42 changes: 42 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

{% include header.html %}
<div class="container-non-responsive">
<div class="row row-offcanvas row-offcanvas-right" id="f-wrapper">
<div class="col-3 sidebar-offcanvas" id="sidebar">
<noscript>
{% capture no_js %}{% include no_js.md %}{% endcapture %}
{{ no_js }}
</noscript>
</div>
<div class="col-9 col-offset-3" id="f-content">
{% assign count = '0' %}
<div style="margin-left:2%;">
<div id="welcome" class="twocolordiv">
{% capture welcome %}{% include welcome.md %}{% endcapture %}
{{ welcome | markdownify }}
</div>
{% for current_folder in site.folder_priority %}
<span class="hide page_block_name" data-block="{{ current_folder.text }}">{{ current_folder.text }}</span>
{% for my_page in site.pages %}
{% if my_page.category == current_folder.text %}
{% for priority in (1..20) %}
{% capture count %}{{ count | plus: '1' }}{% endcapture %}
{% if my_page.position != 'nav' %}
{% if my_page.priority == priority %}
<div id="section-{{count}}" class="twocolordiv">
<div class="text">
{{ my_page.content }}
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
{% include footer.html %}
</html>
51 changes: 51 additions & 0 deletions _layouts/discussion.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% include header.html %}
<div class="container-features">
<div class="valprop-features">
<div class="container-narrow">
<div class="row">
<div class="col-xs-8">
<h3 class="valprop-title discussion-header">Discussions</h3>
</div>
<div class="col-xs-4 mrg-top-50">
<a href="http://stackoverflow.com/search?q=okta" data-num="" class="button nav-button-padding">Go to Stack Overflow Forum</a>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<p>The Okta team actively answers questions about the [okta-api] tag on Stack Overflow throughout the day. Please use this forum as much as possible. If for some reason your question can’t be answered there, please <a class="underline white" href="mailto:[email protected]">contact us directly</a>.</p>
</div>

</div>
</div>
</div>
</div>
<div class="container-features discussion-page">
<div class="row search-holder features-border nopadding">
<div class="col-xs-8 col-xs-offset-2">
<div class="search-holder">
<form target="_blank" action="http://stackoverflow.com/search">
<span class="input-group-addon search-icon"></span>
<input class="form-control input-lg" id="focusedInput" type="text" placeholder="Search the Stack Overflow forum" autocomplete="on" name="q">
</form>
</div>
</div>
</div>
<div class="row nopadding">
<div class="col-xs-8 col-xs-offset-2">
<h4 class="features-subtitle">Recent Discussion on Stack Overflow</h4>
<ul class="recent-discussions">
<li><a href="#">Create and store profile information for any number of users.</a></li>
<li><a href="#">Customize your user profile to store any number of attributes.</a></li>
<li><a href="#">Register new users with built-in on-boarding workflow.</a></li>
<li><a href="#">Allow users to update their profiles.</a></li>
<li><a href="#">Centralize profile data into one authoritative view of the user.</a></li>
<li><a href="#">Create and store profile information for any number of users.</a></li>
<li><a href="#">Customize your user profile to store any number of attributes.</a></li>
<li><a href="#">Register new users with built-in on-boarding workflow.</a></li>
<li><a href="#">Allow users to update their profiles.</a></li>
<li><a href="#">Centralize profile data into one authoritative view of the user.</a></li>
</ul>
</div>
</div>
</div>
{% include footer.html %}
32 changes: 32 additions & 0 deletions _layouts/docs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{% include header.html %}
<div class="container-features docs-page">
<div class="row features-border nopadding">
<div class="col-xs-3 left-sidebar mrg-top-20">
<div class="fixed" id="sidebar">
</div>
</div>
{% assign count = '0' %}
<div class="col-xs-8 white-bg">
{% for current_folder in site.folder_priority %}
<span class="hide page_block_name" data-block="{{ current_folder.text }}">{{ current_folder.text }}</span>
{% for my_page in site.pages %}
{% if my_page.category == current_folder.text %}
{% for priority in (1..20) %}
{% if my_page.position != 'nav' %}
{% if my_page.priority == priority %}
<div id="section-{{count}}" class="twocolordiv">
<div class="text">
{{ my_page.content | markdownify }}
</div>
</div>
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div> <!-- /.container-narrow -->
</div>
</div>
{% include footer.html %}
Loading

0 comments on commit 256e9e2

Please sign in to comment.