Skip to content

Commit 66f483a

Browse files
committed
Added robots.txt
1 parent e922812 commit 66f483a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Added
88

99
- Added `sitemap.xml` to documentation webpage
10+
([#134](https://github.com/gnikit/fortls/pull/134))
1011

1112
## 2.7.0
1213

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
# so a file named "default.css" will overwrite the builtin "default.css".
115115
html_static_path = ["_static"]
116116

117+
# Add any extra paths that contain custom files (such as robots.txt or
118+
# .htaccess) here, relative to this directory. These files are copied
119+
# directly to the root of the documentation.
120+
html_extra_path = ["html_extra"]
117121

118122
display_toc = True
119123
# autodoc_default_flags = ["members"]

docs/html_extra/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
User-agent: *
2+
Disallow:
3+
Sitemap: https://gnikit.github.io/fortls/sitemap.xml

0 commit comments

Comments
 (0)