Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Update to link new website + use new wiki repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed Jan 4, 2020
1 parent 54cd817 commit 4fecc43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docute-landing.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
const landing = {
html: `
<div id="landing" class="main content markdown-body">
<div style="text-align: center">
<h3>We've moved! You can visit the new EssentialsX website at <a href="https://essentialsx.cf">essentialsx.cf</a>.</h3>
</div>
<hr />
<p><img src="https://camo.githubusercontent.com/9ad178e5cf76a372d6aaee8bbdf13485fbc1d51b/68747470733a2f2f692e696d6775722e636f6d2f435034535a70422e706e67"></img></p>
<p><i>The official EssentialsX site.</i></p>
<section>
Expand Down
7 changes: 4 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ axios.defaults.baseURL = corsAnywhere + mainCI;
//const dlPage = window.dlPage;

docute.init({
url: "https://raw.githubusercontent.com/wiki/EssentialsX/Essentials/",
home: "https://raw.githubusercontent.com/wiki/EssentialsX/Essentials/_DocuteHome.md",
url: "https://raw.githubusercontent.com/EssentialsX/wiki/master/",
home: "https://raw.githubusercontent.com/EssentialsX/wiki/master/_DocuteHome.md",
landing,
tocVisibleDepth: 3,
disableSidebarToggle: true,
Expand All @@ -33,7 +33,8 @@ docute.init({
},
{ title: "Common Issues", path: "/Common-Issues" },
{ title: "Issue Tracker", path: "https://github.com/EssentialsX/Essentials/issues" },
{ title: "Discord", path: "/Discord-Rules" }
{ title: "Discord", path: "/Discord-Rules" },
{ title: "New Website", path: "https://essentialsx.cf" }
],
plugins: [
docuteWikilink,
Expand Down

0 comments on commit 4fecc43

Please sign in to comment.