about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-04-21 23:02:17 +0000
committerEric Wong <e@80x24.org>2019-04-21 23:18:19 +0000
commitf8827ed449bb48806105b8fdcdf77e7acaa526eb (patch)
tree441ecf79c353395559257c9ce8c50f54c741726b
parent390497135ac2c970ba5c042e80c140cc5a323cce (diff)
downloadyahns-f8827ed449bb48806105b8fdcdf77e7acaa526eb.tar.gz
I've gotten cgit to work well for browsers without CSS
support (patches posted to <cgit@lists.zx2c4.com>).
For browsers with CSS support, the color scheme
is now dark and can help save electricity for users
of OLED and CRT displays.
-rw-r--r--README2
-rw-r--r--lib/yahns.rb5
-rw-r--r--lib/yahns/config.rb4
-rw-r--r--yahns.gemspec2
4 files changed, 7 insertions, 6 deletions
diff --git a/README b/README
index 68ed39d..0e4bc4a 100644
--- a/README
+++ b/README
@@ -71,7 +71,7 @@ This README is our homepage, we would rather be working on HTTP servers
 all day than worrying about the next browser vulnerability because
 HTML/CSS/JS is too complicated for us.
 
-* https://yhbt.net/yahns/README
+* https://yhbt.net/yahns.git/about/
 
 Hacking
 -------
diff --git a/lib/yahns.rb b/lib/yahns.rb
index 21464ca..08945ef 100644
--- a/lib/yahns.rb
+++ b/lib/yahns.rb
@@ -17,8 +17,9 @@ require 'io/wait'
 end
 
 # yahns exposes no user-visible API outside of the config file.
-# See https://yhbt.net/yahns/yahns_config.txt for the config documentation
-# and https://yhbt.net/yahns/ for the homepage.
+# See https://yhbt.net/yahns.git/tree/examples/yahns_config.txt
+# for the config documentation
+# and https://yhbt.net/yahns.git/about/ for the homepage.
 # Internals are subject to change.
 
 module Yahns
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index e64cb77..441d3f9 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -4,8 +4,8 @@
 # frozen_string_literal: true
 #
 # Implements a DSL for configuring a yahns server.
-# See https://yhbt.net/yahns/examples/yahns_multi.conf.rb for a full
-# example configuration file.
+# See https://yhbt.net/yahns.git/tree/examples/yahns_multi.conf.rb
+# for a full example configuration file.
 class Yahns::Config # :nodoc:
   # public within yahns itself, NOT a public interface for users outside
   # of yahns.  See yahns/rack for usage example
diff --git a/yahns.gemspec b/yahns.gemspec
index b4af5b5..5752ad8 100644
--- a/yahns.gemspec
+++ b/yahns.gemspec
@@ -28,6 +28,6 @@ Gem::Specification.new do |s|
   # for Rack::Utils::HeaderHash#each
   s.add_development_dependency(%q<rack>, '>= 1.1')
 
-  s.homepage = 'https://yhbt.net/yahns/README'
+  s.homepage = 'https://yhbt.net/yahns.git/about/'
   s.licenses = "GPL-3.0+"
 end