User-made documentation for GooseMod
Find a file
2021-03-25 15:01:31 +01:00
_includes/extra Add custom styling 2021-03-04 12:31:42 +01:00
module-development Updated custom field link in module settings 2021-03-25 15:01:31 +01:00
.gitignore Jekyll and repo setup 2021-03-04 01:43:12 +01:00
404.md Jekyll and repo setup 2021-03-04 01:43:12 +01:00
_config.yml Add custom styling 2021-03-04 12:31:42 +01:00
Gemfile Jekyll and repo setup 2021-03-04 01:43:12 +01:00
Gemfile.lock Jekyll and repo setup 2021-03-04 01:43:12 +01:00
index.md Jekyll and repo setup 2021-03-04 01:43:12 +01:00
LICENSE Updated references and added LICENSE. 2021-03-05 17:25:16 +01:00
README.md Updated references and added LICENSE. 2021-03-05 17:25:16 +01:00

Documentation

User-made documentation for GooseMod.

View the documentation.

Adding content

To add content to this documentation, first fork it to have your own copy of the repo. Clone your fork and make your edits there.

To add a page, add a MarkDown .md file to one of the categories (eg: module-development/).

You can also add your own category by adding a directory with a README.md file inside, that describes what your category is about and lists the category's files by adding this line:

{% include list.liquid all=true %}

By default Jekyll will pull the first title as the page's title, but that can be overwritten with front matter at the top of your page:

---
title: Your title
# other front matter definitions
---

To sort a category's pages, add a sort property to the pages' front matter section:

---
# other front matter definitions
sort: <number>
---

Updating the documentation website

Before pushing your edits to the documentation, you may want to see what they look like. To do so, you need to:

  • have a local Ruby environment
  • install the bundler and jekyll gems gem install bundler jekyll
  • install this project's specific requirements: bundle install (or bundle update if you already built it before)
  • run Jekyll: bundle exec jekyll serve
  • open the address that is returned on the terminal in your browser (usually http://127.0.0.1:4000/)

To push your modifications to the documentation, push your modifications to your fork and submit a pull request to this one.

No particular operation is needed, Github Pages will update the documentation's website whenever commits are pushed to this repo.

Additional resources