Skip to content

Commit 6f2cd12

Browse files
authored
Merge pull request #134 from gnikit/feature/sitemap
Feature/sitemap
2 parents 90a7fd3 + ac17234 commit 6f2cd12

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ fortls/_version.py
1515
*.log
1616

1717
.coverage
18+
coverage.xml

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44

5+
## 2.8.0
6+
7+
### Added
8+
9+
- Added `sitemap.xml` to documentation webpage
10+
([#134](https://github.com/gnikit/fortls/pull/134))
11+
512
## 2.7.0
613

714
### Added

docs/conf.py

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"sphinx_design",
8181
"sphinx_copybutton",
8282
"myst_parser",
83+
"sphinx_sitemap",
8384
]
8485
# For sphinx_design in Markdown
8586
myst_enable_extensions = ["colon_fence"]
@@ -106,12 +107,17 @@
106107
html_title = "fortls"
107108
html_logo = "../assets/logo.svg"
108109
html_favicon = "../assets/icon.svg"
110+
html_baseurl = "https://gnikit.github.io/fortls/"
109111

110112
# Add any paths that contain custom static files (such as style sheets) here,
111113
# relative to this directory. They are copied after the builtin static files,
112114
# so a file named "default.css" will overwrite the builtin "default.css".
113115
html_static_path = ["_static"]
114116

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"]
115121

116122
display_toc = True
117123
# autodoc_default_flags = ["members"]

docs/html_extra/robots.txt

+3
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

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ docs =
6666
sphinx-copybutton
6767
furo
6868
myst-parser
69+
sphinx-sitemap
6970

7071
[flake8]
7172
max-line-length = 88

0 commit comments

Comments
 (0)