Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I9a27209ebe8067b6681105dfedd51e45991fb2b0
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Ie3c9acbcfd21a7ef02c48dace486e80c502f0833
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
+ Improve the launch work flow form.
+ Add REST endpoint for available ingress controllers
+ Add REST endpint for available addons
Change-Id: Ic76d4d853bce0b1bfd107ca1bd6a7231939845df
Depends-On: https://review.opendev.org/#/c/697000/
+ Create new row action on clusters panel
+ Create new modal form for upgrading cluster
+ Create REST endpoint for upgrading cluster
+ Bump python-magnumclient lower constraint
Change-Id: Id3fd3ee80fb27b08673933800aea6e7ee7ac7cd0
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well
depend on https://review.opendev.org/#/c/657890/
Change-Id: Ia622efbbf222a3a0d58e1582976b4a45b4b1da23
Dependency for mox3 is fully removed. So this patch removes mox3
dependency from doc/requirements.txt
This should be cherry-picked into stable/rocky branch.
Change-Id: Iaa6c091a8934a6814ef1e6975916e7caebf47f2a
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.
Babel is dropped from the same reason.
Change-Id: I8bc25f8530f25cdb0519bd611812379ef183fca1
doc/source/conf.py has a custom logic which prepare index files
for autodoc, but now pbr and sphinx autodoc have a feature to do it
and it is not a good idea to keep the custom logic.
Change-Id: I89a277bde7c7b632c2208110bb9d34cd21f4e815
This UI plugin has no specific configuration yet,
so this patch adds only link to Horizon's guide.
Change-Id: Icb777b24b42c9dcabdb597fea9e6a4d20f203c4b
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: Id84b9db2ac3bd64fd5b37d13b57da018592eb13d
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts
It does not always necessary, but it is needed to avoid warnings
when creating autoindex.
Note that horizon no longer generates the autoindex to avoid warnings.
Drops setenv DJANGO_SETTINGS_MODULE in docs env in tox.ini.
DJANGO_SETTINGS_MODULE is configured in doc/source/conf.py,
so there is no need to pass envvar.
Add warning-is-error sphinx setting to avoid doc build warnings.
Change-Id: I2de87c0df05abf589c90fb3ad691322e1125c310
It is not a good idea to have too much contents in the top page
document. Installation stuff is split into a separate page.
Title level of index.rst was inconsistent.
_static and _templates directories in releasenotes/source
are unnecessary.
Change-Id: I005d6d110de986773ae8149d2170840f0fe02e4f
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Change-Id: Ic85b544a5d91f0f820737480fd123cbebdc94894
To enable py35 tests, refresh test environments.
Also, update docs, remove run_tests.sh that is no longer used.
Change-Id: I9bcf4acdfd4a9811ab2f0fc3bd02898a46fbd112
Release notes in docs is not published by reno.
This patch change Release notes to URL published by reno.
Change-Id: I020abc16828592957496e83f74519ae919a7bb34
"bay" and "baymodel" is not common term.
This patch renames "bay" to "cluster", and "baymodel" to
"cluster template" for 'Soft StringFreeze'[1] in Newton
Release Schedule[2].
[1] Soft StringFreeze: Aug 29 - Sep 02
[2] https://releases.openstack.org/newton/schedule.html
For translation work, this patch should focus to changing
strings to be translated and should be merged soon.
So, until "cluster" and "cluster template" is implemented
into Magnum API, Magnum-UI uses bay and baymodel of magnumclient.
Change-Id: I0db5472c4f19638cc57116101b552ad21fe34651
Implements: blueprint rename-bay-to-cluster
Files in "enabled" directory is not in target of "babel-django.cfg".
So panel group label in these files are not translated.
This patch moves these files and adds panel group label into
translation target.
Change-Id: Iaee01f7e1970d7beb7d166d12ceb80b807785c4a
Closes-Bug: #1586917
According to decisions that Magnum becomes COE Management Service,
Magnum-UI should remove Container panel and actions that is for
Docker Swarm container manipulations.
This patch removes following items.
- Container views (table and detail)
- Container actions (create and delete)
- Create Container action from bay table view and bay detail view
Change-Id: Ia18e9fa57e0460b9b1a8b473a005d31cb4acc5ca
Implements: blueprint remove-container-panel
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.
Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
os.popen() is deprecated since python 2.6.
Resolved with use of subprocess module.
Change-Id: I5e8df9e4bcd7a3c56887f6982e14dee2230ea641
Closes-Bug: #1529836
Magnum UI and their panels are currently registered via their `dashboard.py`
and `panel.py` files, but should use the enabled files.
This is standard in Horizon.
This patch changes registration method to enabled files.
For moving our dashboard to under the "project" dashbaord,
we need to change URLs. So, many files will be changed.
Since "/project/containers" is already used by Swift Container panel,
this patch uses "bays", "baymodels" and "bays/containers" for URLs.
Change-Id: Icedb984331bd46540f2e7d12bbefcc308aff214f
Closes-Bug: #1507679
Add the basic structure for the magnum-ui repository to serve as a
starting point for contributions. The structure is likely to change
as development progresses.
Change-Id: I5458741e2dd4c3409992315efaa60b33824b4ec8
Implements: blueprint repo-skeleton