You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/docs
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569)
This enabled HTTP time-based cache for storage assets, primarily
avatars. I have not observed If-Modified-Since from browsers during
tests but I guess it's good to support regardless.

It introduces a new generic httpcache module that can handle both
time-based and etag-based caching.

Additionally, manifest.json and robots.txt are now also cachable.
4 years ago
..
assets/js Modernize docs/assets/js/search.js (#10621) 5 years ago
content HTTP cache rework and enable caching for storage assets (#13569) 4 years ago
layouts Add node version variable to docs (#10620) 5 years ago
scripts
static Refactor docs (#13275) 4 years ago
.editorconfig
.gitignore Implement documentation search (#8937) 5 years ago
LICENSE
Makefile release docs as an archive (#12243) 5 years ago
README.md
README_ZH.md update discord link (#10455) 5 years ago
config.yaml latest version is 1.12.5 (#13005) 4 years ago

README.md

Gitea: Docs

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

Hosting

These pages are hosted using netlifycms and get automatically updated on every push to the master branch.

Install

These pages use 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>