Skip to content

Commit 4579ed4

Browse files
committed
chore: Add robots.txt
1 parent ef701d3 commit 4579ed4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ sphinx:
5151
html_context:
5252
html_baseurl: https://ua-libraries-research-data-services.github.io/UALIB_ScholarlyAPI_Cookbook/
5353
sitemap_url_scheme: "{link}"
54+
html_static_path:
55+
- _static
56+
html_extra_path:
57+
- "_static/robots.txt"

src/_static/robots.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Disallow: /_static/
5+
Disallow: /_sources/
6+
Disallow: /_downloads/
7+
8+
Sitemap: https://ua-libraries-research-data-services.github.io/UALIB_ScholarlyAPI_Cookbook/sitemap.xml

0 commit comments

Comments
 (0)