- This is the official handbook for Vanilla OS. It contains tutorials, guides and other information to help you get the most out of your Vanilla OS installation.
- Thank you for your interest in our project. This guide will help you with writing and translating articles.
- The Handbook uses Jekyll, GitHub pages for generating the website.
- Handbook progress with a to-do list is present at our GitHub Project.
- If you want to write a guide for the handbook, add the
new article to the
_posts
directory. - The filename must be in the format
YYYY-MM-DD-title.md
. - Add your GitHub username along with the co-authors' in the author field to have working links when the post is published.
- Set the layout as
article
. - Headings must follow a proper hierarchy.
- See markdownlint for markdown best practices.
- The guide must use the following structure at the beginning:
---
title:
description:
date: YYYY-MM-DD
layout: article
authors:
- 1st author GitHub username
- 2nd author GitHub username
- ...
---
- Add the link to your article in all
index
files with English titles and descriptions. - The links in the
index
file will be replaced by the translated version of the page later. - Once you have ensured everything looks correct, open a new pull request for the guide.
Note: Currently translation pages aren't displayed by default although direct links are available we are planning to implement a better solution to deal with languages in future.
- Refer to this page for language codes.
- Create a directory named
_posts.ab
, whereab
is your language code. - Create an index file named
index.ab.md
, whereab
is your language code. - Initially link the articles in the
index
to English pages in the_posts
directory. When a translated page gets added, replace the current link with the translated page link in the respective_posts.ab
directory, whereab
is your language code.
- If you want to translate an existing guide to your native language, you can add the translated
article to the
_posts.ab
directory, whereab
is your language code. - The filename must be in the format
YYYY-MM-DD-title.md
. Don't translate the layout and author names to your native language. - Add your GitHub username in the translated article along with the original author names.
- Replace the link in
index.ab
with your translated page, whereab
is your language code. - Once you have ensured everything looks correct, open a new pull request for the translated guide.
- You can install Jekyll from this page and Bundler can be installed from this page.
- Clone your forked repository using
git
orgh
. - Add the guide to the correct destination in the cloned directory.
- Run
bundler install
to install necessary packages (this step must be done only once). - Run
bundler exec jekyll build
to build the page to./_site
once. Then you can either test the pages manually or use thejekyll serve
command. - Run
bundler exec jekyll serve
to build your site any time a source file changes and serve it locally.- Navigate to
http://127.0.0.1:4000/
orhttp://localhost:4000/
in your browser to preview and test the page.
- Navigate to
- Now, commit the changes using
git
and create a PR in GitHub.
Discussions regarding the handbook are done in the official Discord server in #docs-writing
, and for Discussions regarding translations go to the #translations
channel.