Just a tiny change to save someone some time while reading the docs. I got lost in the angular code and npm packages trying to reverse engineer it and figure out what setting controlled this file limit: ![image](https://user-images.githubusercontent.com/7119703/134829716-8f587878-21a3-413b-ba1e-c2bbe9391ad2.png) Eventually I tracked it down fromb74a0f9060/options/locale/locale_en-US.ini (L2776)
tob74a0f9060/templates/repo/upload.tmpl (L11)
tob74a0f9060/web_src/js/index.js (L1043)
tob74a0f9060/web_src/js/features/dropzone.js (L3)
to https://www.npmjs.com/package/dropzone and then I realized I can't read 😅, back tob74a0f9060/templates/repo/upload.tmpl (L8)
and quickly solved it from there!!b74a0f9060/modules/upload/upload.go (L81)
Yes I know this long path was 90% me failing to read code properly and going on a red herring journey... but point is we should not have to do this in the first place to know how to configure this file upload form 🥺 👉 👈
Gitea: Docs
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
Copyright (c) 2016 The Gitea Authors <https://gitea.io>