mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
docs: Add README.md to zulip/docs to prevent reading on GitHub.
This should help avoid confusing about broken links. Tweaked by tabbott to fix formatting and the linter.
This commit is contained in:
committed by
Tim Abbott
parent
e4ca6e947b
commit
b6f5ea0fd2
6
docs/README.md
Normal file
6
docs/README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Zulip markdown documentation hosted elsewhere
|
||||||
|
|
||||||
|
The markdown files in this directory ( /zulip/docs ) are not intended
|
||||||
|
to be read on GitHub. Instead, visit our
|
||||||
|
[ReadTheDocs](https://zulip.readthedocs.io/en/latest/index.html) to
|
||||||
|
read the Zulip documentation.
|
||||||
@@ -743,9 +743,9 @@ def build_custom_checkers(by_lang):
|
|||||||
{'pattern': '\[(?P<url>[^\]]+)\]\((?P=url)\)',
|
{'pattern': '\[(?P<url>[^\]]+)\]\((?P=url)\)',
|
||||||
'description': 'Linkified markdown URLs should use cleaner <http://example.com> syntax.'},
|
'description': 'Linkified markdown URLs should use cleaner <http://example.com> syntax.'},
|
||||||
{'pattern': 'https://zulip.readthedocs.io/en/latest/[a-zA-Z0-9]',
|
{'pattern': 'https://zulip.readthedocs.io/en/latest/[a-zA-Z0-9]',
|
||||||
'exclude': ['docs/overview/contributing.md', 'docs/overview/readme.md'],
|
'exclude': ['docs/overview/contributing.md', 'docs/overview/readme.md', 'docs/README.md'],
|
||||||
'include_only': set(['docs/']),
|
'include_only': set(['docs/']),
|
||||||
'description': "Use relatve links (../foo/bar.html) to other documents in docs/",
|
'description': "Use relative links (../foo/bar.html) to other documents in docs/",
|
||||||
},
|
},
|
||||||
{'pattern': '\][(][^#h]',
|
{'pattern': '\][(][^#h]',
|
||||||
'include_only': set(['README.md', 'CONTRIBUTING.md']),
|
'include_only': set(['README.md', 'CONTRIBUTING.md']),
|
||||||
|
|||||||
Reference in New Issue
Block a user