Browse Source

sitemap: Add ocata

Handle ocata as older release.

Change-Id: I7437faf717ca277e2ba72ef38e65a2979af11346
tags/1.6.0
Andreas Jaeger 2 years ago
parent
commit
d4c18f5683
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      sitemap/generator/spiders/sitemap_file.py
  2. 1
    1
      test/test_sitemap_file.py

+ 2
- 1
sitemap/generator/spiders/sitemap_file.py View File

@@ -45,7 +45,8 @@ class SitemapSpider(spiders.CrawlSpider):
'kilo',
'liberty',
'mitaka',
'newton'
'newton',
'ocata'
]])

rules = [

+ 1
- 1
test/test_sitemap_file.py View File

@@ -99,7 +99,7 @@ class TestSitemapSpider(unittest.TestCase):
path = sitemap_file.urlparse.SplitResult(
scheme='https',
netloc='docs.openstack.com',
path='/ocata',
path='/contributor-guide',
query='',
fragment=''
)

Loading…
Cancel
Save