File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 1- # A list of whitelist paths that should be built.
2- # If the list is empty, all pages will be built.
1+ """ A list of whitelist paths that should be built.
2+ If the list is empty, all pages will be built.
33
4- # Tips:
5- # - Ensure that the path starts with a forward slash '/'.
6- # - Do not include a trailing slash '/' at the end of the path.
4+ Tips:
5+ - Ensure that the path starts with a forward slash '/'.
6+ - Do not include a trailing slash '/' at the end of the path.
77
8- # Examples:
9- # - Correct: WHITELISTED_PAGES = ["/docs/getting-started/introduction"]
10- # - Incorrect: WHITELISTED_PAGES = ["/docs/getting-started/introduction/"]
8+ Examples:
9+ - Correct: WHITELISTED_PAGES = ["/docs/getting-started/introduction"]
10+ - Incorrect: WHITELISTED_PAGES = ["/docs/getting-started/introduction/"]
11+ """
1112
12- WHITELISTED_PAGES = []
13+ WHITELISTED_PAGES = []
1314
14-
15- def _check_whitelisted_path (path ):
15+
16+ def _check_whitelisted_path (path : str ):
1617 if len (WHITELISTED_PAGES ) == 0 :
1718 return True
1819
You can’t perform that action at this time.
0 commit comments