Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.24 KB

CONTRIBUTING.md

File metadata and controls

64 lines (48 loc) · 2.24 KB

Contributing

To add a lab:

  1. Fork this repository so you can make local changes.

  2. Create a new directory under the /labs directory in this repo. For example:

/labs/new-awesome-tutorial
  1. Insert your content in a README.md file. For example:

In: /labs/new-awesome-tutorial/README.md

# Tutorial
This is the whole tutorial!

If you are creating new content, use the new-content README.md template.

If you are linking to existing content, use the link-to-existing README.md template.

Note: If you include any links or screenshots in your post, ensure the link is an absolute url rather than a url that points to a relative location on this repository. You can convert any relative link to this repository to an absolute link by prefixing the relative link with https://raw.githubusercontent.com/optimizely/labs/master/ for images and https://github.com/optimizely/labs/master/ for any other content. For example: a relative link to ./templates/new-content/README.md would become: https://github.com/optimizely/labs/blob/master/templates/new-content/README.md

  1. Add a metadata.md file to contain metadata about your tutorial following the metadata template.

For example, in: /labs/new-awesome-tutorial/metadata.md:

---
title: 'Awesome Tutorial'
summary: 'Description of the awesome tutorial'
revisionDate: '2020-03-16'
labels:
  - data

excludeFromListing: true

author:
  name: Asa Schachar
  headshot: '/assets/authors/asa.jpeg'
  bio: ''
  title: ''
  company: ''

seo:
  title: ''
  description: ''
  ogTitle: ''
  ogDescription: ''
  ogImage: '/assets/images/enriched_events.png'
  twitterImage: ''
  noindex: false
---
  1. Submit your changes as a pull request to get reviewed and merged by the Optimizely team.

  2. Once the pull request is merged, your lab will be available at www.optimizely.com/labs/new-awesome-tutorial

  3. Tweak your content to make sure everything looks as you want it to.

  4. Once it is ready to be featured on the main page, make a separate pull request to set excludeFromListing to false in metadata.md which will publish the lab on the main optimizely.com/labs page.

  5. Profit 🎉