Commit Graph

7 Commits (d769b664dedb5f63b73146b58b21c0a772c2630d)

Author SHA1 Message Date
wxiaoguang e71b69257c
Breaking summary for template refactoring ()
https://github.com/go-gitea/gitea/pull/29395
wxiaoguang fb42972c05
Rename Str2html to SanitizeHTML and clarify its behavior ()
Str2html was abused a lot. So use a proper name for it: SanitizeHTML

And add some tests to show its behavior.
wxiaoguang f9207b0947
Refactor Safe modifier ()
After this PR: no need to play with the Safe/Escape tricks anymore. See
the changes for more details.
silverwind b96fbb567c
Enable markdownlint `no-trailing-punctuation` and `no-blanks-blockquote` ()
Enable these two and fix issues.
Mike Cifelli 8ef53c871b
Update golang links to use https ()
Many of the golang links point to the old site and don't use https. This
pull request updates these outdated links to https://go.dev .

https://github.com/go-gitea/gitea/issues/28979
Lunny Xiao 476b9d1589
Use docs.gitea.com instead of docs.gitea.io ()
John Olheiser bd4c7ce578
Docusaurus-ify ()
This PR cleans up the docs in a way to make them simpler to ingest by
our [docs repo](https://gitea.com/gitea/gitea-docusaurus).

1. It includes all of the sed invocations our ingestion did, removing
the need to do it at build time.
2. It replaces the shortcode variable replacement method with
`@variable@` style, simply for easier sed invocations when required.
3. It removes unused files and moves the docs up a level as cleanup.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>