pagename | description | layout | type | permalink |
---|---|---|---|---|
Discord_Fork README.md file |
Information about the Discord_Fork application and software |
docs |
docs |
/docs/readme/ |
Add your bot via the E-Zed editor or via GitHub
NOTE: Please do not complain over how bad the site is made, this is mostly made as a way to be more unique and prove that a list site can possibly be made with Jekyll.
- Ruby 2.4 or above - https://rubyinstaller.org/downloads/
- jekyll & bundle - https://jekyllrb.com/
- sass & scss_lint - Ruby Packages (gem install)
- Node.js 10.x
OR
- Netlify
bundle exec jekyll serve
Testing website locally with localhost (Port 4000 is default)
scss-lint
Check if your source code is linter friendly (SCSS only)
webpack --watch
Build all JavaScript files into a single file
You will require some kind of Linux. I prefer Ubuntu 18.04. Windows users may wish to use the Windows Subsystem for Linux.
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y build-essential ruby-full ruby-bundler nodejs
npm i
# run both simultaneously
bundler exec jekyll serve
webpack --watch
Follow me
Edit _data/links.yml
to point to the auth server.
Pages within the _pages folder should not have a "French" copy.
These need to use the `desc_code` front matter to use a new description within the `_data/:lang/descriptions.yml` file
Pages within the _bots, _docs and _servers folder can have a subfolder with the language
The language of the page needs to be placed in the front matter, like
---
pagename: wow
github:
owner: Terminal
repo: Discord_Fork
lang: fr
---
Copies of the same language do not pass information between each other.
For example, if you have an English file, the front matter needs to be copied into the French file, with changes to the description and page name for language differences
All translations for the website itself, and not user generated content (and documentation) should be in the _data/:lang folder.
Translators need to go through all .yml files.
Am I a terrible person?
Yes