Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Community Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bio-IT
Community Documentation
Commits
8991dcad
Verified
Commit
8991dcad
authored
3 years ago
by
Renato Alves
Browse files
Options
Downloads
Patches
Plain Diff
Silence include links output in POSIX shell
parent
7fd8f106
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#24341
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_links_include.py
+1
-1
1 addition, 1 deletion
check_links_include.py
with
1 addition
and
1 deletion
check_links_include.py
+
1
−
1
View file @
8991dcad
...
...
@@ -20,7 +20,7 @@ for filename in iglob('*/*/*.md'):
no_tag
=
[]
for
filename
in
section_markdown_files
:
cmd
=
r
"
tail -5
"
+
filename
+
r
"
| egrep
'
{% include links.md %}
'
&
> /dev/null
"
cmd
=
r
"
tail -5
"
+
filename
+
r
"
| egrep
'
{% include links.md %}
'
> /dev/null
"
try
:
exit_code
=
subprocess
.
check_call
(
cmd
,
shell
=
True
)
except
subprocess
.
CalledProcessError
:
...
...
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