forked from mono/website
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
0c79dfe
commit 65ff8a7
Showing
3 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: ruby | ||
rvm: 2.2.2 | ||
cache: bundler | ||
sudo: false | ||
install: | ||
- bundle config build.nokogiri --use-system-libraries | ||
- travis_retry bundle install | ||
- gem install mdl -v 0.2.1 | ||
- gem install html-proofer -v 2.6.1 | ||
script: | ||
- jekyll build | ||
- mdl -s markdownlint-config.rb . || true # markdownlint errors shouldn't fail the build for now | ||
- htmlproof ./_site --disable-external --allow-hash-href --check-html |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
all | ||
exclude_tag :line_length | ||
|
||
# MD001: Header levels should only increment by one level at a time | ||
# Justification: enforcing this now would break a gazillion pages | ||
exclude_rule 'MD001' | ||
|
||
# MD002/MD041: First header/line should be a h1 header | ||
# Justification: we always have the page title as H1 in the layout | ||
exclude_rule 'MD002' | ||
exclude_rule 'MD041' | ||
|
||
# MD003: Header style | ||
# Justification: we actually like both atx and setext style headers | ||
exclude_rule 'MD003' | ||
|
||
# MD033: Inline HTML | ||
# Justification: we don't want pure Markdown, inline HTML is fine | ||
exclude_rule 'MD033' | ||
|
||
# MD036: Emphasis used instead of a header | ||
# Justification: enforcing this now would break a gazillion pages | ||
exclude_rule 'MD036' | ||
|
||
# MD039: Spaces inside link text | ||
# Justification: there's nothing terribly wrong with doing that | ||
exclude_rule 'MD039' | ||
|
||
rule 'MD026', :punctuation => '.,;:!' # Trailing punctuation in header | ||
rule 'MD029', :style => 'ordered' # Ordered list item prefix | ||
|
||
# TODO: the following rules should ideally be enabled again | ||
exclude_rule 'MD006' # Consider starting bulleted lists at the beginning of the line | ||
exclude_rule 'MD007' # Unordered list indentation | ||
exclude_rule 'MD030' # Spaces after list markers | ||
exclude_rule 'MD032' # Lists should be surrounded by blank lines |