Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-02 09:37:51 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-02 09:37:51 -0500
commitbde44bb124964c2804b4ed8d9e3f1eca0c2bd5a0 (patch)
tree20851f648b811b7ad71f0ba5b19d7779b899f324
parentcdd87569c1d7bded41a30e7debdaf3d82029ae5c (diff)
downloadliza-bde44bb124964c2804b4ed8d9e3f1eca0c2bd5a0.tar.gz
liza-bde44bb124964c2804b4ed8d9e3f1eca0c2bd5a0.tar.bz2
liza-bde44bb124964c2804b4ed8d9e3f1eca0c2bd5a0.zip
doc: {dev=>devnotice}, add devnotes
* doc/liza.css: Each of the entities below may have additional selectors following them, not listed here. (.doc-notice.dev): Renamed to `.devnotice'. (.doc-notice.devnotice, .doc-notice.devnote): New classes. * doc/macros.texi (devnotice): {dev=>devnotice} @noticestart argument. (devnote): New macro.
-rw-r--r--doc/liza.css19
-rw-r--r--doc/macros.texi11
2 files changed, 24 insertions, 6 deletions
diff --git a/doc/liza.css b/doc/liza.css
index ef5f00c..ef9aac9 100644
--- a/doc/liza.css
+++ b/doc/liza.css
@@ -113,12 +113,14 @@ but don't sacrifice space on small screens.
margin: 0px;
}
-.doc-notice.dev
+.doc-notice.devnotice,
+.doc-notice.devnote
{
border-color: #d33682;
}
-.doc-notice.dev p::before,
+.doc-notice.devnotice p::before,
+.doc-notice.devnote p::before,
.doc-notice.tip p::before
{
display: block;
@@ -126,24 +128,31 @@ but don't sacrifice space on small screens.
margin-left: -1.5em;
}
-.doc-notice.dev p::before
+.doc-notice.devnotice p::before
{
color: #d33682;
content: '\01F6A7';
}
+.doc-notice.devnote p::before
+{
+ color: #d33682;
+ content: '\01F4DD';
+}
+
.doc-notice.tip p::before
{
content: '\261E';
}
-.doc-notice.dev p,
+.doc-notice.devnotice p,
+.doc-notice.devnote p,
.doc-notice.tip p
{
padding-left: 1.75em;
}
-.footnote-notice.dev p:first-child::before
+.footnote-notice.devnotice p:first-child::before
{
content: '\01F6A7';
margin-right: 0.5em;
diff --git a/doc/macros.texi b/doc/macros.texi
index e5a283c..117786d 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -60,12 +60,21 @@
@c notice for developers of liza
@macro devnotice{text}
@ifset DEVNOTES
- @noticestart{dev}
+ @noticestart{devnotice}
@emph{\text\}
@noticeend
@end ifset
@end macro
+@c implementation note for developers of liza
+@macro devnote{text}
+@ifset DEVNOTES
+ @noticestart{devnote}
+ \text\
+ @noticeend
+@end ifset
+@end macro
+
@c documentation TODO
@macro todo{text}
@devnotice{TODO: \text\}