This is the repo of the Overwolf Developers website - API Documentation, guides, etc. This is intended as a quick reference and showcase.
NOTE that It will be about 2 minutes before a content change takes effect
- Search box configuration
- Markdown cheet-sheet
- Create local dev environmen
- Edit an existing page
- Add a new page
- Add a new game events status page
- Your search onfiguration can be configured through the DocSearch file in the Algolia GitHub repository.
Please open a pull request if you want to leverage our Docusaurus search configuration. - To customize the look and feel of the search box follow the DocSearch documentation.
You can find our markdown cheet-sheet here.
Basically you can do all the Docusaurus content edits directly from the GitHub web interface. But if you want to install a local version of the site, you can find all the details here.
On every page there is an "Edit" button on the right side of the page.
You can click on it, edit the page, and suggest the change as a pull request. The Overwolf team will review it, and merge it after confirmation.
In order to add a new page, you should:
-
Create a new file with a
md
(markdown) extension.
Make sure to add it in the right section/folder (api, support, getting-started etc). -
Add a page ID block on the top of your page. An example:
---
id: dev-console-update //unique identifier, the page URL. no spaces
title: this is the main page header
sidebar_label: this is the menu title
---
- Add the new page ID as a new entry in the website\sidebars.json file.
make sure to add it in the right location. You can use these docs template as a baseline for new pages:
In order to list a game in the game events status page, you should follow these steps:
-
Create new MD file in this folder. For example:
\docs\status\teamfight-tactics.md
.
The template should be like the other files in that folder. Don't forget to change the GameID. -
Add the new page to the site menu:
website\sidebars.json
.
You should place it underService\Games Events Status
section. -
Open the file
website\static\js\games_metadata.js
and add a record for the new file that you just created.