Skip to content

Commit

Permalink
STYLE: Update Slicer website links to https versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesobutler authored and jcfr committed Apr 6, 2022
1 parent ac190b5 commit f4f2697
Show file tree
Hide file tree
Showing 48 changed files with 106 additions and 106 deletions.
6 changes: 3 additions & 3 deletions Applications/SlicerApp/Testing/Python/AtlasTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def __init__(self, parent):
For more information:
Abdominal Atlas: <a>http://www.slicer.org/publications/item/view/1918</a>
Brain Atlas: <a>http://www.slicer.org/publications/item/view/2037</a>
Knee Atlas: <a>http://www.slicer.org/publications/item/view/1953</a>
Abdominal Atlas: <a>https://www.slicer.org/publications/item/view/1918</a>
Brain Atlas: <a>https://www.slicer.org/publications/item/view/2037</a>
Knee Atlas: <a>https://www.slicer.org/publications/item/view/1953</a>
"""
parent.acknowledgementText = """
Expand Down
2 changes: 1 addition & 1 deletion Applications/SlicerApp/Testing/Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ add_test(

#
# SelfTests
# see http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/SelfTestModule
# see https://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/SelfTestModule
#

if(Slicer_USE_QtTesting AND Slicer_USE_PYTHONQT)
Expand Down
2 changes: 1 addition & 1 deletion Applications/SlicerApp/Testing/Python/WebEngine.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def setup(self):
"label": "Crowds Cure Cancer", "url": "http://cancer.crowds-cure.org"
},
{
"label": "Slicer Home Page", "url": "http://slicer.org"
"label": "Slicer Home Page", "url": "https://slicer.org"
},
{
"label": "MorphoSource", "url": "https://www.morphosource.org"
Expand Down
2 changes: 1 addition & 1 deletion Base/Logic/Resources/ColorFiles/DarkBrightChartColors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer4_2012_DarkBrightChartColors.txt
#Title: Slicer4:2012 DarkBrightChartColors
#PageName: Slicer4:2012_DarkBrightChartColors
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer4:2012_DarkBrightChartColors
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer4:2012_DarkBrightChartColors
#
#Begin table data:
0 Series_1 236 44 51 255
Expand Down
2 changes: 1 addition & 1 deletion Base/Logic/Resources/ColorFiles/GenericAnatomyColors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer3_2010_GenericAnatomyColors.txt
#Title: Slicer3:2010 GenericAnatomyColors
#PageName: Slicer3:2010_GenericAnatomyColors
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer3:2010_GenericAnatomyColors#Lookup_table
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer3:2010_GenericAnatomyColors#Lookup_table
#
#Begin table data:
0 background 0 0 0 0
Expand Down
2 changes: 1 addition & 1 deletion Base/Logic/Resources/ColorFiles/LightPaleChartColors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer4_2012_LightPaleChartColors.txt
#Title: Slicer4:2012 LightPaleChartColors
#PageName: Slicer4:2012_LightPaleChartColors
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer4:2012_LightPaleChartColors
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer4:2012_LightPaleChartColors
#
#Begin table data:
0 Series_1 241 175 174 255
Expand Down
2 changes: 1 addition & 1 deletion Base/Logic/Resources/ColorFiles/MediumChartColors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer4_2012_MediumChartColors.txt
#Title: Slicer4:2012 MediumChartColors
#PageName: Slicer4:2012_MediumChartColors
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer4:2012_MediumChartColors
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer4:2012_MediumChartColors
#
#Begin table data:
0 Series_1 239 89 98 255
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer3_2010_Brain_Labels.txt
#Title: Slicer3:2010 Brain Labels
#PageName: Slicer3:2010_Brain_Labels
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer3:2010_Brain_Labels
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer3:2010_Brain_Labels
#
#Begin table data:
0 Background 0 0 0 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Filename: Slicer3_2010_Label_Colors.txt
#Title: Slicer3:2010 Label Colors
#PageName: Slicer3:2010_Label_Colors
#Source: http://www.slicer.org/slicerWiki/index.php/Slicer3:2010_Label_Colors
#Source: https://www.slicer.org/slicerWiki/index.php/Slicer3:2010_Label_Colors
#
#Begin table data:
0 Background 0 0 0 0
Expand Down
4 changes: 2 additions & 2 deletions Base/Python/slicer/ScriptedLoadableModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def __init__(self, parent):
"""

parent.acknowledgementText = """
This work is supported by NA-MIC, NAC, BIRN, NCIGT, and the Slicer Community. See <a>http://www.slicer.org</a> for details.
This work is partially supported by PAR-07-249: R01CA131718 NA-MIC Virtual Colonoscopy (See <a href=http://www.slicer.org>http://www.na-mic.org/Wiki/index.php/NA-MIC_NCBC_Collaboration:NA-MIC_virtual_colonoscopy</a>).
This work is supported by NA-MIC, NAC, BIRN, NCIGT, and the Slicer Community. See <a>https://www.slicer.org</a> for details.
This work is partially supported by PAR-07-249: R01CA131718 NA-MIC Virtual Colonoscopy (See <a href=https://www.slicer.org>http://www.na-mic.org/Wiki/index.php/NA-MIC_NCBC_Collaboration:NA-MIC_virtual_colonoscopy</a>).
"""

# Set module icon from Resources/Icons/<ModuleName>.png
Expand Down
2 changes: 1 addition & 1 deletion Base/QTApp/qSlicerAboutDialog.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ qSlicerAboutDialog::qSlicerAboutDialog(QWidget* parentWidget)
+ " / " + slicer->repositoryRevision());
d->CreditsTextBrowser->append("");
d->CreditsTextBrowser->append("");
d->CreditsTextBrowser->insertHtml("<a href=\"http://download.slicer.org/\">Download</a> a newer version<br />");
d->CreditsTextBrowser->insertHtml("<a href=\"https://download.slicer.org/\">Download</a> a newer version<br />");
d->CreditsTextBrowser->append("");
}
else
Expand Down
16 changes: 8 additions & 8 deletions Base/QTCore/Testing/Cxx/qSlicerUtilsTest1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -763,30 +763,30 @@ int isLoadableModuleTest()
{
//! [replaceWikiUrlVersion example1]
CHECK_QSTRING(
qSlicerUtils::replaceWikiUrlVersion("http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/SlicerToKiwiExporter", "4.4"),
"http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.4/Extensions/SlicerToKiwiExporter");
qSlicerUtils::replaceWikiUrlVersion("https://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/SlicerToKiwiExporter", "4.4"),
"https://wiki.slicer.org/slicerWiki/index.php/Documentation/4.4/Extensions/SlicerToKiwiExporter");
//! [replaceWikiUrlVersion example1]

//! [replaceWikiUrlVersion example2]
CHECK_QSTRING(
qSlicerUtils::replaceWikiUrlVersion("http://wiki.slicer.org/slicerWiki/index.php/Documentation/Foo/Extensions/SlicerToKiwiExporter", "Bar"),
"http://wiki.slicer.org/slicerWiki/index.php/Documentation/Bar/Extensions/SlicerToKiwiExporter");
qSlicerUtils::replaceWikiUrlVersion("https://wiki.slicer.org/slicerWiki/index.php/Documentation/Foo/Extensions/SlicerToKiwiExporter", "Bar"),
"https://wiki.slicer.org/slicerWiki/index.php/Documentation/Bar/Extensions/SlicerToKiwiExporter");
//! [replaceWikiUrlVersion example2]

//! [replaceWikiUrlVersion example3]
CHECK_QSTRING(
qSlicerUtils::replaceWikiUrlVersion("http://wiki.slicer.org/slicerWiki/index.php/Documentation/Foo/Extensions/SlicerToKiwiExporter/Foo", "Bar"),
"http://wiki.slicer.org/slicerWiki/index.php/Documentation/Bar/Extensions/SlicerToKiwiExporter/Foo");
qSlicerUtils::replaceWikiUrlVersion("https://wiki.slicer.org/slicerWiki/index.php/Documentation/Foo/Extensions/SlicerToKiwiExporter/Foo", "Bar"),
"https://wiki.slicer.org/slicerWiki/index.php/Documentation/Bar/Extensions/SlicerToKiwiExporter/Foo");
//! [replaceWikiUrlVersion example3]

//! [replaceWikiUrlVersion example4]
QString input =
"Read documentation at "
"http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.4/Extensions/SlicerToKiwiExporter."
"https://wiki.slicer.org/slicerWiki/index.php/Documentation/4.4/Extensions/SlicerToKiwiExporter."
"You will learn how to ...";
QString expectedOutput =
"Read documentation at "
"http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/SlicerToKiwiExporter."
"https://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/SlicerToKiwiExporter."
"You will learn how to ...";
CHECK_QSTRING(qSlicerUtils::replaceWikiUrlVersion(input, "Nightly"), expectedOutput);
//! [replaceWikiUrlVersion example4]
Expand Down
2 changes: 1 addition & 1 deletion Base/QTCore/qSlicerAbstractCoreModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class Q_SLICER_BASE_QTCORE_EXPORT qSlicerAbstractCoreModule : public QObject
virtual void printAdditionalInfo();

/// Convenience method to return slicer wiki URL
QString slicerWikiUrl()const{ return "http://www.slicer.org/slicerWiki/index.php"; }
QString slicerWikiUrl()const{ return "https://www.slicer.org/slicerWiki/index.php"; }

/// Convenience method that returns a string that can be inserted into the application help text that contains
/// link to the module's documentation in current Slicer version's documentation on ReadTheDocs.
Expand Down
10 changes: 5 additions & 5 deletions Base/QTGUI/qSlicerApplication.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ class qSlicerApplicationPrivate : public qSlicerCoreApplicationPrivate

QPointer<qSlicerLayoutManager> LayoutManager;
ctkToolTipTrapper* ToolTipTrapper;
// If MainWindow exists and the dialog is displayed then the MainWindow
// must be set as parent to ensure correct Z order;
// If MainWindow exists and the dialog is displayed then the MainWindow
// must be set as parent to ensure correct Z order;
// but that also transfers the ownership of the object, therefore we use QPointer
// to keep track if the object is deleted already by the MainWindow.
QPointer<ctkSettingsDialog> SettingsDialog;
Expand Down Expand Up @@ -182,7 +182,7 @@ qSlicerApplicationPrivate::qSlicerApplicationPrivate(
qSlicerApplicationPrivate::~qSlicerApplicationPrivate()
{
// Delete settings dialog. deleteLater would cause memory leaks on exit.
// Settings dialog is displayed then MainWindow becomes its parent and
// Settings dialog is displayed then MainWindow becomes its parent and
// thus MainWindow is responsible for deleting it.
// Set the parent to 'nullptr' removes this responsibility.
if (this->SettingsDialog)
Expand Down Expand Up @@ -448,7 +448,7 @@ bool qSlicerApplication::notify(QObject *receiver, QEvent *event)
errorMessage += tr("Adding more RAM may fix this issue.\n\n");
}
errorMessage += tr("If you have a repeatable sequence of steps that causes this message, ");
errorMessage += tr("please report the issue following instructions available at http://slicer.org\n\n\n");
errorMessage += tr("please report the issue following instructions available at https://slicer.org\n\n\n");
errorMessage += tr("The message detail is:\n\n");
errorMessage += tr("Exception thrown in event: ") + exception.what();
qCritical() << errorMessage;
Expand All @@ -467,7 +467,7 @@ bool qSlicerApplication::notify(QObject *receiver, QEvent *event)
errorMessage = tr("%1 has caught an application error, ").arg(this->applicationName());
errorMessage += tr("please save your work and restart.\n\n");
errorMessage += tr("If you have a repeatable sequence of steps that causes this message, ");
errorMessage += tr("please report the issue following instructions available at http://slicer.org\n\n\n");
errorMessage += tr("please report the issue following instructions available at https://slicer.org\n\n\n");
errorMessage += tr("The message detail is:\n\n");
errorMessage += tr("Exception thrown in event: ") + exception.what();
qCritical() << errorMessage;
Expand Down
2 changes: 1 addition & 1 deletion CMake/SlicerCTestUploadURL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# Supported hash algorithms depends on the version of CMake.
# See https://cmake.org/cmake/help/latest/command/string.html#supported-hash-algorithms
#
# FILEPATH
# FILEPATH
# File for computing the cryptographic hash and substituting ``%(hash)`` in
# specified URL template.
#
Expand Down
2 changes: 1 addition & 1 deletion CMake/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Paste the following commands into a shell:
./Utilities/SetupForDevelopment.sh
See
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit
https://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit
for more information.'
exit 1
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set(Slicer_CMAKE_DIR ${Slicer_SOURCE_DIR}/CMake)
set(Slicer_EXTENSIONS_CMAKE_DIR ${Slicer_SOURCE_DIR}/Extensions/CMake)

#-----------------------------------------------------------------------------
# http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit
# https://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit
#-----------------------------------------------------------------------------
include(SlicerCheckSourceTree)

Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

For more information, please see:
http://www.slicer.org
https://www.slicer.org
and
http://wiki.na-mic.org/Wiki/index.php/Slicer3

Expand Down
8 changes: 4 additions & 4 deletions Docs/developer_guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Check out these [developer tutorials](https://www.slicer.org/wiki/Documentation/
## C++

Majority of Slicer core modules and all basic infrastructure are implemented in C++.
Documentation of these classes are available at: http://apidocs.slicer.org/master
Documentation of these classes are available at: https://apidocs.slicer.org/master

## Python

Expand All @@ -30,11 +30,11 @@ vtkITK
### Doxygen-style documentation

Slicer core infrastructure is mostly implemented in C++ and it is made available in Python in the `slicer` namespace.
Documentation of these classes is available at: http://apidocs.slicer.org/master/
Documentation of these classes is available at: https://apidocs.slicer.org/master/

C++ classes are made available in Python using two mechanisms: PythonQt and VTK Python wrapper. They have a few slight differences:
- Qt classes (class name starts with `q` or `Q`): for example, [qSlicerMarkupsPlaceWidget](http://apidocs.slicer.org/master/classqSlicerMarkupsPlaceWidget.html). These classes are all derived from QObject and follow [Qt](https://www.qt.io/) conventions. They support properties, signals, and slots.
- VTK classes (class name starts with `vtk`): for example, [vtkMRMLModelDisplayNode](http://apidocs.slicer.org/master/classvtkMRMLModelDisplayNode.html). These classes are all derived from vtkObject and follow [VTK](https://vtk.org/) conventions.
- Qt classes (class name starts with `q` or `Q`): for example, [qSlicerMarkupsPlaceWidget](https://apidocs.slicer.org/master/classqSlicerMarkupsPlaceWidget.html). These classes are all derived from QObject and follow [Qt](https://www.qt.io/) conventions. They support properties, signals, and slots.
- VTK classes (class name starts with `vtk`): for example, [vtkMRMLModelDisplayNode](https://apidocs.slicer.org/master/classvtkMRMLModelDisplayNode.html). These classes are all derived from vtkObject and follow [VTK](https://vtk.org/) conventions.

This documentation is generated using the Doxygen tool, which uses C++ syntax. The following rules can help in interpreting this documentation for Python:

Expand Down
6 changes: 3 additions & 3 deletions Docs/developer_guide/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Extension documentation examples:
- [SegmentMesher](https://github.com/lassoan/SlicerSegmentMesher)
- [SequenceRegistration](https://github.com/moselhy/SlicerSequenceRegistration)
- [AI-assisted annotation client](https://github.com/NVIDIA/ai-assisted-annotation-client/tree/master/slicer-plugin)
- [SlicerDMRI](http://dmri.slicer.org/) - large extension documented using Github pages
- [SlicerDMRI](https://dmri.slicer.org/) - large extension documented using Github pages

Thumbnails to YouTube videos can be generated by downloading the image from [here](https://img.youtube.com/vi/your-youtube-video-id/0.jpg) and adding a playback button using [this free service](http://addplaybuttontoimage.way4info.net/) (the second red arrow is recommended).

Expand Down Expand Up @@ -564,7 +564,7 @@ if(NOT Slicer_SOURCE_DIR)
set(EXTENSION_CONTRIBUTORS "Jean-Christophe Fillion-Robin (Kitware)")
set(EXTENSION_DESCRIPTION "This is an example of extension bundling N module(s)")
set(EXTENSION_ICONURL "http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Extensions/Testing/EmptyExtensionTemplate/EmptyExtensionTemplate.png?revision=21746&view=co")
set(EXTENSION_SCREENSHOTURLS "http://www.slicer.org/w/img_auth.php/4/42/Slicer-r19441-EmptyExtensionTemplate-screenshot.png")
set(EXTENSION_SCREENSHOTURLS "https://www.slicer.org/w/img_auth.php/4/42/Slicer-r19441-EmptyExtensionTemplate-screenshot.png")
endif()
if(NOT Slicer_SOURCE_DIR)
Expand Down Expand Up @@ -592,7 +592,7 @@ set(EXTENSION_HOMEPAGE "https://www.slicer.org/wiki/Documentation/Nightly/Extens
set(EXTENSION_CONTRIBUTORS "Jean-Christophe Fillion-Robin (Kitware)")
set(EXTENSION_DESCRIPTION "This is an example of empty extension")
set(EXTENSION_ICONURL "http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Extensions/Testing/EmptyExtensionTemplate/EmptyExtensionTemplate.png?revision=21746&view=co")
set(EXTENSION_SCREENSHOTURLS "http://www.slicer.org/w/img_auth.php/4/42/Slicer-r19441-EmptyExtensionTemplate-screenshot.png")
set(EXTENSION_SCREENSHOTURLS "https://www.slicer.org/w/img_auth.php/4/42/Slicer-r19441-EmptyExtensionTemplate-screenshot.png")
find_package(Slicer REQUIRED)
include(${Slicer_USE_FILE})
Expand Down
2 changes: 1 addition & 1 deletion Docs/developer_guide/modules/colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Color table file format (.txt, .ctbl)

The color file format can store a [color node](http://apidocs.slicer.org/master/classvtkMRMLColorNode.html) in a plain text file with the `.txt` or `.ctbl` extension. It is a text file with values separated by space, with a custom header to specify lookup table type. Header lines are prefixed with `#`.
The color file format can store a [color node](https://apidocs.slicer.org/master/classvtkMRMLColorNode.html) in a plain text file with the `.txt` or `.ctbl` extension. It is a text file with values separated by space, with a custom header to specify lookup table type. Header lines are prefixed with `#`.

### Discrete scale color lookup table

Expand Down
Loading

0 comments on commit f4f2697

Please sign in to comment.