From 97601056f5209007ac6dd70abb379fe8dde6ed4d Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 22 Apr 2016 02:31:26 +0900 Subject: [PATCH] doc: Fix sentences --- _docs/index.tmpl.html | 13 +++++++------ _docs/public/examples/piano.html | 3 +++ _docs/public/index.html | 13 +++++++------ 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index c5fdb7698..472f81dd9 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -21,8 +21,9 @@ pre { padding: 1em; } +Fork me on GitHub

Ebiten (海老天)

-

v{{.StableVersion}}

+

Stable version: v{{.StableVersion}} / Development version: v{{.DevVersion}}

  • GoDoc Reference
  • -
  • GitHub project page (Development version: v{{.DevVersion}})
  • Features

    @@ -109,16 +109,17 @@ pre {
  • Linux
  • -
  • Drawing +
  • Graphics
  • -
  • Audio +
  • Audio
  • Others diff --git a/_docs/public/examples/piano.html b/_docs/public/examples/piano.html index 0a9739a56..b202f38bf 100644 --- a/_docs/public/examples/piano.html +++ b/_docs/public/examples/piano.html @@ -114,6 +114,9 @@ func (s *stream) Close() error { } func addNote(freq float64, vol float64) error { + // TODO: Call Close method of *audio.Player. + // However, this works without Close because Close is automatically called when GC + // collects a *audio.Player object. f := int(freq) if n, ok := noteCache[f]; ok { p, err := audio.NewPlayer(audioContext, &stream{bytes.NewReader(n)}) diff --git a/_docs/public/index.html b/_docs/public/index.html index 910d234eb..9dd3e466c 100644 --- a/_docs/public/index.html +++ b/_docs/public/index.html @@ -35,8 +35,9 @@ pre { padding: 1em; } +Fork me on GitHub

    Ebiten (海老天)

    -

    v1.3.0-alpha

    +

    Stable version: v1.3.0-alpha / Development version: v1.3.0-alpha

  • GoDoc Reference
  • -
  • GitHub project page (Development version: v1.3.0-alpha)
  • Features

    @@ -121,16 +121,17 @@ pre {
  • Linux
  • -
  • Drawing +
  • Graphics
  • -
  • Audio +
  • Audio
  • Others