From 4c914ede7e790395a193003265eec87ea317acb4 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 27 Nov 2018 03:01:19 -0800 Subject: Fix links after running linkcheck, excluding HISTORY.txt, a local link, and a bad link in WebOb docs --- docs/glossary.rst | 6 +++--- docs/narr/templates.rst | 2 +- docs/quick_tour.rst | 2 +- docs/quick_tour/sqla_demo/sqla_demo/models/meta.py | 2 +- docs/tutorials/wiki2/definingmodels.rst | 2 +- .../wiki2/src/authentication/tutorial/models/meta.py | 2 +- .../wiki2/src/authorization/tutorial/models/meta.py | 2 +- .../wiki2/src/basiclayout/tutorial/models/meta.py | 2 +- .../wiki2/src/installation/tutorial/models/meta.py | 2 +- docs/tutorials/wiki2/src/models/tutorial/models/meta.py | 2 +- docs/tutorials/wiki2/src/tests/tutorial/models/meta.py | 2 +- docs/tutorials/wiki2/src/views/tutorial/models/meta.py | 2 +- docs/whatsnew-1.0.rst | 16 ++++++++-------- docs/whatsnew-1.1.rst | 2 +- docs/whatsnew-1.2.rst | 2 +- docs/whatsnew-1.3.rst | 8 ++++---- docs/whatsnew-1.6.rst | 2 +- docs/whatsnew-1.8.rst | 6 +++--- 18 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/glossary.rst b/docs/glossary.rst index a00960247..cd472a660 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -552,7 +552,7 @@ Glossary mappings, and does not (knowingly) use traversal otherwise. SQLAlchemy - `SQLAlchemy `_ is an object + `SQLAlchemy `_ is an object relational mapper used in tutorials within this documentation. JSON @@ -903,7 +903,7 @@ Glossary that a provided token is acceptable. Mako - `Mako `_ is a template language + `Mako `_ is a template language which refines the familiar ideas of componentized layout and inheritance using Python with Python scoping and calling semantics. @@ -1196,7 +1196,7 @@ Glossary A context manager is an object that defines the runtime context to be established when executing a :ref:`with ` statement in Python. The context manager handles the entry into, and the exit from, the desired runtime context for the execution of the block of code. Context managers are normally invoked using the ``with`` statement, but can also be used by directly invoking their methods. Pyramid adds context managers for :class:`pyramid.config.Configurator`, :meth:`pyramid.interfaces.IRouter.request_context`, :func:`pyramid.paster.bootstrap`, :func:`pyramid.scripting.prepare`, and :func:`pyramid.testing.testConfig`. See also the Python documentation for :ref:`With Statement Context Managers ` and :pep:`343`. Alembic - `Alembic `_ is a lightweight database migration tool for usage with the SQLAlchemy Database Toolkit for Python. + `Alembic `_ is a lightweight database migration tool for usage with the SQLAlchemy Database Toolkit for Python. media type A label representing the type of some content. diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 1ccab9d3c..e5244e1ad 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -456,6 +456,6 @@ templating languages including the following: .. _pyramid_jinja2: https://docs.pylonsproject.org/projects/pyramid-jinja2/en/latest/ -.. _Mako: http://www.makotemplates.org/ +.. _Mako: https://www.makotemplates.org/ .. _pyramid_mako: https://docs.pylonsproject.org/projects/pyramid-mako/en/latest/ diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index fbafead66..471820ef6 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -922,7 +922,7 @@ system, can then easily get at the data thanks to SQLAlchemy: .. seealso:: See also: :ref:`Quick Tutorial Databases `, `SQLAlchemy - `_, :ref:`making_a_console_script`, + `_, :ref:`making_a_console_script`, :ref:`bfg_sql_wiki_tutorial`, and :ref:`Application Transactions with pyramid_tm `. diff --git a/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py b/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py +++ b/docs/quick_tour/sqla_demo/sqla_demo/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst index 9159027c4..6624e4cdc 100644 --- a/docs/tutorials/wiki2/definingmodels.rst +++ b/docs/tutorials/wiki2/definingmodels.rst @@ -284,7 +284,7 @@ At this point in this tutorial, we have two migration files. Examine them to see what Alembic will do when you upgrade or downgrade the database to a specific revision. Notice the revision identifiers and how they relate to one another in a chained sequence. -.. seealso:: For further information, see the `Alembic documentation `_. +.. seealso:: For further information, see the `Alembic documentation `_. Edit ``scripts/initialize_db.py`` diff --git a/docs/tutorials/wiki2/src/authentication/tutorial/models/meta.py b/docs/tutorials/wiki2/src/authentication/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/authentication/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/authentication/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/models/meta.py b/docs/tutorials/wiki2/src/authorization/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/authorization/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/authorization/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/basiclayout/tutorial/models/meta.py b/docs/tutorials/wiki2/src/basiclayout/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/basiclayout/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/basiclayout/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/installation/tutorial/models/meta.py b/docs/tutorials/wiki2/src/installation/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/installation/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/installation/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/models/tutorial/models/meta.py b/docs/tutorials/wiki2/src/models/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/models/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/models/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/tests/tutorial/models/meta.py b/docs/tutorials/wiki2/src/tests/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/tests/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/tests/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/tutorials/wiki2/src/views/tutorial/models/meta.py b/docs/tutorials/wiki2/src/views/tutorial/models/meta.py index 02285b3ff..d659c7857 100644 --- a/docs/tutorials/wiki2/src/views/tutorial/models/meta.py +++ b/docs/tutorials/wiki2/src/views/tutorial/models/meta.py @@ -3,7 +3,7 @@ from sqlalchemy.schema import MetaData # Recommended naming convention used by Alembic, as various different database # providers will autogenerate vastly different names making migrations more -# difficult. See: http://alembic.zzzcomputing.com/en/latest/naming.html +# difficult. See: https://alembic.sqlalchemy.org/en/latest/naming.html NAMING_CONVENTION = { "ix": "ix_%(column_0_label)s", "uq": "uq_%(table_name)s_%(column_0_name)s", diff --git a/docs/whatsnew-1.0.rst b/docs/whatsnew-1.0.rst index 0ed6e21fc..188b81468 100644 --- a/docs/whatsnew-1.0.rst +++ b/docs/whatsnew-1.0.rst @@ -62,7 +62,7 @@ fail if you do nothing to your existing :mod:`repoze.bfg` application. However, you won't have to do much to use your existing BFG applications on Pyramid. There's automation which will change most of your import statements and ZCML declarations. See -http://docs.pylonsproject.org/projects/pyramid/current/tutorials/bfg/index.html +https://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/tutorials/bfg/index.html for upgrade instructions. Pylons 1 users will need to do more work to use Pyramid, as Pyramid shares no @@ -118,7 +118,7 @@ Scaffold Improvements .. seealso:: - See also http://docs.repoze.org/tm2/#using-a-commit-veto. + See also https://repozetm2.readthedocs.io/en/latest/#using-a-commit-veto. Terminology Changes ~~~~~~~~~~~~~~~~~~~ @@ -250,9 +250,9 @@ ZCML Externalized - The ``load_zcml`` method of a Configurator has been removed from the Pyramid core. Loading ZCML is now a feature of the :term:`pyramid_zcml` - package, which can be downloaded from PyPI. Documentation for the package - should be available via - http://docs.pylonsproject.org/projects/pyramid_zcml/en/latest/, which describes how to + package, which can be downloaded from PyPI. See + :ref:`documentation for the package `, + which describes how to add a configuration statement to your ``main`` block to reobtain this method. You will also need to add an ``install_requires`` dependency upon the ``pyramid_zcml`` distribution to your ``setup.py`` file. @@ -356,7 +356,7 @@ Documentation Improvements - The "Resource Location and View Lookup" chapter has been replaced with a variant of Rob Miller's "Much Ado About Traversal" (originally published at - http://blog.nonsequitarian.org/2010/much-ado-about-traversal/). + https://web.archive.org/web/20150603023226/http://blog.nonsequitarian.org/2010/much-ado-about-traversal/). - Many users have contributed documentation fixes and improvements including Ben Bangert, Blaise Laflamme, Rob Miller, Mike Orr, Carlos de la Guardia, @@ -564,11 +564,11 @@ Documentation Enhancements - The (weak) "Converting a CMF Application to Pyramid" tutorial has been removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository at - http://docs.pylonsproject.org/projects/pyramid_tutorials/dev/. + https://github.com/Pylons/pyramid_tutorials/commit/38351561b54a2b07e3af5bd43f83964f72d0c05e. - Moved "Using ZODB With ZEO" and "Using repoze.catalog Within Pyramid" tutorials out of core documentation and into the Pyramid Tutorials site - (http://docs.pylonsproject.org/projects/pyramid_tutorials/dev/). + (https://github.com/Pylons/pyramid_tutorials/commit/86cfd11d8a4093b39cedc686fc6f005db4bccb00). - Removed API documentation for deprecated ``pyramid.testing`` APIs named ``registerDummySecurityPolicy``, ``registerResources``, ``registerModels``, diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst index 2427a0074..705cec784 100644 --- a/docs/whatsnew-1.1.rst +++ b/docs/whatsnew-1.1.rst @@ -201,7 +201,7 @@ Minor Feature Additions JSON-decoded variant of the request body. If the request body is not well-formed JSON, this property will raise an exception. -- A `JSONP `_ renderer. See +- A `JSONP `_ renderer. See :ref:`jsonp_renderer` for more details. - New authentication policy: diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index 9ff933ace..8572f04f5 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -63,7 +63,7 @@ Scaffolding Changes at all; configuration in the ``production.ini`` file which used to require its ``error_catcher`` :term:`middleware` has been removed. Configuring error catching / email sending is now the domain of the ``pyramid_exclog`` - package (see http://docs.pylonsproject.org/projects/pyramid_exclog/dev/). + package (see https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/). - All scaffolds now send the ``cache_max_age`` parameter to the ``add_static_view`` method. diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst index a09dc68a2..f0a13f50d 100644 --- a/docs/whatsnew-1.3.rst +++ b/docs/whatsnew-1.3.rst @@ -269,15 +269,15 @@ Minor Feature Additions - Responses generated by Pyramid's :class:`pyramid.static.static_view` now use a ``wsgi.file_wrapper`` (see - http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling) + https://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling) when one is provided by the web server. - The :meth:`pyramid.config.Configurator.scan` method can be passed an ``ignore`` argument, which can be a string, a callable, or a list consisting of strings and/or callables. This feature allows submodules, subpackages, and global objects from being scanned. See - http://readthedocs.org/docs/venusian/en/latest/#ignore-scan-argument for - more information about how to use the ``ignore`` argument to ``scan``. + https://docs.pylonsproject.org/projects/venusian/en/latest/#ignore-scan-argument + for more information about how to use the ``ignore`` argument to ``scan``. - Add :meth:`pyramid.config.Configurator.add_traverser` API method. See :ref:`changing_the_traverser` for more information. This is not a new @@ -494,7 +494,7 @@ Known Issues ``setup.py develop`` command again, and it will complete successfully. This is due to a minor bug in SQLAlchemy 0.7.5 under Python 3, and has been fixed in a later SQLAlchemy release. Keep an eye on - http://www.sqlalchemy.org/trac/ticket/2421 + https://github.com/sqlalchemy/sqlalchemy/issues/2421 Documentation Enhancements -------------------------- diff --git a/docs/whatsnew-1.6.rst b/docs/whatsnew-1.6.rst index 77d89b017..4c116dbfe 100644 --- a/docs/whatsnew-1.6.rst +++ b/docs/whatsnew-1.6.rst @@ -83,7 +83,7 @@ Feature Additions override_with='/abs/path/')``. The ``myapp:static`` asset spec is completely made up and does not need to exist—it is used for generating URLs via ``request.static_url('myapp:static/foo.png')``. See - https://github.com/Pylons/pyramid/issues/1252 + https://github.com/Pylons/pyramid/pull/1252 - Added :meth:`~pyramid.config.Configurator.set_response_factory` and the ``response_factory`` keyword argument to the constructor of diff --git a/docs/whatsnew-1.8.rst b/docs/whatsnew-1.8.rst index ff16c1a4b..d6b58ced8 100644 --- a/docs/whatsnew-1.8.rst +++ b/docs/whatsnew-1.8.rst @@ -20,10 +20,10 @@ Major Feature Additions See https://github.com/Pylons/pyramid/pull/2660 - ``pserve --reload`` now uses the - `hupper `_ + `hupper `_ library to monitor file changes. This comes with many improvements: - - If the `watchdog `_ package is + - If the `watchdog `_ package is installed then monitoring will be done using inotify instead of cpu and disk-intensive polling. @@ -199,7 +199,7 @@ Documentation Enhancements https://github.com/Pylons/pyramid/pull/2838 - Add `pyramid_nacl_session - `_ + `_ to session factories. See https://github.com/Pylons/pyramid/issues/2791 - Update HACKING.txt from stale branch that was never merged to master. -- cgit v1.2.3