Skip to content

Commit

Permalink
Fix download links now broken in Spyder 6 & fix error w/stylelint (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 authored Sep 4, 2024
2 parents 6951e02 + 6767009 commit 5f68368
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ repos:
- 'stylelint-declaration-block-no-ignored-properties@2.7.0'
- 'stylelint-no-unsupported-browser-features@7.0.0'
- 'stylelint-order@6.0.3'
# Pin to avoid no-unsupported-browser-features error breaking stylelint
# Should be fixed soon; see
# https://github.com/RJWadley/stylelint-no-unsupported-browser-features/issues/299
- 'caniuse-lite@1.0.30001653'

# Pretty-format INI
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
Expand Down
10 changes: 9 additions & 1 deletion doc/_static/css/custom_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ table.installer-table tbody td p::before {
font-family: "Font Awesome 5 Brands";
}

table.installer-table tbody td:nth-child(1) p {
table.installer-table tbody td:nth-child(1) p,
table.installer-table tbody td:nth-child(4) p {
padding-top: 0.62em;
}

Expand All @@ -314,6 +315,13 @@ table.installer-table tbody td:nth-child(3) p::before {
vertical-align: sub;
}

table.installer-table tbody td:nth-child(4) p::before {
content: "\f17c";
font-size: 1.6em;
padding-right: 0.5em;
vertical-align: middle;
}

@media screen and (max-width: 991px) {
table.installer-table td {
display: block;
Expand Down
15 changes: 8 additions & 7 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ On macOS, open the disk image and drag Spyder to your :guilabel:`Applications` f

.. table::

================ ================ ================
`Windows`_ `macOS M1`_ `macOS Intel`_
================ ================ ================

.. _Windows: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder_64bit_full.exe
.. _macOS M1: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder_arm64.dmg
.. _macOS Intel: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder.dmg
================ ================ ================ ================
`Windows`_ `macOS M1`_ `macOS Intel`_ `Linux`_
================ ================ ================ ================

.. _Windows: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder-Windows-x86_64.exe
.. _macOS M1: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder-macOS-arm64.pkg
.. _macOS Intel: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder-macOS-x86_64.pkg
.. _Linux: https://github.com/spyder-ide/spyder/releases/latest/download/Spyder-Linux-x86_64.sh

.. note::

Expand Down
2 changes: 1 addition & 1 deletion doc/videos/first-steps-with-spyder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Discover the basics of using the Spyder interface and get an introduction to its

Hello everyone! I'm Juanita, and in this video I'm going to show you how to open Spyder and go over the basics of Spyder's interface. We will learn about Spyder's four panes that you'll likely be using most often, as well as briefly explore the others that are open by default. If you don't have Spyder installed and would like to follow along, you can `download it here`_.

.. _download it here: https://www.spyder-ide.org/#section-download
.. _download it here: https://www.spyder-ide.org/

The easiest way to open Spyder is by opening Anaconda Navigator and clicking on the Spyder application. In case you have an older version of Spyder in Anaconda, open the command line (or the Anaconda Prompt in the case of Windows) and type the commands:

Expand Down

0 comments on commit 5f68368

Please sign in to comment.