Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
71159ae0
Commit
71159ae0
authored
Jul 10, 2020
by
Amy Qualls
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs-lint-readme-error' into 'master'
Docs lint readme error See merge request gitlab-org/gitlab!36508
parents
f8de15fb
208718f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
scripts/lint-doc.sh
scripts/lint-doc.sh
+2
-1
No files found.
scripts/lint-doc.sh
View file @
71159ae0
...
...
@@ -48,7 +48,8 @@ echo
if
[
${
FIND_READMES
}
-ne
$NUMBER_READMES
]
then
echo
echo
' ✖ ERROR: New README.md file(s) detected, prefer index.md over README.md.'
>
&2
echo
' ✖ ERROR: The number of README.md file(s) has changed. Use index.md instead of README.md.'
>
&2
echo
' ✖ If removing a README.md file, update NUMBER_READMES in lint-doc.sh.'
>
&2
echo
' https://docs.gitlab.com/ee/development/documentation/styleguide.html#work-with-directories-and-files'
echo
((
ERRORCODE++
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment