From 146764aca661d51daa298c7cfe6b9b5efcff7e5f Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 19:08:59 +0100 Subject: stop generating separate pages for property accessors --- test/data/format/accessor.get.md | 8 -------- test/data/format/accessor.kt | 4 ++-- test/data/format/accessor.md | 18 ++++++++++++++++++ test/data/format/accessor.set.md | 8 -------- test/data/format/deprecated.class.html | 13 +------------ test/data/format/deprecated.package.html | 2 +- test/data/format/extensions.class.md | 2 +- 7 files changed, 23 insertions(+), 32 deletions(-) delete mode 100644 test/data/format/accessor.get.md create mode 100644 test/data/format/accessor.md delete mode 100644 test/data/format/accessor.set.md (limited to 'test/data') diff --git a/test/data/format/accessor.get.md b/test/data/format/accessor.get.md deleted file mode 100644 index 67a2f395..00000000 --- a/test/data/format/accessor.get.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [C](test/-c/index) / [x](test/-c/x/index) / [get](test/-c/x/get) - - -# get - -`get(): String` - - diff --git a/test/data/format/accessor.kt b/test/data/format/accessor.kt index b6ed9624..5a4d1742 100644 --- a/test/data/format/accessor.kt +++ b/test/data/format/accessor.kt @@ -1,5 +1,5 @@ class C() { var x: String - get() = "" - set(value) { } + /** The getter returns an empty string. */ get() = "" + /** The setter does nothing. */ set(value) { } } diff --git a/test/data/format/accessor.md b/test/data/format/accessor.md new file mode 100644 index 00000000..8279f452 --- /dev/null +++ b/test/data/format/accessor.md @@ -0,0 +1,18 @@ +[test](test/index) / [C](test/-c/index) / [x](test/-c/x) + + +# x + +`var x: String` +**Getter** + +The getter returns an empty string. + + +**Setter** + +The setter does nothing. + + + + diff --git a/test/data/format/accessor.set.md b/test/data/format/accessor.set.md deleted file mode 100644 index e93766cd..00000000 --- a/test/data/format/accessor.set.md +++ /dev/null @@ -1,8 +0,0 @@ -[test](test/index) / [C](test/-c/index) / [x](test/-c/x/index) / [set](test/-c/x/set) - - -# set - -`set(value: String)` - - diff --git a/test/data/format/deprecated.class.html b/test/data/format/deprecated.class.html index 352bd435..922306fc 100644 --- a/test/data/format/deprecated.class.html +++ b/test/data/format/deprecated.class.html @@ -16,7 +16,7 @@ Deprecated: This function sucks


-test / p
+test / p

p

val p: Int
@@ -34,16 +34,5 @@ -

Accessors

- - - - - - - -
-get -get(): Int
diff --git a/test/data/format/deprecated.package.html b/test/data/format/deprecated.package.html index 8e3c2aa9..1700eb15 100644 --- a/test/data/format/deprecated.package.html +++ b/test/data/format/deprecated.package.html @@ -25,7 +25,7 @@ -p +p val p: Int diff --git a/test/data/format/extensions.class.md b/test/data/format/extensions.class.md index 11ee9ba7..33721e67 100644 --- a/test/data/format/extensions.class.md +++ b/test/data/format/extensions.class.md @@ -9,7 +9,7 @@ Function with receiver | -| [foobar](test/foo/-string/foobar/index) | `val String.foobar: Int` +| [foobar](test/foo/-string/foobar) | `val String.foobar: Int` Property with receiver. | -- cgit