From 48b7ac47850d5f26474bf1deb49cf2a27700cab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= Date: Sun, 2 Jan 2022 22:53:45 +0100 Subject: [PATCH 1/2] Add a stub for a Downloads landing page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcus Müller --- content/getting-GNU-Radio/_index.md | 15 ++++ content/getting-GNU-Radio/linux/_index.md | 10 +++ content/getting-GNU-Radio/osx/_index.md | 12 +++ content/getting-GNU-Radio/others/_index.md | 6 ++ content/getting-GNU-Radio/win/_index.md | 16 ++++ layouts/getting-GNU-Radio/os-selector.html | 89 ++++++++++++++++++++++ 6 files changed, 148 insertions(+) create mode 100644 content/getting-GNU-Radio/_index.md create mode 100644 content/getting-GNU-Radio/linux/_index.md create mode 100644 content/getting-GNU-Radio/osx/_index.md create mode 100644 content/getting-GNU-Radio/others/_index.md create mode 100644 content/getting-GNU-Radio/win/_index.md create mode 100644 layouts/getting-GNU-Radio/os-selector.html diff --git a/content/getting-GNU-Radio/_index.md b/content/getting-GNU-Radio/_index.md new file mode 100644 index 0000000..c83199a --- /dev/null +++ b/content/getting-GNU-Radio/_index.md @@ -0,0 +1,15 @@ +--- +type: getting-GNU-Radio +title: "Getting GNU Radio" +description: "GNU Radio is easily installable on Windows, Linux, Mac OS X and other operating systems" +layout: os-selector +aliases: ["Getting GNU Radio", "download"] +operating-systems: + - linux + - osx + - win + - other +--- + +GNU Radio has preferred installation methods for most operating systems. Pick yours! + diff --git a/content/getting-GNU-Radio/linux/_index.md b/content/getting-GNU-Radio/linux/_index.md new file mode 100644 index 0000000..09e8cda --- /dev/null +++ b/content/getting-GNU-Radio/linux/_index.md @@ -0,0 +1,10 @@ +--- +title: Linux +operating-system: linux +fa_icon: fab fa-linux +download-link: http://example.com +--- + +Linux is traditionally the best-supported operating system for GNU Radio. The preferred installation method hence is typically installation through your Linux distribution's own package manager. + +Make sure your Linux distribution is up to date – outdated distributions ship outdated versions of GNU Radio. The **minimum supported version** of GNU Radio is 3.8. 3.7 and before are End-of-Life. diff --git a/content/getting-GNU-Radio/osx/_index.md b/content/getting-GNU-Radio/osx/_index.md new file mode 100644 index 0000000..066baab --- /dev/null +++ b/content/getting-GNU-Radio/osx/_index.md @@ -0,0 +1,12 @@ +--- +title: Mac OS X +longtitle: Mac OS X on x86_64-based Macs +operating-system: osx +fa_icon: fab fa-apple +downloadlinks: +- MacPorts: https://wiki.gnuradio.org/index.php/MacInstall#Via_MacPorts_.28recommended.29 +- "radioconda for x86-based Macs (graphical installation)": https://glare.now.sh/ryanvolz/radioconda/radioconda-.*-MacOSX-x86_64.pkg +- "radioconda for x86-based Macs (command line)": https://glare.now.sh/ryanvolz/radioconda/radioconda-.*-MacOSX-x86_64.sh +--- + +The recommended method for OS X is … diff --git a/content/getting-GNU-Radio/others/_index.md b/content/getting-GNU-Radio/others/_index.md new file mode 100644 index 0000000..b0291f7 --- /dev/null +++ b/content/getting-GNU-Radio/others/_index.md @@ -0,0 +1,6 @@ +--- +title: Other +longtitle: Other platforms +operating-system: other +fa_icon: far fa-question-circle +--- diff --git a/content/getting-GNU-Radio/win/_index.md b/content/getting-GNU-Radio/win/_index.md new file mode 100644 index 0000000..9ef43e0 --- /dev/null +++ b/content/getting-GNU-Radio/win/_index.md @@ -0,0 +1,16 @@ +--- +title: Microsoft Windows +longtitle: Microsoft Windows 8.1, 10 or 11 +operating-system: win +fa_icon: fab fa-windows +downloadlinks: +- "radioconda (graphical installation)": https://glare.now.sh/ryanvolz/radioconda/radioconda-.*-Windows-x86_64.exe +--- + +After having installed radioconda, you'll find a "radioconda" start menu entry. There, you'll find + +- GNU Radio Companion, the graphical interface to GNU Radio flow graph design + (you'll want to start here!), and +- Conda Prompt, a shell where all relevant settings are done, should you need or + decide to install additional software, or build GNU Radio Out-of-Tree (OOT) + Modules. diff --git a/layouts/getting-GNU-Radio/os-selector.html b/layouts/getting-GNU-Radio/os-selector.html new file mode 100644 index 0000000..b1f16a5 --- /dev/null +++ b/layouts/getting-GNU-Radio/os-selector.html @@ -0,0 +1,89 @@ +{{ define "header" }} + +{{ end }} +{{ define "main" }} +
+
+
+
+ {{ .Content }} +
+
+
+ {{ range $index, $os := (index .Params "operating-systems") }} + {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} +
+
+ + {{ with .Params.fa_icon }} +

