From f8827ed449bb48806105b8fdcdf77e7acaa526eb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 21 Apr 2019 23:02:17 +0000 Subject: doc: update homepage to point to cgit install I've gotten cgit to work well for browsers without CSS support (patches posted to ). For browsers with CSS support, the color scheme is now dark and can help save electricity for users of OLED and CRT displays. --- README | 2 +- lib/yahns.rb | 5 +++-- lib/yahns/config.rb | 4 ++-- yahns.gemspec | 2 +- 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, '>= 1.1') - s.homepage = 'https://yhbt.net/yahns/README' + s.homepage = 'https://yhbt.net/yahns.git/about/' s.licenses = "GPL-3.0+" end -- cgit v1.2.3-24-ge0c7