This patch enables the linkchecker to run against links in the docs.
It also takes care of broken links that were detected as part of this
work.
Issue: DOCS-40
Change-Id: I7fff59927b2d88b2e9feefc175068d9cd45cedc6
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
# The '#' in the path makes sphinx think it's an anchor
'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
'https://git.opendaylight.org/gerrit/gitweb',
+ # URL returns a 403 Forbidden
+ 'https://www.osgi.org',
+ # Ignore anchors on github.com because linkcheck fails on them
+ '^http[s]://github.com/.*#',
]
+linkcheck_timeout = 300
nitpicky = True
release = version
.. _odlparent gerrit patch: https://git.opendaylight.org/gerrit/64688/
.. _yangtools gerrit patch: https://git.opendaylight.org/gerrit/64781
-.. _Animal Sniffer plugin: http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/examples/checking-signatures.html
+.. _Animal Sniffer plugin: https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/examples/checking-signatures.html
git review
- See the `Git-review Workflow <https://wiki.opendaylight.org/view/Git-review_Workflow>`_
+ See the `Git-review Workflow <https://wiki-archive.opendaylight.org/view/Git-review_Workflow>`_
page if you don't have git-review installed.
#. Wait for the patch to be merged or to get feedback
.. _Sphinx: http://www.sphinx-doc.org/en/stable/
.. _reStructuredText: http://www.sphinx-doc.org/en/stable/rest.html
-.. _Documentation Group: https://wiki.opendaylight.org/view/Documentation/
-.. _RelEng/Builder: https://wiki.opendaylight.org/view/RelEng/Builder
+.. _Documentation Group: https://wiki-archive.opendaylight.org/view/Documentation/
+.. _RelEng/Builder: https://wiki-archive.opendaylight.org/view/RelEng/Builder
.. _Pandoc: http://pandoc.org/
#. Mail discuss@lists.opendaylight.org or dev@lists.opendaylight.org.
#. Directly mail the PTL as indicated on the specific
- `projects page <https://wiki.opendaylight.org/view/Project_list>`_.
+ `projects page <https://wiki-archive.opendaylight.org/view/Project_list>`_.
#. IRC: Connect to #opendaylight or #opendaylight-meeting channel on freenode.
The `Linux Foundation's IRC guide <https://docs.releng.linuxfoundation.org/en/latest/freenode.html>`_ may be helpful.
* For the list of current OpenDaylight security issues that are either being
fixed or resolved, refer to
- https://wiki.opendaylight.org/view/Security:Advisories.
+ https://wiki-archive.opendaylight.org/view/Security:Advisories.
* To learn more about the OpenDaylight security issues policies and procedure,
- refer to https://wiki.opendaylight.org/view/Security:Main
+ refer to https://wiki-archive.opendaylight.org/view/Security:Main
.. _security_deployment_recommendations:
OSGi core and can be obtained from the OSGi service registry. The
*ConditionalPermissionAdmin* API replaces the earlier *PermissionAdmin* API.
-For more information, refer to http://www.osgi.org/Main/HomePage.
+For more information, refer to https://www.osgi.org
.. _securing-karaf:
Release Integrated Projects
===========================
-* `odlparent <https://javadocs.opendaylight.org/odlparent>`_
-* `yangtools <https://javadocs.opendaylight.org/yangtools>`_
-* `mdsal <https://javadocs.opendaylight.org/mdsal>`_
+* `odlparent <https://javadoc.io/doc/org.opendaylight.odlparent>`_
+* `yangtools <https://javadoc.io/doc/org.opendaylight.yangtools>`_
+* `mdsal <https://javadoc.io/doc/org.opendaylight.mdsal>`_
Managed Projects
================
This document describes the steps to help users upgrade to the
Magnesium planned platform. Refer to `Managed Release Integrated (MRI)
-project <https://git.opendaylight.org/gerrit/#/q/topic:magnesium-mri>`_
+project <https://git.opendaylight.org/gerrit/q/topic:magnesium-mri>`_
for more information.
.. contents:: Contents
Before performing platform upgrade, users must also install
any dependent project. To locally install a dependent project,
-pull and install the respective `magnesium-mri <https://git.opendaylight.org/gerrit/#/q/topic:magnesium-mri>`_ changes for any dependent project. At the minimum, pull and install *controller*.
+pull and install the respective `magnesium-mri <https://git.opendaylight.org/gerrit/q/topic:magnesium-mri>`_ changes for any dependent project. At the minimum, pull and install *controller*.
Perform the following steps to save time when locally installing
any dependent project:
that installing Java 11 removes several components (refer to, `JEP 320
<https://openjdk.java.net/jeps/320>`_. A summary of the API
differences can be found in the java-almanac project (refer to, `Java API
-<http://download.eclipselab.org/jdkdiff/V8/V11/index.html>`_.
+<https://javaalmanac.io/jdk/11/apidiff/8/>`_.
Furthermore, Java 9 switched the default garbage collector to `G1GC
<https://openjdk.java.net/jeps/248>`_ with `improvements
***********
The Release Engineering - `Autorelease project
-<https://wiki.opendaylight.org/view/RelEng/Autorelease>`_
+<https://wiki-archive.opendaylight.org/view/RelEng/Autorelease>`_
is targeted at building the artifacts that are used in the release candidates
and final full release.
-* `Open Gerrit Patches <https://git.opendaylight.org/gerrit/#/q/project:releng/autorelease+status:open>`_
+* `Open Gerrit Patches <https://git.opendaylight.org/gerrit/q/project:releng/autorelease+status:open>`_
* `Jenkins Jobs <https://jenkins.opendaylight.org/releng/view/autorelease/>`_
Cloning Autorelease
Simultaneous Release. These projects are consumed by Snapshot Integrated
Projects based on release version numbers, not snapshot versions.
-.. _Committer Removal Process: https://wiki.opendaylight.org/view/TSC:Main#Committer_Removal_Process
+.. _Committer Removal Process: https://wiki-archive.opendaylight.org/view/TSC:Procedures_and_Processes#Committer_Removal_Process
.. _Weather Page: https://jira.opendaylight.org/browse/TSC-132?jql=Project%20%3D%20TSC%20AND%20Type%20%3D%20%22Weather%20Item%22%20
- http://git.openstack.org/cgit/openstack/networking-odl/
-- https://wiki.opendaylight.org/view/NeutronNorthbound:Main
+- https://wiki-archive.opendaylight.org/view/NeutronNorthbound:Main
Use cases and who will use the feature
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[tox]
minversion = 1.6
-envlist = pre-commit,docs
+envlist = pre-commit,docs,docs-linkcheck
skipsdist = true
[testenv:docs]