> For the complete documentation index, see [llms.txt](https://wiki.libreelec.tv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.libreelec.tv/development/website.md).

# Website

how to edit the website

## Installation

#### Ubuntu dependencies

`sudo apt install ruby-full make gcc gpp build-essential zlib1g zlib1g-dev ruby-dev dh-autoreconf`

#### Update gem packages

`sudo gem update`

#### Install Gem bundler

`sudo gem install bundler`

#### Clone the website

`git clone https://github.com/LibreELEC/website.git`

#### Install Jekyll

`cd /path/to/git/website/`

`bundle install`

## Run the website from Linux

Run the command from the cloned website folder.

`bundle exec jekyll serve --livereload --unpublished --incremental`

## Run the website from Windows (WSL2)

It is possible to run Ruby natively in Windows but this is difficult to do. So in our example we just run it at WSL and bypass all those problems.

Run the command from the cloned website folder.

`bundle exec jekyll serve --force_polling --livereload --unpublished`

![](https://2659664661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAdvk5nyUZ57Kqgd94Z%2Fuploads%2FVWnFfCo8lxyl8VsXoJln%2Fwsl-website.png?alt=media\&token=899a69b5-9bb9-4990-818a-d4fee902ec19)

## Display the website

After starting the server the website is autogenerated at every change excluding changes at `_config.yml` and `packages.json` that requires a restart of the server.

The website is now located at [http://127.0.0.1:4000/](http://127.0.0.1:4000) .


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.libreelec.tv/development/website.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
