From ef78d330b661f7548fb531b72a6866567a08f5ad Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Tue, 26 Jul 2016 09:41:58 -0400 Subject: [PATCH] Move docs for racket/gui/init and racket/gui/interactive Previously they were part of the base repo. --- gui-doc/scribblings/gui/gui.scrbl | 1 + gui-doc/scribblings/gui/init.scrbl | 26 ++++++++++++++++++++++++++ gui-lib/info.rkt | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 gui-doc/scribblings/gui/init.scrbl diff --git a/gui-doc/scribblings/gui/gui.scrbl b/gui-doc/scribblings/gui/gui.scrbl index 43ec381e..e66fac6f 100644 --- a/gui-doc/scribblings/gui/gui.scrbl +++ b/gui-doc/scribblings/gui/gui.scrbl @@ -52,6 +52,7 @@ Both parts of the toolbox rely extensively on the @include-section["prefs.scrbl"] @include-section["dynamic.scrbl"] @include-section["startup.scrbl"] +@include-section["init.scrbl"] @include-section["libs.scrbl"] @;------------------------------------------------------------------------ diff --git a/gui-doc/scribblings/gui/init.scrbl b/gui-doc/scribblings/gui/init.scrbl new file mode 100644 index 00000000..04ff4cbd --- /dev/null +++ b/gui-doc/scribblings/gui/init.scrbl @@ -0,0 +1,26 @@ +#lang scribble/doc +@(require "common.rkt" + (for-label racket/gui/dynamic racket/pretty racket/gui/base setup/dirs)) + +@title{Init Libraries} + +@defmodule*/no-declare[(racket/gui/init)]{The +@racketmodname[racket/gui/init] library is the default start-up +library for GRacket. It re-exports the @racketmodname[racket/init] and +@racketmodname[racket/gui/base] libraries, and it sets +@racket[current-load] to use @racket[text-editor-load-handler].} + +@defmodule*/no-declare[(racket/gui/interactive)]{ + Similar to @racketmodname[racket/gui/interactive], but for + GRacket. This library can be changed by modifying + @racket['gui-interactive-file] in the @filepath{config.rktd} + file in @racket[(find-config-dir)]. + + This library runs the + @racket[(find-graphical-system-path 'init-file)] file in + the users home directory if it exists, rather than their + @racket[(find-system-path 'init-file)]. Unlike + @racketmodname[racket/interactive], this library does not + start @racketmodname[xrepl]. + + @history[#:added "1.27"]} diff --git a/gui-lib/info.rkt b/gui-lib/info.rkt index e275ac6b..ab3026cd 100644 --- a/gui-lib/info.rkt +++ b/gui-lib/info.rkt @@ -30,4 +30,4 @@ (define pkg-authors '(mflatt robby)) -(define version "1.26") +(define version "1.27")