-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docs: add Edit this page
#21981
docs: add Edit this page
#21981
Conversation
Update theme: https://gitea.com/gitea/theme/pulls/116 Signed-off-by: Xinyu Zhou <i@sourcehut.net>
docs/config.yaml
Outdated
@@ -23,6 +23,8 @@ params: | |||
goVersion: 1.19 | |||
minNodeVersion: 14 | |||
search: nav | |||
github_doc_repository: "https://github.com/go-gitea/gitea" | |||
github_doc_repository_path: "docs/content" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be renamed to repo
and docContentPath
? I think it would be more fitting. camelCase to follow existing vars.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. please review https://gitea.com/gitea/theme/pulls/116
Does this PR also require the partial, like was done in the theme repo? Docs build is failing in CI. |
yup it looks like something is missing:
|
make L-G-T-M work |
* giteaofficial/main: docs: add `Edit this page` (go-gitea#21981) refactor some functions to support ctx as first parameter (go-gitea#21878) Remove deprecated packages & staticcheck fixes (go-gitea#22012) Add pnpm to packages/overview (go-gitea#22008) Update to Alpine 3.17 (go-gitea#21904) Update gitea-vet to check FSFE REUSE (go-gitea#22004) Multiple improvements for comment edit diff (go-gitea#21990) Remove session in api tests (go-gitea#21984) Remove duplicate "Actions" label in mobile view (go-gitea#21974) Fix generate index failure possibility on postgres (go-gitea#21998) Use path not filepath in template filenames (go-gitea#21993) Update chroma to v2.4.0 (go-gitea#22000) Util type to parse ref name (go-gitea#21969) Skip initing LFS storage if disabled (go-gitea#21996) Fix parallel creating commit status bug with tests (go-gitea#21911) Skip initing disabled storages (go-gitea#21985) Fix leaving organization bug on user settings -> orgs (go-gitea#21983) Fix typos (go-gitea#21979) Normalize `AppURL` according to RFC 3986 (go-gitea#21950)
Update theme to support
Edit this page
:https://gitea.com/gitea/theme/pulls/116
Screenshot:

Signed-off-by: Xinyu Zhou i@sourcehut.net