Repository: ant-ivy
Updated Branches:
  refs/heads/master e35f06c0a -> 0009c7bfa


[doc changes] Use svg image in the OSGi doc


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/0009c7bf
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/0009c7bf
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/0009c7bf

Branch: refs/heads/master
Commit: 0009c7bfa9f1b5a27af141326deecb871547e43e
Parents: e35f06c
Author: Jaikiran Pai <jaiki...@apache.org>
Authored: Tue Jun 20 15:27:04 2017 +0530
Committer: Jaikiran Pai <jaiki...@apache.org>
Committed: Tue Jun 20 15:27:54 2017 +0530

----------------------------------------------------------------------
 asciidoc/images/warning.svg |  5 +++++
 asciidoc/osgi.adoc          |  8 ++------
 asciidoc/style/style.css    | 16 ++++++++++++++++
 3 files changed, 23 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/0009c7bf/asciidoc/images/warning.svg
----------------------------------------------------------------------
diff --git a/asciidoc/images/warning.svg b/asciidoc/images/warning.svg
new file mode 100644
index 0000000..5afb0bc
--- /dev/null
+++ b/asciidoc/images/warning.svg
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+
+<!-- An SVG of a warning icon -->
+<svg xmlns="http://www.w3.org/2000/svg"; xml:space="preserve" width="1em" 
version="1.1" y="0px" x="0px" viewBox="0 0 980.02045 886.1"><g fill="red"><path 
d="m972.9158,794.5l-426.1,-761.1c-10.5,-20 -31.1,-32.7 -53.7,-33.4l-1.7,0c-22,0 
-42.4,11.5 -53.7,30.5l-428.9,761c-11.5,19.4 -11.8,43.3 -0.6,62.9c11.1,19.6 
31.9,31.7 54.4,31.7l854.9,0c21.9,0 42.2,-11.5 53.5,-30.2s12,-42 
1.9,-61.4zm-910.4,29.2l428.9,-761.1l426,761.1l-854.9,0z"/><path 
d="m490.3158,626.7c-36.5,0 -62.1,25.6 -62.1,62.8c0,35.8 24.9,62.8 
60.7,62.8l1.4,0c37.3,0 61.5,-27 61.5,-62.8c-0.7,-37.3 -24.9,-62.8 
-61.5,-62.8z"/><path 
d="m451.0158,592.1l78.7,0l15.2,-312.6l-109,0l15.1,312.6z"/></g></svg>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/0009c7bf/asciidoc/osgi.adoc
----------------------------------------------------------------------
diff --git a/asciidoc/osgi.adoc b/asciidoc/osgi.adoc
index babbb64..e892d65 100644
--- a/asciidoc/osgi.adoc
+++ b/asciidoc/osgi.adoc
@@ -2,12 +2,8 @@
 Since Apache Ivy&#153; 2.3, some support for OSGi&#153; dependency management 
has been introduced.
 
 
-[]
-|=======
-|<svg xmlns="http://www.w3.org/2000/svg"; xml:space="preserve" width="1em" 
version="1.1" y="0px" x="0px" viewBox="0 0 980.02045 886.1"><g fill="red"><path 
d="m972.9158,794.5l-426.1,-761.1c-10.5,-20 -31.1,-32.7 -53.7,-33.4l-1.7,0c-22,0 
-42.4,11.5 -53.7,30.5l-428.9,761c-11.5,19.4 -11.8,43.3 -0.6,62.9c11.1,19.6 
31.9,31.7 54.4,31.7l854.9,0c21.9,0 42.2,-11.5 53.5,-30.2s12,-42 
1.9,-61.4zm-910.4,29.2l428.9,-761.1l426,761.1l-854.9,0z"/><path 
d="m490.3158,626.7c-36.5,0 -62.1,25.6 -62.1,62.8c0,35.8 24.9,62.8 
60.7,62.8l1.4,0c37.3,0 61.5,-27 61.5,-62.8c-0.7,-37.3 -24.9,-62.8 
-61.5,-62.8z"/><path 
d="m451.0158,592.1l78.7,0l15.2,-312.6l-109,0l15.1,312.6z"/></g></svg>|
-    Note that this feature is considered as *experimental*. It should work 
with simple configuration but may not in complex ones. If you have any issue 
with that feature, you are welcomed to come discussed your use case on the 
link:http://ant.apache.org/ivy/mailing-lists.html[ivy-user] mailing list, or 
discuss about implementation issues or improvement you may have found on 
link:http://ant.apache.org/ivy/mailing-lists.html[ant-dev].
-    
-|=======
+
+WARNING: Note that this feature is considered as *experimental*. It should 
work with simple configuration but may not in complex ones. If you have any 
issue with that feature, you are welcomed to come discussed your use case on 
the link:http://ant.apache.org/ivy/mailing-lists.html[ivy-user] mailing list, 
or discuss about implementation issues or improvement you may have found on 
link:http://ant.apache.org/ivy/mailing-lists.html[ant-dev].
 
 
 So with a standard ivy.xml, you can express some dependency on some OSGi 
bundle and every of their trasitive dependencies will be resolved. You can also 
declare in your ivy.xml some OSGi dependency, like a `Require-Bundle`, an 
`Import-Package` or an `Import-Service`, miming an OSGi MANIFEST.MF.

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/0009c7bf/asciidoc/style/style.css
----------------------------------------------------------------------
diff --git a/asciidoc/style/style.css b/asciidoc/style/style.css
index 83439d8..d60b22b 100644
--- a/asciidoc/style/style.css
+++ b/asciidoc/style/style.css
@@ -359,4 +359,20 @@ table.tableblock td p:last-child {
 
 .note .title {
        display:none;
+}
+
+.warning:before {
+    content: url(../images/warning.svg)
+}
+
+.warning {
+    border-style:solid;
+    border-width:1px;
+    border-color: #F0D88D;
+    background-color: #FCFCCA;
+    margin: 10px;
+}
+
+.warning .title {
+       display:none;
 }
\ No newline at end of file

Reply via email to