Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Requirements Manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Utilities
Requirements Manager
Commits
f7d38658
Verified
Commit
f7d38658
authored
2 years ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: commit save point
parent
80bfae17
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
application/source/files.go
+2
-1
2 additions, 1 deletion
application/source/files.go
development/examples/example1/req1/1/test1.md
+1
-11
1 addition, 11 deletions
development/examples/example1/req1/1/test1.md
with
3 additions
and
12 deletions
application/source/files.go
+
2
−
1
View file @
f7d38658
...
...
@@ -6,6 +6,7 @@ import (
"os"
"path"
"path/filepath"
"strings"
"gopkg.in/yaml.v3"
)
...
...
@@ -81,7 +82,7 @@ func rewriteFiles(pageData map[string]*requirement) error {
encoder
.
Close
()
text
:=
"---
\n
"
+
buf
.
String
()
+
"
\n
...
\n
"
text
+=
pd
.
OriginText
text
+=
strings
.
Trim
(
pd
.
OriginText
,
"
\n
"
)
info
,
err
:=
os
.
Stat
(
filename
)
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
development/examples/example1/req1/1/test1.md
+
1
−
11
View file @
f7d38658
...
...
@@ -102,15 +102,6 @@ Privacy:
TOM: null
...
### {{ .Title }} - {{ .ID }}
#### Subheading
...
...
@@ -165,5 +156,4 @@ test
test
@todo das ist ein todo
@todo das ist ein todo
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment