Xinyu Zhou
563945c50c
Refactor docs ( #21627 )
...
This patch:
- Rename some files( `.md` to `.en-us.md`), fix missed translation copy
- Update link which shoud be refer to `../hacking-on-gitea/` instead of
`../make/` (outdated)
- Update `_redirects`:
- redirect `/{zh-cn|fr-fr}/make/` to `../hacking-on-gitea/`
- redirect `/zh-cn/third-party-tools/` to `/zh-cn/integrations/`
- Delete duplicated/outdated files.
- Update menu `weight` of developers.zh-cn.md
Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2 years ago
silverwind
ae52df6a64
Add markdownlint ( #20512 )
...
Add `markdownlint` linter and fix issues. Config is based on the one
from electron's repo with a few rules relaxed.
2 years ago
Patrick Schratz
af79677a44
Reformat docs ( #13897 )
...
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
6543
e7b47c5215
Format files ( #13698 )
...
* align "make help"
* format
* untouch build/generate-svg.js
* untouch .eslintrc
* combine editorconfig's
* rm editorconfig
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
John Olheiser
28216bde46
More expansions in template repositories ( #10021 )
...
* Super expansion
* Explain which features are in 1.11 vs 1.12
* Move imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
John Olheiser
15a5c10d33
Variable expansion in repository templates ( #9163 )
...
* Start expansion
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* _template rather than .template
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Use ioutil
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add descriptions to mapping
* Start globbing
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Tune globbing
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Re-arrange imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Don't expand git hooks
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add glob tests for .giteatemplate
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Parse globs separately so they can be tested more easily
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Change template location and add docs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* nit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update docs/content/doc/features/gitea-directory.md
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Update docs/content/doc/features/gitea-directory.md
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add upper-lower case match
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Nits
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update models/repo_generate.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago