Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork6.3k
Implement .org file rendering in Wiki#36018
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
LinlyBoi wants to merge19 commits intogo-gitea:mainChoose a base branch fromLinlyBoi:main
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+299 −61
Draft
Changes from1 commit
Commits
Show all changes
19 commits Select commitHold shift + click to select a range
30254b9 Detect markup rendering from filename
cb93344 Detect .org files if .md isn't found in wiki
cb38c04 Handle .org files in Sidebar and footer of wiki
51b7680 Detect markup type instead of defaulting to .md
3931b8f Add .org file detection to WikiRaw function
36c23b8 Add .org condition to escapeSegToWeb
3ae4823 Add org file path resolution for Web and Git paths
676a785 add .org to WebPathToUserTitle
83353a8 Add .org to Git path preparation
e2812ca Resolve linting issues
3268f6f Merge branch 'go-gitea:main' into main
LinlyBoi997ce9f Add default wiki format setting value to struct
f0c005b Add DefaultWikiFormat var and its checks
a4ccf65 use config option for default wiki format paths
884a1ed Integrate DefaultWikiFormat to wiki settings
535a377 check wiki entry names based on DefaultWikiFormat
914926f Add wiki format setting to option tmpl and locales
4778511 Include defaultWikiFormat in WebPathToGitPath
1707118 Merge container registry fix to fork
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Resolve linting issues
Modernise string suffix check with CutSuffixAdded nilcheck for entry after the org version check attempt
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
22 changes: 12 additions & 10 deletionsrouters/web/repo/wiki.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletionsservices/wiki/wiki_path.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.