mirror of https://github.com/zulip/zulip.git
documentation-crawler: Exclude privacy page from documentation checking
This commit is contained in:
parent
a57752d158
commit
589ae27190
|
@ -8,6 +8,7 @@ class HelpDocumentationSpider(BaseDocumentationSpider):
|
||||||
name = "help_documentation_crawler"
|
name = "help_documentation_crawler"
|
||||||
start_urls = ['http://localhost:9981/help']
|
start_urls = ['http://localhost:9981/help']
|
||||||
deny_domains = [] # type: List[str]
|
deny_domains = [] # type: List[str]
|
||||||
|
deny = ['/privacy']
|
||||||
|
|
||||||
def _is_external_url(self, url):
|
def _is_external_url(self, url):
|
||||||
# type: (str) -> bool
|
# type: (str) -> bool
|
||||||
|
|
Loading…
Reference in New Issue