Feature #3226
Support for copilot_urls
Start date:
09/26/2023
Due date:
10/03/2023
% Done:
100%
Estimated time:
(Total: 3.80 h)
Spent time:
(Total: 11.50 h)
Description
On some sites, we may want our copilot to show up only on a subset of pages. In order to accomplish this, please enable support for:
In 1.txt, there could be a new copilot_urls line after "aliases" line. example: #%&copilot_urls:["https://scikit-learn.org/stable/modules/classes", "https://scikit-learn.org/stable/modules/generated", "scikit-learn.org/*blog*"]#%&
If this is present, do not show copilot on https://scikit-learn.org except for urls with the above two prefixes.
More examples: we should show copilot for the following URLs:
- http://scikit-learn.org/modulesblog/1/2/3
- https://scikit-learn.org/1/2/3/4blog5
Subtasks