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