lmachens / overwolf.github.io

The Overwolf Developers website - API Documentation, guides, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read Me

This is the repo of the Overwolf Developers website - API Documentation, guides, etc. This website is intended to serve as a quick reference and showcase.

NOTE that It will be about 5 minutes before a content change takes effect

Reference

Create a local dev environment

For as long as you simply wish to edit raw page content text, you can do all of your content edits directly from the GitHub web interface. Do mind the fact that markdown can be finnicky at times, so make sure your edits look exactly the way you want them to.

If you want to edit things more intricately, or to preview the website locally, you can follow the steps listed in here.

Markdown cheat-sheet

You can find our markdown convention best practices cheat-sheet here.

Edit an existing page

On every page there is an "Edit this page" button on the right side of the page, as well as at the bottom of the page.

You can click on it, edit the page, and suggest the change as a pull request. The Overwolf team will then review it, and merge it if the change is deemed to be of value to readers.

Add a new page

In order to add a new page, you should:

  1. Choose where the page should fit within the website. The sidebar structure of the website directly corresponds to the file hierarchy.
  2. Create a new file with the .mdx file extension in the right place.
  3. Add a page ID block on the top of your page. An example:
---
id: readme // unique identifier, the page URL. no spaces
title: README.TXT
sidebar_label: READ ME // try to avoid using sidebar_label, unless otherwise specified by the closest readme to your target location in the file hierarchy.
---
  1. You can use these docs templates as a baseline for new pages:

About

The Overwolf Developers website - API Documentation, guides, etc.


Languages

Language:MDX 85.9%Language:TypeScript 9.3%Language:SCSS 3.5%Language:JavaScript 1.2%Language:CSS 0.1%Language:HTML 0.0%