Merge "Fix docs build"

This commit is contained in:
Zuul 2019-05-15 19:08:48 +00:00 committed by Gerrit Code Review
commit e85f8ba65a
5 changed files with 19 additions and 4 deletions

1
doc/requirements.txt Normal file
View File

@ -0,0 +1 @@
sphinx>=1.6.2,!=1.6.6 # BSD

View File

@ -28,7 +28,8 @@ sys.path.append(os.path.dirname(os.path.abspath('.')))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.issuetracker']
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.intersphinx']
# link to sqlalchemy docs
intersphinx_mapping = {
@ -128,7 +129,7 @@ html_style = 'default.css'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.

View File

@ -2,7 +2,7 @@ Download
--------
You can get the latest version of SQLAlchemy Migrate from the
`project's download page`_, the `cheese shop`_, pip_ or via easy_install_::
the `cheese shop`_, pip_ or via easy_install_::
$ easy_install sqlalchemy-migrate

View File

@ -55,7 +55,7 @@ Dialect support
.. list-table::
:header-rows: 1
:widths: 25 10 10 10 10 10 11
:widths: 25 10 10 10 10 10 11 10
* - Operation / Dialect
- :ref:`sqlite <sqlite-d>`
@ -72,6 +72,7 @@ Dialect support
- yes
- no
- not supported
- unknown
* - :ref:`ALTER TABLE RENAME COLUMN <column-alter>`
- yes (workaround) [#1]_
- yes
@ -79,6 +80,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
* - :ref:`ALTER TABLE ADD COLUMN <column-create>`
- yes (workaround) [#2]_
- yes
@ -86,6 +88,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
* - :ref:`ALTER TABLE DROP COLUMN <column-drop>`
- yes (workaround) [#1]_
- yes
@ -93,6 +96,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
* - :ref:`ALTER TABLE ALTER COLUMN <column-alter>`
- yes (workaround) [#1]_
- yes
@ -100,6 +104,7 @@ Dialect support
- yes (with limitations) [#3]_
- yes [#4]_
- not supported
- unknown
* - :ref:`ALTER TABLE ADD CONSTRAINT <constraint-tutorial>`
- partial (workaround) [#1]_
- yes
@ -107,6 +112,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
* - :ref:`ALTER TABLE DROP CONSTRAINT <constraint-tutorial>`
- partial (workaround) [#1]_
- yes
@ -114,6 +120,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
* - :ref:`RENAME INDEX <index-rename>`
- no
- yes
@ -121,6 +128,7 @@ Dialect support
- yes
- yes
- not supported
- unknown
.. [#1] Table is renamed to temporary table, new table is created followed by

View File

@ -72,6 +72,11 @@ deps = sqlalchemy>=0.9
[testenv:pep8]
commands = flake8
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build doc/source doc/build/html
[testenv:venv]
commands = {posargs}