Skip to content

slee-okta/okta.github.io

 
 

Repository files navigation

Okta Developer Site

Okta developer site (developer.okta.com) is a custom Jekyll site deployed on GitHub pages

All API documentation submissions are welcome. To submit a change, fork this repo, commit your changes, and send us a pull request

Setup

http:https://jekyllrb.com/

  1. Clone repository
  2. ~ $ gem install github-pages or bundle install'` if you use bundler
  3. ~ $ cd okta.github.io
  4. ~ $ jekyll serve -w -t
  5. Change CNAME with the right subdomain
  6. Visit http:https://localhost:4000 in your browser

Authoring Guide

Pages

Pages are single purpose html or markdown files

  1. Create a folder with index.html file. (e.g. pricing/index.html)
  2. Author front matter as follows:
---
layout: page
title: YOUR_TITLE
css: CSS_FILENAME.css (optional page specific css file)
---
  1. Put html or css content under front matter
  2. Expose link to page in header or elsewhere. URL will be the folder name, index.html is not necessary (e.g. /pricing)

Docs

  1. Create PAGE_NAME.md in docs/FOLDER_NAME (e.g. docs/api/rest/users.md)
  2. Filenames are underscore seperated and all lowercase. (e.g. my_cool_doc_page.md)
  3. Author front matter
---
layout: docs_page
title: Title Case Name of Page
---
  1. The content under the front matter should not have any h1s - this will be set by the title property
  2. All h2s in the content will be rendered as a link in the table of contents
  3. Create placement entry in manifest at _data/docs.yml in appropriate pages section.
  4. The pages name must match the filename without extension. (e.g. users.md => users)
  5. To create a new section in the manifest
section: NAME_OF_FOLDER
title: TITLE_CASE_NAME_OF_SECTION
  1. The sections structure should follow the folder names
  2. The ordering of sections and pages in the manifest determines the order in which they appear in the leftnav

Customers

  1. Create an index.md folder in customers/CUSTOMER_NAME (e.g. customers/box/index.md)
  2. Create the images:
`index_image`:     220px x 165px @144dpi  // image used on index page
`header_image`:   1080px x 220px @144dpi  // title bar image on story page
`diagram_image`:   694px x <n>px @144dpi  // information graphic at bottom of story page
  1. Author front matter
`index_blurb` will be clipped over three lines of text
`sidebar_copy` will be markdownified. Newlines sohuld be doubled.

Authors

  1. Create an entry in _data/authors.yml
  2. Put avatar image in assets/img. Make sure aspect ratio of image is square.

About

Okta Identity Platform API Docs and Developer Home

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 57.7%
  • JavaScript 32.2%
  • Classic ASP 5.7%
  • PHP 4.3%
  • Ruby 0.1%