changeset 255:bdfeef18fc48

Improve Savannah hosting script. * Makefile: use dedicated config for Savannah * _config_Savannah.yml: new config.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 13 Jul 2021 13:50:55 +0900
parents 913a36644f74
children 6a6756f4efbf
files Makefile _config_Savannah.yml
diffstat 2 files changed, 41 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jul 13 13:44:54 2021 +0900
+++ b/Makefile	Tue Jul 13 13:50:55 2021 +0900
@@ -13,7 +13,7 @@
 	# Build static website into the subdirectory `_site` using Jekyll via
 	# Bundler
 	#
-	bundle exec jekyll build
+	bundle exec jekyll build --config _config_Savannah.yml
 	#
 	# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
 	# DANGEROUS STEP, omitted by default.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/_config_Savannah.yml	Tue Jul 13 13:50:55 2021 +0900
@@ -0,0 +1,40 @@
+title: GNU Octave
+email: octave-maintainers@gnu.org
+description: >- # this means to ignore newlines until "baseurl:"
+  GNU Octave is a programming language for scientific computing.
+
+# For GNU Savannah <https://www.gnu.org/software/octave>
+url: "https://www.gnu.org"  # the base hostname & protocol for your site
+baseurl: "/software/octave"
+
+# For GitHub pages
+#url: "https://gnu-octave.github.io"
+
+discourse_url: "https://octave.discourse.group/"
+wiki_url: "https://wiki.octave.org"
+faq_url: "https://wiki.octave.org/faq"
+docs_url: "https://octave.org/doc/latest/"
+bugs_url: "https://bugs.octave.org/"
+sourceforge_url: "https://octave.sourceforge.io"
+packages_url: "https://gnu-octave.github.io/packages/"
+maintainers_email: "octave-maintainers@gnu.org"
+help_email: "help-octave@gnu.org"
+timezone: "UTC0"
+
+# Build settings
+markdown: kramdown
+highlighter: rouge
+kramdown:
+  input: GFM
+  syntax_highlighter: rouge
+
+# Empty 'include' list overrides the default setting `include: [".htaccess"]`.
+# See <https://github.com/jekyll/jekyll/issues/3958>.
+include: []
+
+exclude:
+  - Gemfile
+  - Gemfile.lock
+  - Makefile
+  - README.md
+#  - .htaccess  # Needed for GNU Savannah