mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-16 21:23:02 -05:00
Documentation of Web-UI for end users #7297
Closed
opened 2025-11-02 07:22:22 -06:00 by GiteaMirror
·
9 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v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1
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
No Label
type/docs
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#7297
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rk-mlu on GitHub (May 5, 2021).
Description
Dear Gitea developers,
I am a member of an admin team which is responsible for running a Gitea instance to collaborate on projects on a department level at a university. In the wake of the pandemic our user base has increased considerably, and the use cases have developed far beyond our initial intentions to jointly develop code or to write LaTeX documents etc. While we are happy with this development, the increased number of inexperienced Git(-ea) users has also come with some additional obstacles.
Many of our new users do not have any pre-existing experience with other Git environments such as GitHub, GitLab etc. While we are busy in teaching/training them how to use git and integrate it in their workflow, we also received several notifications that the help function of the web UI is often causing frustration, especially, for new users.
For instance, if I click on my avatar in the upper right corner, I am offered a help button, which leads to the Gitea documentation. As an admin, I am quite happy with these docs. However, these pages are not exactly what a first time Git/Gitea user is usually expecting. While we are, of course, offering internal training measures, I have the feeling that the user experience, especially for Git/Gitea newcomers, could be improved without much effort.
My suggestion is: If I click on the 'Help' button as a standard user (it might be different for admins of course), I should be referred to a page which contains some rather basic information about Git and Gitea. For example:
It is my feeling that the index page of the [Gitea documentation] is intended for a different audience (mostly admins) and does not serve the purpose well to guide new users.
Many thanks for considering this issue!
Screenshots
@techknowlogick commented on GitHub (May 5, 2021):
https://docs.codeberg.org/ probably has some things that may be helpful to you
@rk-mlu commented on GitHub (May 5, 2021):
@techknowlogick Yes, exactly! Many thanks for the reference.
Another nice resource for git beginners is, for instance, oh-my-git.
It would be nice if the gitea default help page includes a small (reliable) collection of such external resources to get people started, who are not git/gitea experts yet.
@fnetX commented on GitHub (Jun 14, 2021):
Hey there,
we at Codeberg are working on a documentation for end-users, and we are usually considering keeping it generic to Gitea as much as possible (Also, we don't touch Gitea core parts, but it might be worth a discussion if links to additional topics like Pages / CI or maybe disabled features are too confusing to end users).
What about officially linking to this resource as end-user guide for Gitea to save duplicated work?
Also, currently many help links in Gitea link to GitHub, and downstream discussed already to replace them, so we could also swap out the GitHub links to Codeberg ones for that matter.
We'll probably do the work anyway, the big question is if we should care about being more generic and landing it in Gitea, or targeting just Codeberg.
@lunny commented on GitHub (Jun 15, 2021):
Thank you for your consideration. The end-user documentation is one of the important parts which Gitea missed. I think Gitea should build one and link to the official https://docs.gitea.io. And also the Gitea's documentation should have a similar style with current design.
@fnetX commented on GitHub (Jun 15, 2021):
The point is: We're doing the work, you have an open issue. We can replace the links for now, which is better than linking to GitHub IMHO. You can still create your own docs if you feel the need later. Also, you can copy content from the Codeberg Docs once you are starting your work, it's CC-BY-SA.
@noerw commented on GitHub (Sep 13, 2022):
docs.codeberg.org is really valueable ❤️
I think having these docs bundled with each gitea install would be a good way to go about this. Then instances can customize the content via templates & have it themed as the gitea instance itself, and linking to docs from the web-UI wouldn't risk broken links as much.
My only doubt about this is the increased maintenance burden with keeping these docs up to date. The current gitea admin docs are under-maintained already -- I'm not sure the gitea project currently could maintain quality for even more docs. This would require either a shift of attitude wrt documentation by the current maintainers, or new maintainers for those docs (I'd be up for it, but only have time occasionally so can't pull it off alone)
Further thoughts:
Templates for this content should be designed with extensibility in mind.
In the long run, codeberg docs could be switched over to use the builtin docs, extended with docs for their own offerings — stopping the current praxis of outsourcing the documentation maintenance burden to codeberg. @fnetX what do you think? I assume you want to avoid having docs in multiple places (i.e. generic gitea docs here and your custom docs there)?
For a practical example, assuming a similar layout as the current docs.codeberg.org site: There would be a
$custom/templates/docs/sidebar.tmplthat includes a$custom/templates/docs/sidebar_local.tmpl(or similar) at the bottom, which could be used to include other templates, avoiding the need to diff changes to the main template when updating gitea.It would be useful if custom doc content was authored in markdown instead of go-template syntax (for reusability with static site generators, or gitea / github rendering). Having markdown source would mean that this content can't live in
$custom/templates/docs/*.tmpl, but in[docs] CUSTOM_DIR. If that dir is set to be a checkout of a gitea repo, this would even enable the workflow of managing docs content within the gitea instance itself.<Maybe the latter part is a bit too complicated for a use case very few orgs would use.
@fnetX commented on GitHub (Oct 5, 2022):
@noerw thank you for the comment, I agree. I read it in my emails earlier and wanted to reply quicker, but I was logged out of GitHub and too lazy to sign in again (I only use it for the Gitea issue tracker, so ...)
+1 also for bundling the docs with each Gitea installation, links within Gitea could point to the internal URL, solving privacy issues as well as confusion for end users about which version to look for.
At Codeberg, we're somewhat familiar with Gitea itself. If our official "deployment" of the docs is a patch to our Gitea fork, it should be somewhat easy to sync them back to Gitea from time to time. Since we're already taking the efforts, I'm all for merging this. And we wouldn't need to maintain our own generator any more.
Let me think about some practical approaches to this, but count me in. I somehow propose to store the docs in a separate repo and pull them in while building Gitea, if this is possible. I think that Gitea maintenance is already too busy. It could indeed be outsourced to a few independent people (e.g. even non-coders) to maintain the docs, and only connect before a release to ensure the docs are up2date.
@fnetX commented on GitHub (Nov 5, 2022):
Hello everyone,
during the Codeberg hackathon these days, we're taking the effort to try and upstream our documentation.
This means:
The effort can be followed in: https://codeberg.org/Codeberg/Gitea-Documentation/
@lunny commented on GitHub (May 25, 2023):
Since now the new documentations splited
administrationandusage. I think we can close this and PRs are welcome for end users underusage.