+ {{ end }} + {{ with .Params.logo }} + Logo of {{.Params.title}} + {{ end }} +
+
+
+ + {{ .Params.title }} + +
+

+ {{ with .Params.longtitle }} + {{ . }} + {{ else }} +   + {{ end }} +

+
+
+
+ {{ end }} + {{ end }} +
+
+ {{ range $index, $os := (index .Params "operating-systems") }} + {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} +
+
+

+ {{ .Title }} +

+
+
+ +
+
+ {{ end }} +
+
+
+
+
+{{ end }} From 43ac697f15d95c8852af3efcb5340e14442982c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= Date: Sun, 2 Jan 2022 23:44:36 +0100 Subject: [PATCH 2/2] Let emacs have its way with indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcus Müller --- layouts/getting-GNU-Radio/os-selector.html | 156 ++++++++++----------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/layouts/getting-GNU-Radio/os-selector.html b/layouts/getting-GNU-Radio/os-selector.html index b1f16a5..1a6f8d4 100644 --- a/layouts/getting-GNU-Radio/os-selector.html +++ b/layouts/getting-GNU-Radio/os-selector.html @@ -6,84 +6,84 @@

{{ .Title }}

{{ end }} {{ define "main" }}
-
-
-
- {{ .Content }} -
-
-
- {{ range $index, $os := (index .Params "operating-systems") }} - {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} -
-
- - {{ with .Params.fa_icon }} -

- {{ end }} - {{ with .Params.logo }} - Logo of {{.Params.title}} - {{ end }} -
-
-
- - {{ .Params.title }} - -
-

- {{ with .Params.longtitle }} - {{ . }} - {{ else }} -   - {{ end }} -

-
-
-
+
+
+
+ {{ .Content }} +
+
+
+ {{ range $index, $os := (index .Params "operating-systems") }} + {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} +
+
+ + {{ with .Params.fa_icon }} +

+ {{ end }} + {{ with .Params.logo }} + Logo of {{.Params.title}} + {{ end }} +
+
+
+ + {{ .Params.title }} + +
+

+ {{ with .Params.longtitle }} + {{ . }} + {{ else }} +   + {{ end }} +

+
+
+
{{ end }} - {{ end }} -
-
- {{ range $index, $os := (index .Params "operating-systems") }} - {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} -
-
-

- {{ .Title }} -

-
-
- -
-
- {{ end }} -
-
-
-
+ {{ end }} +
+
+ {{ range $index, $os := (index .Params "operating-systems") }} + {{ range (where $.Pages.ByWeight "Params.operating-system" $os) }} +
+
+

+ {{ .Title }} +

+
+
+ +
+
+ {{ end }} +
+
+
+
{{ end }}