docs: move license and source code section to end of index.org master
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 11 Oct 2026 07:54:36 +0000 (10:54 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 11 Oct 2026 07:54:36 +0000 (10:54 +0300)
- Replaces the top-level "General" heading with a "Source code"
  section at the bottom of the page, so the introduction leads the
  document instead of licensing boilerplate
- Also renames "Tools/open with IntelliJ IDEA" to use a capital O

Documentation/index.org
Tools/Open with IntelliJ IDEA [new file with mode: 0755]
Tools/open with IntelliJ IDEA [deleted file]

index fedd6a9..44e5fbb 100644 (file)
 #+end_export
 
 
-* General
-- This program is free software: released under Creative Commons Zero
-  (CC0) license
-
-- Program author:
-  - Svjatoslav Agejenko
-  - Homepage: https://svjatoslav.eu
-  - Email: mailto://svjatoslav@svjatoslav.eu
-
-- [[https://www.svjatoslav.eu/projects/][Other software projects hosted at svjatoslav.eu]]
-
-** Source code
-- [[https://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=snapshot;h=HEAD;sf=tgz][Download latest snapshot in TAR GZ format]]
-
-- [[https://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=summary][Browse Git repository online]]
-
-- Clone Git repository using command:
-  : git clone https://www3.svjatoslav.eu/git/fifth.git
-
 * Introduction
 
 Fifth is self-hosting hobby computing environment that integrates a
@@ -357,3 +338,21 @@ representation as the [[id:9a66ca9c-eb5f-45aa-8116-71763081f2fb][sin]] function.
 2000 units), and outputs range from -10000 to 10000. Precomputed
 values in a lookup table ensure high performance for trigonometric
 calculations.
+* Source code
+
+*This program is free software: released under Creative Commons Zero
+(CC0) license*
+
+*Program author:*
+- Svjatoslav Agejenko
+- Homepage: https://svjatoslav.eu
+- Email: mailto://svjatoslav@svjatoslav.eu
+- See also: [[https://www.svjatoslav.eu/projects/][Other software projects hosted at svjatoslav.eu]]
+
+
+*Getting the source code:*
+- [[https://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=snapshot;h=HEAD;sf=tgz][Download latest source code snapshot in TAR GZ format]]
+- [[https://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=summary][Browse Git repository online]]
+- Clone Git repository using command:
+  : git clone https://www3.svjatoslav.eu/git/fifth.git
+
diff --git a/Tools/Open with IntelliJ IDEA b/Tools/Open with IntelliJ IDEA
new file mode 100755 (executable)
index 0000000..304bf94
--- /dev/null
@@ -0,0 +1,54 @@
+#!/bin/bash
+
+# This script launches IntelliJ IDEA with the current project
+# directory. The script is designed to be run by double-clicking it in
+# the GNOME Nautilus file manager.
+
+# First, we change the current working directory to the directory of
+# the script.
+
+# "${0%/*}" gives us the path of the script itself, without the
+# script's filename.
+
+# This command basically tells the system "change the current
+# directory to the directory containing this script".
+
+cd "${0%/*}"
+
+# Then, we move up one directory level.
+# The ".." tells the system to go to the parent directory of the current directory.
+# This is done because we assume that the project directory is one level up from the script.
+cd ..
+
+# Now, we use the 'setsid' command to start a new session and run
+# IntelliJ IDEA in the background. 'setsid' is a UNIX command that
+# runs a program in a new session.
+
+# The command 'idea .' opens IntelliJ IDEA with the current directory
+# as the project directory.  The '&' at the end is a UNIX command that
+# runs the process in the background.  The '> /dev/null' part tells
+# the system to redirect all output (both stdout and stderr, denoted
+# by '&') that would normally go to the terminal to go to /dev/null
+# instead, which is a special file that discards all data written to
+# it.
+
+setsid idea . &>/dev/null &
+
+# The 'disown' command is a shell built-in that removes a shell job
+# from the shell's active list. Therefore, the shell will not send a
+# SIGHUP to this particular job when the shell session is terminated.
+
+# '-h' option specifies that if the shell receives a SIGHUP, it also
+# doesn't send a SIGHUP to the job.
+
+# '$!' is a shell special parameter that expands to the process ID of
+# the most recent background job.
+disown -h $!
+
+
+sleep 2
+
+# Finally, we use the 'exit' command to terminate the shell script.
+# This command tells the system to close the terminal window after
+# IntelliJ IDEA has been opened.
+exit
diff --git a/Tools/open with IntelliJ IDEA b/Tools/open with IntelliJ IDEA
deleted file mode 100755 (executable)
index 304bf94..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-# This script launches IntelliJ IDEA with the current project
-# directory. The script is designed to be run by double-clicking it in
-# the GNOME Nautilus file manager.
-
-# First, we change the current working directory to the directory of
-# the script.
-
-# "${0%/*}" gives us the path of the script itself, without the
-# script's filename.
-
-# This command basically tells the system "change the current
-# directory to the directory containing this script".
-
-cd "${0%/*}"
-
-# Then, we move up one directory level.
-# The ".." tells the system to go to the parent directory of the current directory.
-# This is done because we assume that the project directory is one level up from the script.
-cd ..
-
-# Now, we use the 'setsid' command to start a new session and run
-# IntelliJ IDEA in the background. 'setsid' is a UNIX command that
-# runs a program in a new session.
-
-# The command 'idea .' opens IntelliJ IDEA with the current directory
-# as the project directory.  The '&' at the end is a UNIX command that
-# runs the process in the background.  The '> /dev/null' part tells
-# the system to redirect all output (both stdout and stderr, denoted
-# by '&') that would normally go to the terminal to go to /dev/null
-# instead, which is a special file that discards all data written to
-# it.
-
-setsid idea . &>/dev/null &
-
-# The 'disown' command is a shell built-in that removes a shell job
-# from the shell's active list. Therefore, the shell will not send a
-# SIGHUP to this particular job when the shell session is terminated.
-
-# '-h' option specifies that if the shell receives a SIGHUP, it also
-# doesn't send a SIGHUP to the job.
-
-# '$!' is a shell special parameter that expands to the process ID of
-# the most recent background job.
-disown -h $!
-
-
-sleep 2
-
-# Finally, we use the 'exit' command to terminate the shell script.
-# This command tells the system to close the terminal window after
-# IntelliJ IDEA has been opened.
-exit