Skip to content

Commit

Permalink
docs: move to mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Dalton authored and Jordan Dalton committed Oct 21, 2021
1 parent dc47822 commit b0eafa7
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .versionrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"header": "---\nlayout: default\ntitle: Changelog\nnav_order: 9999\nparent: LiveMap Resource\n---\n# Changelog\n",
"header": "# Changelog\n",
"commit-all": true,
"releaseCommitMessageFormat": "chore(release): v{{currentTag}}",
"infile": "docs/CHANGELOG.md",
Expand Down
6 changes: 0 additions & 6 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
layout: default
title: Changelog
nav_order: 9999
parent: LiveMap Resource
---
# Changelog

## [3.2.0](https://github.com/TGRHavoc/live_map/compare/v3.1.4...v3.2.0) (2021-10-20)
Expand Down
7 changes: 0 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
---
layout: default
title: LiveMap Resource
has_children: true
permalink: /livemap-resource
---

# LiveMap Resource (for FiveM) <!-- omit in toc -->
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-)
Expand Down
17 changes: 6 additions & 11 deletions docs/config.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
---
layout: default
title: Configuration
nav_order: 1
parent: LiveMap Resource
---

# Configuring the resource
## Convars
The following convars are available for you to change.

Expand Down Expand Up @@ -78,7 +72,8 @@ Sets the domain that is allowed to access the blips.json file.

E.g. "https://example.com" will only allow the UI on http://example.com to get the blips), "*" will allow everyone no matter the domain.

> **Note**: Only use "*" if you don't mind _anyone_ being able to access your
> player's data and your blip data.
> It is recommended that you set this to your own website.
{: .fs-3}
!!! info "Note"

Only use "*" if you don't mind _anyone_ being able to access your
player's data and your blip data.
It is recommended that you set this to your own website.
7 changes: 0 additions & 7 deletions docs/events.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
---
layout: default
title: Events
nav_order: 2
parent: LiveMap Resource
---

# Events / API <!-- omit in toc -->

- [Client to server](#client-to-server)
Expand Down
7 changes: 0 additions & 7 deletions docs/license.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
---
layout: default
title: License
nav_exclude: true
parent: LiveMap Resource
---

GNU General Public License
==========================

Expand Down
8 changes: 8 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
site_name: livemap_resource

nav:
- 'README.md'
- Configurtion: "config.md"
- Events: "events.md"
- Changelog: 'CHANGELOG.md'
- License: "license.md"

0 comments on commit b0eafa7

Please sign in to comment.