Doc: Update Microsoft's Documentation Links

The documentation links on `msdn.microsoft.com` now redirect to
`docs.microsoft.com`.

While the redirection works, our script to catch broken links on
dev-snapshots builds of the documentation doesn't handle redirection
correctly, reporting it as broken.

Both to appease the broken-links script and to avoid an unneccesary
redirection, the links were modified to point to the equivalent address
in the new domain.

Furthermore, the link to the `Winsock 2 Socket Handle` was moved to be
an `\externalpage` link, as it was used in two different places.

Additionally, the `\externalpage` link titled `Dirext X SDK` was removed
as it was not used in any part of the documentation.

Task-number: QTBUG-96127
Change-Id: I07f0ae8d610a7f8322b892a2fa37a5cc1769289e
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit fc73b585f8c0a6b08c2f931ac557793b74c5204a)
This commit is contained in:
Luca Di Sera 2021-09-22 16:20:50 +02:00 committed by Paul Wicking
parent 55e01c2435
commit 906509655d
4 changed files with 5 additions and 7 deletions

View File

@ -213,8 +213,8 @@
*/ */
/*! /*!
\externalpage http://msdn.microsoft.com/en-us/directx/default.aspx \externalpage https://docs.microsoft.com/en-us/windows/win32/winsock/socket-handles-2
\title Direct X SDK \title Winsock 2 Socket Handle
*/ */
/*! /*!

View File

@ -210,8 +210,7 @@ QBindable<QLocalServer::SocketOptions> QLocalServer::bindableSocketOptions()
The type of the descriptor depends on the platform: The type of the descriptor depends on the platform:
\list \list
\li On Windows, the returned value is a \li On Windows, the returned value is a
\l{https://msdn.microsoft.com/en-us/library/windows/desktop/ms740522(v=vs.85).aspx} \l{Winsock 2 Socket Handle}.
{Winsock 2 Socket Handle}.
\li On INTEGRITY, the returned value is the \li On INTEGRITY, the returned value is the
QTcpServer socket descriptor and the type is defined by QTcpServer socket descriptor and the type is defined by

View File

@ -147,8 +147,7 @@ QT_BEGIN_NAMESPACE
\list \list
\li On Windows, the returned value is a \li On Windows, the returned value is a
\l{https://msdn.microsoft.com/en-us/library/windows/desktop/ms740522(v=vs.85).aspx} \l{Winsock 2 Socket Handle}.
{Winsock 2 Socket Handle}.
\li On INTEGRITY, the returned value is the \li On INTEGRITY, the returned value is the
QTcpSocket socket descriptor and the type is defined by QTcpSocket socket descriptor and the type is defined by

View File

@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE
\brief Windows native menu bar \brief Windows native menu bar
\list \list
\li \l{https://msdn.microsoft.com/de-de/library/windows/desktop/ms647553(v=vs.85).aspx#_win32_Menu_Creation_Functions}, \li \l{https://docs.microsoft.com/en-us/windows/win32/menurc/about-menus},
\e{About Menus} \e{About Menus}
\endlist \endlist