From f92f08ff23dbda568ef66fea4fbc2216249f60e1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 21 Feb 2022 13:05:24 +0900 Subject: [PATCH] [DOC] Set the documentation title and main page Copied from https://github.com/ruby/docs.ruby-lang.org/ to be as same as docs.ruby-lang.org. --- .rdoc_options | 2 ++ common.mk | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.rdoc_options b/.rdoc_options index 88db0774e7..760507c7a2 100644 --- a/.rdoc_options +++ b/.rdoc_options @@ -1,2 +1,4 @@ --- page_dir: doc +main_page: README.md +title: Documentation for Ruby development version diff --git a/common.mk b/common.mk index 5af9d92571..99e11c215d 100644 --- a/common.mk +++ b/common.mk @@ -70,7 +70,9 @@ RDOCOUT = $(EXTOUT)/rdoc HTMLOUT = $(EXTOUT)/html CAPIOUT = doc/capi INSTALL_DOC_OPTS = --rdoc-output="$(RDOCOUT)" --html-output="$(HTMLOUT)" -RDOC_GEN_OPTS = --page-dir "$(srcdir)/doc" --no-force-update +RDOC_GEN_OPTS = --page-dir "$(srcdir)/doc" --no-force-update \ + --title "Documentation for Ruby $(RUBY_API_VERSION)" \ + --main README.md INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT) NORMALMAINOBJ = main.$(OBJEXT)