From c3c7ddbda681cc8f44832b0549bb623d3eace748 Mon Sep 17 00:00:00 2001 From: Sarah White Date: Wed, 18 Nov 2020 15:53:10 -0700 Subject: rearchitect modules and filenames and drop asciidoctor folder under docs --- .../html-backend/examples/mysample-data-uri.adoc | 17 +++++++++++++++++ docs/modules/html-backend/examples/mysample-link.adoc | 13 +++++++++++++ .../html-backend/examples/mysample-stylesdir-link.adoc | 15 +++++++++++++++ .../html-backend/examples/mysample-stylesdir.adoc | 14 ++++++++++++++ .../html-backend/examples/mysample-stylesheet.adoc | 13 +++++++++++++ docs/modules/html-backend/examples/mysample.adoc | 12 ++++++++++++ docs/modules/html-backend/examples/wrap.adoc | 17 +++++++++++++++++ 7 files changed, 101 insertions(+) create mode 100644 docs/modules/html-backend/examples/mysample-data-uri.adoc create mode 100644 docs/modules/html-backend/examples/mysample-link.adoc create mode 100644 docs/modules/html-backend/examples/mysample-stylesdir-link.adoc create mode 100644 docs/modules/html-backend/examples/mysample-stylesdir.adoc create mode 100644 docs/modules/html-backend/examples/mysample-stylesheet.adoc create mode 100644 docs/modules/html-backend/examples/mysample.adoc create mode 100644 docs/modules/html-backend/examples/wrap.adoc (limited to 'docs/modules/html-backend/examples') diff --git a/docs/modules/html-backend/examples/mysample-data-uri.adoc b/docs/modules/html-backend/examples/mysample-data-uri.adoc new file mode 100644 index 00000000..ec32d03e --- /dev/null +++ b/docs/modules/html-backend/examples/mysample-data-uri.adoc @@ -0,0 +1,17 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +:imagesdir: myimages +:data-uri: + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +[.left.text-center] +image::wolpertinger.jpg[Wolpertinger] + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-link.adoc b/docs/modules/html-backend/examples/mysample-link.adoc new file mode 100644 index 00000000..e24aeea9 --- /dev/null +++ b/docs/modules/html-backend/examples/mysample-link.adoc @@ -0,0 +1,13 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +:linkcss: + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc b/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc new file mode 100644 index 00000000..bb56b9e2 --- /dev/null +++ b/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc @@ -0,0 +1,15 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +:stylesdir: mystylesheets/ +:stylesheet: mystyles.css +:linkcss: + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesdir.adoc b/docs/modules/html-backend/examples/mysample-stylesdir.adoc new file mode 100644 index 00000000..452e7f5c --- /dev/null +++ b/docs/modules/html-backend/examples/mysample-stylesdir.adoc @@ -0,0 +1,14 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +:stylesdir: mystylesheets/ +:stylesheet: mystyles.css + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesheet.adoc b/docs/modules/html-backend/examples/mysample-stylesheet.adoc new file mode 100644 index 00000000..b1cc475c --- /dev/null +++ b/docs/modules/html-backend/examples/mysample-stylesheet.adoc @@ -0,0 +1,13 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +:stylesheet: mystyles.css + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample.adoc b/docs/modules/html-backend/examples/mysample.adoc new file mode 100644 index 00000000..0a00ca64 --- /dev/null +++ b/docs/modules/html-backend/examples/mysample.adoc @@ -0,0 +1,12 @@ += My First Experience with the Dangers of Documentation +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger + +In my world, we don't have to worry about mutant, script-injecting warlocks. +No. +We have something far worse. +We're plagued by Wolpertingers. + +== Origins + +You may not be familiar with these {url-wolpertinger}[ravenous beasts], +but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/wrap.adoc b/docs/modules/html-backend/examples/wrap.adoc new file mode 100644 index 00000000..3f877d7d --- /dev/null +++ b/docs/modules/html-backend/examples/wrap.adoc @@ -0,0 +1,17 @@ +// tag::nowrap[] +[source%nowrap,java] +---- +public class ApplicationConfigurationProvider extends HttpConfigurationProvider +{ + @Override + public Configuration getConfiguration(ServletContext context) + { + return ConfigurationBuilder.begin() + .addRule() + .when(Direction.isInbound().and(Path.matches("/{path}"))) + .perform(Log.message(Level.INFO, "Client requested path: {path}")) + .where("path").matches(".*"); + } +} +---- +// end::nowrap[] -- cgit v1.2.3 From faad155cc406d4e798d316a96a01c28bfcae1540 Mon Sep 17 00:00:00 2001 From: Sarah White Date: Tue, 8 Dec 2020 14:08:49 -0700 Subject: update mysample and consolidate to my-document, generate new screenshots --- docs/modules/html-backend/examples/my-document.adoc | 19 +++++++++++++++++++ .../html-backend/examples/mysample-data-uri.adoc | 17 ----------------- docs/modules/html-backend/examples/mysample-link.adoc | 13 ------------- .../examples/mysample-stylesdir-link.adoc | 15 --------------- .../html-backend/examples/mysample-stylesdir.adoc | 14 -------------- .../html-backend/examples/mysample-stylesheet.adoc | 13 ------------- docs/modules/html-backend/examples/mysample.adoc | 12 ------------ 7 files changed, 19 insertions(+), 84 deletions(-) create mode 100644 docs/modules/html-backend/examples/my-document.adoc delete mode 100644 docs/modules/html-backend/examples/mysample-data-uri.adoc delete mode 100644 docs/modules/html-backend/examples/mysample-link.adoc delete mode 100644 docs/modules/html-backend/examples/mysample-stylesdir-link.adoc delete mode 100644 docs/modules/html-backend/examples/mysample-stylesdir.adoc delete mode 100644 docs/modules/html-backend/examples/mysample-stylesheet.adoc delete mode 100644 docs/modules/html-backend/examples/mysample.adoc (limited to 'docs/modules/html-backend/examples') diff --git a/docs/modules/html-backend/examples/my-document.adoc b/docs/modules/html-backend/examples/my-document.adoc new file mode 100644 index 00000000..e2a0abd5 --- /dev/null +++ b/docs/modules/html-backend/examples/my-document.adoc @@ -0,0 +1,19 @@ +// tag::title[] += The Dangers of Wolpertingers +:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger +// end::title[] +// tag::body[] + +Don't worry about gumberoos or splintercats. +Something far more fearsome plagues the days, nights, and inbetweens. +Wolpertingers. + +== Origins + +Wolpertingers are {url-wolpertinger}[ravenous beasts]. +// end::body[] +// tag::image[] +[.left.text-center] +image:wolpertinger.jpg[Wolpertinger,100,,link="https://commons.wikimedia.org/wiki/File:Wolpertinger.jpg"] +They may look cute and cuddly, but don't be fooled. +// end::image[] diff --git a/docs/modules/html-backend/examples/mysample-data-uri.adoc b/docs/modules/html-backend/examples/mysample-data-uri.adoc deleted file mode 100644 index ec32d03e..00000000 --- a/docs/modules/html-backend/examples/mysample-data-uri.adoc +++ /dev/null @@ -1,17 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger -:imagesdir: myimages -:data-uri: - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -[.left.text-center] -image::wolpertinger.jpg[Wolpertinger] - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-link.adoc b/docs/modules/html-backend/examples/mysample-link.adoc deleted file mode 100644 index e24aeea9..00000000 --- a/docs/modules/html-backend/examples/mysample-link.adoc +++ /dev/null @@ -1,13 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger -:linkcss: - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc b/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc deleted file mode 100644 index bb56b9e2..00000000 --- a/docs/modules/html-backend/examples/mysample-stylesdir-link.adoc +++ /dev/null @@ -1,15 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger -:stylesdir: mystylesheets/ -:stylesheet: mystyles.css -:linkcss: - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesdir.adoc b/docs/modules/html-backend/examples/mysample-stylesdir.adoc deleted file mode 100644 index 452e7f5c..00000000 --- a/docs/modules/html-backend/examples/mysample-stylesdir.adoc +++ /dev/null @@ -1,14 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger -:stylesdir: mystylesheets/ -:stylesheet: mystyles.css - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample-stylesheet.adoc b/docs/modules/html-backend/examples/mysample-stylesheet.adoc deleted file mode 100644 index b1cc475c..00000000 --- a/docs/modules/html-backend/examples/mysample-stylesheet.adoc +++ /dev/null @@ -1,13 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger -:stylesheet: mystyles.css - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. diff --git a/docs/modules/html-backend/examples/mysample.adoc b/docs/modules/html-backend/examples/mysample.adoc deleted file mode 100644 index 0a00ca64..00000000 --- a/docs/modules/html-backend/examples/mysample.adoc +++ /dev/null @@ -1,12 +0,0 @@ -= My First Experience with the Dangers of Documentation -:url-wolpertinger: https://en.wikipedia.org/wiki/Wolpertinger - -In my world, we don't have to worry about mutant, script-injecting warlocks. -No. -We have something far worse. -We're plagued by Wolpertingers. - -== Origins - -You may not be familiar with these {url-wolpertinger}[ravenous beasts], -but, trust me, they'll eat your shorts and suck the loops from your code. -- cgit v1.2.3