Permalinks and fixes and conversions to several pages #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR aims at doing some fixes and conversions.
Details:
"Welcome to Hercules"
Links were fixed, and the few extras that were in "Main Page" content was merged into it
Preview
"Main Page" removed.
This page represented the home of the old wiki ( https://wiki.herc.ws/wiki/Main_Page ). It is basically the same as "Welcome to Hercules" + Links, so I migrated a few things to "Welcome to Hercules" and deleted it
Enabled "Permalink" option
This gives every header a little "anchor" icon so we can share specific sections
Preview
Replicated external-linked images into the repo
There were some images uploaded by me and Annie that were linked somewhere else on Github (because Github wiki doesn't allow image upload). I've downloaded those and the repo now stores the images.
Converted "Basics" and "Overview" sections to Markdown
Most of it was done using Pandocs (more on that later), and a few manual adjustments. So it may not be perfect.
Added Discord link to "Support" info in "About" page
Removed non-Hercules pages in "Basic" section
There were some pages that were not related to herc (Nexus, Multi Realm, and other things)
Converted links to herc that were using http to https
Pandocs conversion
All the files above were converted using Pandocs, a tool made to convert between formats. Since most pages were still fully Mediawiki text, it did a pretty good job, but not perfect.
Most notable, page links and wikipedia links usually breaks. I fixed some with RegEx, but there are certainly others that are still broken.
I simply did a quick look over the converted content, so I will leave other links to be fixed as we go.
The following command was used: