From null+ranguba at clear-code.com Mon Sep 3 02:43:44 2012 From: null+ranguba at clear-code.com (Haruka Yoshihara) Date: Mon, 03 Sep 2012 11:43:44 +0900 Subject: [groonga-commit:4680] ranguba/ranguba.org [gh-pages] Add documents of Packnga Message-ID: <20120903024443.5B9C4940C17@jenkins.clear-code.com> Haruka Yoshihara 2012-09-03 11:43:44 +0900 (Mon, 03 Sep 2012) New Revision: 641075123da8a1fd7a395f3129ae51d45352a6f4 https://github.com/ranguba/ranguba.org/commit/641075123da8a1fd7a395f3129ae51d45352a6f4 Log: Add documents of Packnga Added files: packnga/.htaccess packnga/en/Packnga.html packnga/en/Packnga/DocumentTask.html packnga/en/Packnga/ReferenceTask.html packnga/en/Packnga/ReleaseTask.html packnga/en/Packnga/YARDTask.html packnga/en/_index.html packnga/en/class_list.html packnga/en/css/common.css packnga/en/css/full_list.css packnga/en/css/style.css packnga/en/file.README.html packnga/en/file.lgpl.html packnga/en/file.news.html packnga/en/file.release.html packnga/en/file.tutorial.html packnga/en/file_list.html packnga/en/frames.html packnga/en/index.html packnga/en/js/app.js packnga/en/js/full_list.js packnga/en/js/jquery.js packnga/en/method_list.html packnga/en/top-level-namespace.html packnga/ja/Packnga.html packnga/ja/Packnga/DocumentTask.html packnga/ja/Packnga/ReferenceTask.html packnga/ja/Packnga/ReleaseTask.html packnga/ja/Packnga/YARDTask.html packnga/ja/_index.html packnga/ja/class_list.html packnga/ja/css/common.css packnga/ja/css/full_list.css packnga/ja/css/style.css packnga/ja/file.README.html packnga/ja/file.lgpl.html packnga/ja/file.news.html packnga/ja/file.release.html packnga/ja/file.tutorial.html packnga/ja/file_list.html packnga/ja/frames.html packnga/ja/index.html packnga/ja/js/app.js packnga/ja/js/full_list.js packnga/ja/js/jquery.js packnga/ja/method_list.html packnga/ja/top-level-namespace.html Added: packnga/.htaccess (+1 -0) 100644 =================================================================== --- /dev/null +++ packnga/.htaccess 2012-09-03 11:43:44 +0900 (98491e0) @@ -0,0 +1 @@ +RedirectMatch permanent ^/packnga/$ http://groonga.rubyforge.org/packnga/en/ Added: packnga/en/Packnga.html (+232 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/Packnga.html 2012-09-03 11:43:44 +0900 (8a2d690) @@ -0,0 +1,232 @@ + + + + + + + + + Module: Packnga + + — packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + Module: Packnga + + — packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

Module: Packnga + + + +

+ +
+ + + + + + + + +
Defined in:
+
lib/packnga/version.rb,
+ lib/packnga/yard-task.rb,
lib/packnga/release-task.rb,
lib/packnga/document-task.rb,
lib/packnga/reference-task.rb
+
+ +
+
+ +

Overview

+
+ +

Copyright (C) 2011 Haruka Yoshihara <yoshihara at clear-code.com> +Copyright (C) 2011 Kouhei Sutou <kou at clear-code.com>

+ +

This library is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License version 2.1 as +published by the Free Software Foundation.

+ +

This library is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public +License for more details.

+ +

You should have received a copy of the GNU Lesser General Public License +along with this library; if not, write to the Free Software Foundation, +Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

+ + +
+
+
+ + +

Defined Under Namespace

+

+ + + + + Classes: DocumentTask, ReferenceTask, ReleaseTask, YARDTask + + +

+ +

Constant Summary

+ +
+ +
VERSION = +
+
+ +

Packnga version.

+ + +
+
+
+ + +
+
+
"0.9.5"
+ +
+ + + + + + + + + + +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/Packnga/DocumentTask.html (+757 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/Packnga/DocumentTask.html 2012-09-03 11:43:44 +0900 (c2db879) @@ -0,0 +1,757 @@ + + + + + + + + + Class: Packnga::DocumentTask + + — packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + Class: Packnga::DocumentTask + + — packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

Class: Packnga::DocumentTask + + + +

+ +
+ +
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+ + + + + + +
Includes:
+
Rake::DSL
+ + + + + +
Defined in:
+
lib/packnga/document-task.rb
+ +
+
+ +

Overview

+
+ +

This class creates tasks for document. They generate YARD document or +references.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + + + + +

+ Instance Method Summary + (collapse) +

+ + + + + +
+

Constructor Details

+ +
+

+ + - (DocumentTask) initialize(spec) {|_self| ... } + + + + + +

+
+ +

Defines tasks to generate YARD documentation and to translate references.

+ + +
+
+
+

Parameters:

+
    + +
  • + + spec + + + (Gem::Specification) + + + + — +
    +

    specification for your package

    +
    + +
  • + +
+ +

Yields:

+
    + +
  • + + + (_self) + + + +
  • + +
+

Yield Parameters:

+
    + +
  • + + _self + + + (Packnga::DocumentTask) + + + + — +
    +

    the object that the method was called on

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+33
+34
+35
+36
+37
+38
+39
+40
+
+
# File 'lib/packnga/document-task.rb', line 33
+
+def initialize(spec)
+  @spec = spec
+  @yard_task = YARDTask.new(@spec)
+  @reference_task = ReferenceTask.new(@spec)
+  self.base_dir = "doc"
+  yield(self) if block_given?
+  define
+end
+
+
+ +
+ + +
+

Instance Method Details

+ + +
+

+ + - (Object) base_dir=(dir) + + + + + +

+
+ +

Sets base directory for documents. Default value is "doc".

+ + +
+
+
+

Parameters:

+
    + +
  • + + dir + + + (String) + + + + — +
    +

    base direcory path

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+44
+45
+46
+47
+48
+
+
# File 'lib/packnga/document-task.rb', line 44
+
+def base_dir=(dir)
+  dir = Pathname.new(dir)
+  @yard_task.base_dir = dir
+  @reference_task.base_dir = dir
+end
+
+
+ +
+

+ + - (Object) htaccess + + + + + +

+
+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+60
+61
+62
+
+
# File 'lib/packnga/document-task.rb', line 60
+
+def htaccess
+  @reference_task.htaccess
+end
+
+
+ +
+

+ + - (Object) reference {|@reference_task| ... } + + + + + +

+
+ +

Runs block to tasks for references.

+ + +
+
+
+ +

Yields:

+
    + +
  • + + + (@reference_task) + + + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+56
+57
+58
+
+
# File 'lib/packnga/document-task.rb', line 56
+
+def reference
+  yield(@reference_task)
+end
+
+
+ +
+

+ + - (Object) yard {|@yard_task| ... } + + + + + +

+
+ +

Runs block to task for YARD documentation.

+ + +
+
+
+ +

Yields:

+
    + +
  • + + + (@yard_task) + + + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+51
+52
+53
+
+
# File 'lib/packnga/document-task.rb', line 51
+
+def yard
+  yield(@yard_task)
+end
+
+
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/Packnga/ReferenceTask.html (+745 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/Packnga/ReferenceTask.html 2012-09-03 11:43:44 +0900 (2cda149) @@ -0,0 +1,745 @@ + + + + + + + + + Class: Packnga::ReferenceTask + + — packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + Class: Packnga::ReferenceTask + + — packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

Class: Packnga::ReferenceTask + + + +

+ +
+ +
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+ + + + + + +
Includes:
+
ERB::Util, Rake::DSL
+ + + + + +
Defined in:
+
lib/packnga/reference-task.rb
+ +
+
+ +

Overview

+
+ +

This class creates reference tasks. They generate, translate and prepare to +publish references.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + +

Instance Attribute Summary (collapse)

+ + + + + + +

+ Instance Method Summary + (collapse) +

+ + + + + + + +
+

Instance Attribute Details

+ + + +
+

+ + - (String) base_dir + + + + + +

+
+ +

This attribute is used to set path of base directory of document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (String) + + + + — +
    +

    path of base directory of document

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+35
+36
+37
+
+
# File 'lib/packnga/reference-task.rb', line 35
+
+def base_dir
+  @base_dir
+end
+
+
+ + + +
+

+ + - (String) readme + + + + + +

+
+ +

This attribute is used to set README file.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (String) + + + + — +
    +

    path of readme file

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+39
+40
+41
+
+
# File 'lib/packnga/reference-task.rb', line 39
+
+def readme
+  @readme
+end
+
+
+ + + +
+

+ + - (Array<String>) source_files + + + + + +

+
+ +

This attribute is used to set source files for document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<String>) + + + + — +
    +

    target source files

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+43
+44
+45
+
+
# File 'lib/packnga/reference-task.rb', line 43
+
+def source_files
+  @source_files
+end
+
+
+ + + +
+

+ + - (Array<String>) text_files + + + + + +

+
+ +

This attribute is used to set text files for document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<String>) + + + + — +
    +

    target text files

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+47
+48
+49
+
+
# File 'lib/packnga/reference-task.rb', line 47
+
+def text_files
+  @text_files
+end
+
+
+ +
+ + +
+

Instance Method Details

+ + +
+

+ + - (Object) htaccess + + + + + +

+
+ +

path of .htaccess.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+72
+73
+74
+
+
# File 'lib/packnga/reference-task.rb', line 72
+
+def htaccess
+  html_reference_dir + ".htaccess"
+end
+
+
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/Packnga/ReleaseTask.html (+946 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/Packnga/ReleaseTask.html 2012-09-03 11:43:44 +0900 (1c48ff0) @@ -0,0 +1,946 @@ + + + + + + + + + Class: Packnga::ReleaseTask + + — packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + Class: Packnga::ReleaseTask + + — packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

Class: Packnga::ReleaseTask + + + +

+ +
+ +
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+ + + + + + +
Includes:
+
Rake::DSL
+ + + + + +
Defined in:
+
lib/packnga/release-task.rb
+ +
+
+ +

Overview

+
+ +

This class creates release tasks.

+ +

Release tasks tag current version and install gem for test. It also define +tasks to upload RubyForge whether option.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + +

Instance Attribute Summary (collapse)

+ + + + + + +

+ Instance Method Summary + (collapse) +

+ + + + + +
+

Constructor Details

+ +
+

+ + - (ReleaseTask) initialize(spec) {|_self| ... } + + + + + +

+
+ +

Defines task for preparing to release. Defined tasks update version and +release-date in index files and tag in git. If you set rubyforge_project of +Jeweler::Task.new with its given block, it also define tasks to update +RubyForge.

+ + +
+
+
+

Parameters:

+
    + +
  • + + spec + + + (Gem::Specification) + + + + — +
    +

    specification for your package

    +
    + +
  • + +
+ +

Yields:

+
    + +
  • + + + (_self) + + + +
  • + +
+

Yield Parameters:

+
    + +
  • + + _self + + + (Packnga::ReleaseTask) + + + + — +
    +

    the object that the method was called on

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+
+
# File 'lib/packnga/release-task.rb', line 53
+
+def initialize(spec)
+  @spec = spec
+  @index_html_dir = nil
+  @rubyforge = nil
+  @tag_messsage = nil
+  @publish_options = nil
+  @changes = nil
+  @rubyforge_password = nil
+  yield(self) if block_given?
+  set_default_values
+  define_tasks
+end
+
+
+ +
+ +
+

Instance Attribute Details

+ + + +
+

+ + - (Object) base_dir=(value) (writeonly) + + + + + +

+
+ +

This attribute is path of base directory of document.

+ + +
+
+
+

Parameters:

+
    + +
  • + + value + + + (String) + + + + — +
    +

    path of base directory of document

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+36
+37
+38
+
+
# File 'lib/packnga/release-task.rb', line 36
+
+def base_dir=(value)
+  @base_dir = value
+end
+
+
+ + + +
+

+ + - (Object) changes=(value) (writeonly) + + + + + +

+
+ +

This attribute is text for changes in new release to post news to +RubyForge.

+ + +
+
+
+

Parameters:

+
    + +
  • + + value + + + (String) + + + + — +
    +

    text for changes.

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+46
+47
+48
+
+
# File 'lib/packnga/release-task.rb', line 46
+
+def changes=(value)
+  @changes = value
+end
+
+
+ + + +
+

+ + - (Object) index_html_dir=(value) (writeonly) + + + + + +

+
+ +

This attribute is path of HTML files written version and release date.

+ + +
+
+
+

Parameters:

+
    + +
  • + + value + + + (String) + + + + — +
    +

    path of HTML files

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+33
+34
+35
+
+
# File 'lib/packnga/release-task.rb', line 33
+
+def index_html_dir=(value)
+  @index_html_dir = value
+end
+
+
+ + + +
+

+ + - (Object) publish_options=(value) (writeonly) + + + + + +

+
+ +

This attribute is options for uploading RubyForge by rsync.

+ + +
+
+
+

Parameters:

+
    + +
  • + + value + + + (Hash) + + + + — +
    +

    options for uploading.

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+42
+43
+44
+
+
# File 'lib/packnga/release-task.rb', line 42
+
+def publish_options=(value)
+  @publish_options = value
+end
+
+
+ + + +
+

+ + - (Object) tag_message=(value) (writeonly) + + + + + +

+
+ +

This attribute is message when tagging in release.

+ + +
+
+
+

Parameters:

+
    + +
  • + + value + + + (String) + + + + — +
    +

    message

    +
    + +
  • + +
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+39
+40
+41
+
+
# File 'lib/packnga/release-task.rb', line 39
+
+def tag_message=(value)
+  @tag_message = value
+end
+
+
+ +
+ + +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/Packnga/YARDTask.html (+849 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/Packnga/YARDTask.html 2012-09-03 11:43:44 +0900 (36e9449) @@ -0,0 +1,849 @@ + + + + + + + + + Class: Packnga::YARDTask + + — packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + Class: Packnga::YARDTask + + — packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

Class: Packnga::YARDTask + + + +

+ +
+ +
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+ + + + + + +
Includes:
+
Rake::DSL
+ + + + + +
Defined in:
+
lib/packnga/yard-task.rb
+ +
+
+ +

Overview

+
+ +

This class creates YARD task. YARD task generates references by YARD.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + +

Instance Attribute Summary (collapse)

+ + + + + + +

+ Instance Method Summary + (collapse) +

+ + + + + + +
+

Instance Attribute Details

+ + + +
+

+ + - (String) base_dir + + + + + +

+
+ +

This attribute is used to set path of base directory of document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (String) + + + + — +
    +

    path of base directory of document

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+35
+36
+37
+
+
# File 'lib/packnga/yard-task.rb', line 35
+
+def base_dir
+  @base_dir
+end
+
+
+ + + +
+

+ + - (Array<String>) options + + + + + +

+
+ +

Custom yardoc command line options

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<String>) + + + + — +
    +

    custom yardoc command line options

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+46
+47
+48
+
+
# File 'lib/packnga/yard-task.rb', line 46
+
+def options
+  @options
+end
+
+
+ + + +
+

+ + - (String) readme + + + + + +

+
+ +

This attribute is used to set README file to yardoc task.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (String) + + + + — +
    +

    path of readme file

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+31
+32
+33
+
+
# File 'lib/packnga/yard-task.rb', line 31
+
+def readme
+  @readme
+end
+
+
+ + + +
+

+ + - (Array<String>) source_files + + + + + +

+
+ +

This attribute is used to set source files for document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<String>) + + + + — +
    +

    target source files

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+39
+40
+41
+
+
# File 'lib/packnga/yard-task.rb', line 39
+
+def source_files
+  @source_files
+end
+
+
+ + + +
+

+ + - (Array<String>) text_files=(value) + + + + + +

+
+ +

This attribute is used to set text files for document.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<String>) + + + + — +
    +

    target text files

    +
    + +
  • + +
+

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+43
+44
+45
+
+
# File 'lib/packnga/yard-task.rb', line 43
+
+def text_files=(value)
+  @text_files = value
+end
+
+
+ +
+ + +
+

Instance Method Details

+ + +
+

+ + - (Object) before_define(&hook) + + + + + +

+
+ +

Regists yardoc parameters with block.

+ + +
+
+
+ +

Since:

+
    + +
  • + + + + + +
    +

    0.9.0

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+71
+72
+73
+
+
# File 'lib/packnga/yard-task.rb', line 71
+
+def before_define(&hook)
+  @hooks << hook
+end
+
+
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/_index.html (+239 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/_index.html 2012-09-03 11:43:44 +0900 (625472b) @@ -0,0 +1,239 @@ + + + + + + + + + packnga + + - Ranguba + + + + + + + + + + + + + + + + +
+
+ + + packnga + + + - + Ranguba + +
+ + +
+ +
+ + + + + + +

packnga

+
+

Alphabetic Index

+ +

File Listing

+ + +
+

Namespace Listing A-Z

+ + + + + + + + +
+ + + + + + + + + + + +
    +
  • Y
  • + +
+ +
+ +
+ +
+ + + + +
+ +
+ + + + + + + + + + +
+ + + \ No newline at end of file Added: packnga/en/class_list.html (+53 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/class_list.html 2012-09-03 11:43:44 +0900 (0dbd668) @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + +
+

Class List

+ + + + +
+ + Added: packnga/en/css/common.css (+1 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/css/common.css 2012-09-03 11:43:44 +0900 (cf25c45) @@ -0,0 +1 @@ +/* Override this file with custom rules */ \ No newline at end of file Added: packnga/en/css/full_list.css (+57 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/css/full_list.css 2012-09-03 11:43:44 +0900 (c918cf1) @@ -0,0 +1,57 @@ +body { + margin: 0; + font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; + font-size: 13px; + height: 101%; + overflow-x: hidden; +} + +h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; } +.clear { clear: both; } +#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; } +#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIA MrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2Bb aFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; } +#full_list { padding: 0; list-style: none; margin-left: 0; } +#full_list ul { padding: 0; } +#full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; } +#noresults { padding: 7px 12px; } +#content.insearch #noresults { margin-left: 7px; } +ul.collapsed ul, ul.collapsed li { display: none; } +ul.collapsed.search_uncollapsed { display: block; } +ul.collapsed.search_uncollapsed li { display: list-item; } +li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; } +li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; } +li { color: #888; cursor: pointer; } +li.deprecated { text-decoration: line-through; font-style: italic; } +li.r1 { background: #f0f0f0; } +li.r2 { background: #fafafa; } +li:hover { background: #ddd; } +li small:before { content: "("; } +li small:after { content: ")"; } +li small.search_info { display: none; } +a:link, a:visited { text-decoration: none; color: #05a; } +li.clicked { background: #05a; color: #ccc; } +li.clicked a:link, li.clicked a:visited { color: #eee; } +li.clicked a.toggle { opacity: 0.5; background-position: bottom right; } +li.collapsed.clicked a.toggle { background-position: top right; } +#search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; } +#nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; } +#nav a:link, #nav a:visited { color: #358; } +#nav a:hover { background: transparent; color: #5af; } +.frames #nav span:after { content: ' | '; } +.frames #nav span:last-child:after { content: ''; } + +.frames #content h1 { margin-top: 0; } +.frames li { white-space: nowrap; cursor: normal; } +.frames li small { display: block; font-size: 0.8em; } +.frames li small:before { content: ""; } +.frames li small:after { content: ""; } +.frames li small.search_info { display: none; } +.frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; } +.frames #content.insearch #search { background-position: center right; } +.frames #search input { width: 110px; } +.frames #nav { display: block; } + +#full_list.insearch li { display: none; } +#full_list.insearch li.found { display: list-item; padding-left: 10px; } +#full_list.insearch li a.toggle { display: none; } +#full_list.insearch li small.search_info { display: block; } Added: packnga/en/css/style.css (+328 -0) 100644 =================================================================== --- /dev/null +++ packnga/en/css/style.css 2012-09-03 11:43:44 +0900 (ca54c2b) @@ -0,0 +1,328 @@ +body { + padding: 0 20px; + font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; + font-size: 13px; +} +body.frames { padding: 0 5px; } +h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; } +h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; } +h1.title { margin-bottom: 10px; } +h1.alphaindex { margin-top: 0; font-size: 22px; } +h2 { + padding: 0; + padding-bottom: 3px; + border-bottom: 1px #aaa solid; + font-size: 1.4em; + margin: 1.8em 0 0.5em; +} +h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; } +.clear { clear: both; } +.inline { display: inline; } +.inline p:first-child { display: inline; } +.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; } +.docstring h1 { font-size: 1.2em; } +.docstring h2 { font-size: 1.1em; } +.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; } +.summary_desc .object_link, .docstring .object_link { font-family: monospace; } +.rdoc-term { padding-right: 25px; font-weight: bold; } +.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; } + +/* style for