-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: wiki - page toc and directory support #7225
Conversation
see go-gitea#822 Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
+ reduce js call stack: function -> inline function Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
… gitea_md_wiki_auto_toc
>1760px Signed-off-by: Michael Gnehr <michael@gnehr.de>
+ ui + language Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
+ add reseverd keyword for delete route Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
this will create a new page on same parent directory as currently shown page Signed-off-by: Michael Gnehr <michael@gnehr.de>
wiki render request was triggered when return back to edit mode Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
+ add ui elements, script and css + automatic resize (js) content cotainer, if toc size is larger than rendered markup Signed-off-by: Michael Gnehr <michael@gnehr.de>
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Please resolve conflicts. |
Is this still WIP? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
expected to land? actually TOC is really important for wiki 😅 |
@gsantner conflicts need to be resolved before this can be merged. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
Will this feature eventually be released? |
would really love to see this feature live |
Hello, Do you know when this feature is planned ? Currently having all wiki pages on the same folder make it unusable for large projects. |
Gitea 1.17 has support for TOCs (see #19873), so this PR here is probably partially obsolete. However, I would REALLY love to see the folders feature! ❤️ |
It has been stale for a long time and I can't think of a way to handling it other than closing it. Feel free to reopen if there's any new progress and I could also help. |
This PR
So there is no priority on rendering old or new file, as it is decided by link.
edit
andnew
pageUnlike my last comment on #823 images relative to directory are OK now.
Requires: #7182
As this PR uses some script and css i've added there, it is nessesary to pull that first.
Changes made by this PR could be seen here Compare this PR with #7182
If you read commit messages/names, it should be clear what and why i've done something.
fix #823
Some Images
(Note the list symbol on
Small
andMobile
in top left corner)Question
modules\markup\html shortLinkProcessorFull
still working with this? Where is it used? Does anyone know?Signed-off-by: Michael Gnehr michael@gnehr.de