Skip to content

Commit

Permalink
Added json doc url to Home
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Oct 2, 2020
1 parent 12c53cb commit 914b58e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
</div>

<div class="tab" section="json">
<button href="::jsonDocUrl::"><span class="icon manual"></span> Open JSON structure documentation</button>
<div class="markdown" id="jsonChangelogHtml"></div>
<div id="jsonChangelogMd" class="rawMarkdown">::jsonChangelog::</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src.renderer/Const.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Const {
public static var WEBSITE_URL = "https://deepnight.net/tools/led-2d-level-editor/";
public static var DOCUMENTATION_URL = "https://deepnight.net/docs/led/";
public static var ISSUES_URL = "https://github.com/deepnight/led/issues";
public static var JSON_DOC_URL = "https://github.com/deepnight/led/blob/master/JSON_DOC.md";
public static var POINT_SEPARATOR = ",";

public static var JSON_HEADER = {
Expand Down
1 change: 1 addition & 0 deletions src.renderer/page/Home.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Home extends Page {
app: Const.APP_NAME,
appVer: Const.getAppVersion(),
deepnightUrl: Const.DEEPNIGHT_URL,
jsonDocUrl: Const.JSON_DOC_URL,
docUrl: Const.DOCUMENTATION_URL,
websiteUrl : Const.WEBSITE_URL,
issueUrl : Const.ISSUES_URL,
Expand Down

0 comments on commit 914b58e

Please sign in to comment.