forgejo/docs
Alberto González Palomo 18bb0f8f13 Ensure docs makefile downloads theme if failed before. (#3322)
The makefile did not download the theme if the directory "themes/gitea"
is there, even if empty.
On a fresh Ubuntu install, curl is not included, so the theme rule fails
just after creating the empty directory. When you try again after
installing curl, the rule is not triggered.

This could also happen if the download fails for other reasons.

This change makes the theme rule depend on the file "theme.toml"
which will be there only after unpacking a successfully downloaded
theme archive.

Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
2018-01-07 14:11:17 +02:00
..
content Add defaults to config cheatsheet, and minor language cleanup. (#3290) 2018-01-06 22:15:14 +02:00
docker French translation for docs (#3030) 2017-11-30 20:45:48 +08:00
layouts
scripts French translation for docs (#3030) 2017-11-30 20:45:48 +08:00
static
.editorconfig
.gitignore
config.yaml French translation for docs (#3030) 2017-11-30 20:45:48 +08:00
Dockerfile Fix master build for docs docker (#3004) 2017-11-29 00:17:23 +02:00
LICENSE
Makefile Ensure docs makefile downloads theme if failed before. (#3322) 2018-01-07 14:11:17 +02:00
README.md

Gitea: Docs

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg

Hosting

This page is hosted on our infrastructure within Docker containers, it gets automatically updated on every push to the master branch.

If you want to host this page on your own you can take our docker image gitea/docs.

Install

This pages uses the Hugo static site generator. If you are planning to contribute you'll want to download and install Hugo on your local machine.

The installation of Hugo is out of the scope of this document, so please take the official install instructions to get Hugo up and running.

Development

To generate the website and serve it on localhost:1313 just execute this command and stop it with Ctrl+C:

make server

When you are done with your changes just create a pull request, after merging the pull request the website will be updated automatically.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>