* Update releases: Newton is unmainted; train, ussuri are relased
* We have redirects to some sites, ignore them
* Remove python2 code
* Use https as starting point
Switch repo also to victoria PTI jobs.
Change-Id: I744e725b32a797b0e208ac7e81afe4b8d3578751
Add new releases, add already stein to not forget about it.
Update regex for releases, we do not publish only to /ocata/
but also to /PROJECT/ocata - tread all these the same.
Change-Id: I8ef454f779904d91e5e79c83c488dcba42ba2150
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".
[1] https://docs.openstack.org/hacking/0.10.3/
Change-Id: I49452e41f9674e6ebfcc1577d59d21750e957677
Downgrade old EOL releases, give current maintained releases and
development versions a higher priority.
this needs changes to the test framework, update mocking. Also, rename
URL to be docs.openstack.org and not .com.
Change-Id: I2c2c0408e203a65a9541baaf55ffe60694463975
- add py3 to tox.ini (gate already tests py3)
- move all tests to $GITROOT/test so they can all run
through testr
- add scrapy to test-requirements.txt to support sitemap tests
- move tests from test_items.py to test_sitemap_file.py
- fix broken sitemap tests
- add newton to list of old releases in sitemap_file.py
- ignore flake8 H101 as it returns false positives for Sphinx conf.py
- Use openstackdocstheme for docs
- Update sitemap README
- Restructure repo docs
- fix minor style issues
Change-Id: I22c018149b2eefde6ca5c38c22ac06886fe9a7a8
Renamed sitemap file to avoid module name conflict
when importing at the sitemap unittest
Added py.test tox environment
Change-Id: I94480e374b29802414b62591a51c04ecd804905e
Closes-Bug: #1387716
Icehouse and Juno docs should not be accesed, so this updates the sitemap
generator tool to skip them. The sitemap can then be regenerated.
Partial-Bug: #1602647
Change-Id: I3117b114881c3a12b6a1a9565a0a720c9c8678b1
This solves the following issue when last-modified is not set in the
response header:
---snip---
KeyError: 'Last-Modified'
---snap---
Change-Id: I372f9638f6b5006ff250b9dbe0e75cc1556d18c2
The default value for the DOWNLOAD_WARNSIZE setting is 33554432 (32MB).
This patch will double the value. This solves the following warning:
---snip---
WARNING: Received (37889579) bytes larger than download warn size
(33554432).
---snap---
Change-Id: I5be4bcefa6fe2eb474901bb958669978dd6e1fef
- Removes grizzly, adds juno
- Removes /api/ just like /trunk/ now that <service>-api repos have moved
to openstack-attic
Change-Id: I4b5dea2379d58b3ed506f70c4a9539a64f892f8e
Require at least 0.9.1 because 0.9.0. had a minor bug.
This change also fixes all found issues.
Rewrote some docstrings to fit H405.
Change-Id: Ifeef11b783dbe70b2652d2b9ea29d5b20f69f2ce
This script crawls all available sites on http://docs.openstack.org and extracts
all URLs. Based on the URLs the script generates a sitemap for search engines
according to the protocol described at http://www.sitemaps.org/protocol.html.
Change-Id: Id7839d2048989da503d31e436455aea9bb4cdc1d