"Edit this page" broken #88

Closed
opened 2022-09-07 02:31:49 +00:00 by cgalo5758 · 2 comments

Clicking the pencil icon next to the title of an article should open up the corresponding markdown file in edit mode in gitea, instead a 404 page is served :(

Clicking the pencil icon next to the title of an article should open up the corresponding markdown file in edit mode in gitea, instead a 404 page is served :(
Owner

Thanks for reporting @cgalo5758! I think it has something to do with:

8790f95c53/mkdocs.yml (L82-L84)

I'm unsure if /docs/ should be on the end of that? 🤔

Thanks for reporting @cgalo5758! I think it has something to do with: https://git.coopcloud.tech/coop-cloud/docs.coopcloud.tech/src/commit/8790f95c5300728894b74711dd30bc2ef3f88f17/mkdocs.yml#L82-L84 I'm unsure if `/docs/` should be on the end of that? 🤔
Author

Looking at the docs, it seems that a user would need to be both authenticated and have permission to edit the repo for the link to work on Gitea. If you are authenticated, Gitea will not prompt you to fork the repo to edit the page (e.g. like in Github). I wonder if Gitea has a fork-on-edit feature in the works.

There also seems to be no good fork-and-edit url that Gitea can serve for us to hack the config as the fork repo urls look like this https://git.coopcloud.tech/repo/fork/140

Maybe some other feature/system might make sense to make the site truly editable as intended.

Looking at the docs, it seems that a user would need to be both authenticated and have permission to edit the repo for the link to work on Gitea. If you are authenticated, Gitea will not prompt you to fork the repo to edit the page (e.g. like in Github). I wonder if Gitea has a fork-on-edit feature in the works. There also seems to be no good fork-and-edit url that Gitea can serve for us to hack the config as the fork repo urls look like this `https://git.coopcloud.tech/repo/fork/140` Maybe some other feature/system might make sense to make the site truly editable as intended.
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/docs.coopcloud.tech#88