Skip to content

Commit

Permalink
Doc: Use CSS classes for better display of custom tags
Browse files Browse the repository at this point in the history
- More code indented to use preformat
  • Loading branch information
mgrojo committed Aug 31, 2023
1 parent 066975f commit 976d16d
Show file tree
Hide file tree
Showing 17 changed files with 194 additions and 70 deletions.
8 changes: 4 additions & 4 deletions doc/docs/sf__audio__music___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -1867,7 +1867,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -4045,7 +4045,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -4090,7 +4090,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down
4 changes: 2 additions & 2 deletions doc/docs/sf__audio__soundrecorder___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -1938,7 +1938,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down
6 changes: 3 additions & 3 deletions doc/docs/sf__graphics__primitivetype___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ GNATdoc.Documentation = {
"children": [
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -736,7 +736,7 @@ GNATdoc.Documentation = {
"children": [
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -833,7 +833,7 @@ GNATdoc.Documentation = {
"children": [
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/sf__graphics__rendertexture___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down
10 changes: 5 additions & 5 deletions doc/docs/sf__graphics__renderwindow___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -8543,7 +8543,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand All @@ -8557,7 +8557,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -8602,7 +8602,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand All @@ -8612,7 +8612,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down
14 changes: 7 additions & 7 deletions doc/docs/sf__graphics__text___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -2373,7 +2373,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -2543,7 +2543,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -5301,7 +5301,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -5943,7 +5943,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -6147,7 +6147,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -6738,7 +6738,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down
90 changes: 70 additions & 20 deletions doc/docs/sf__graphics__texture___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,39 +126,89 @@ GNATdoc.Documentation = {
"html": "",
"children": [
]
},
}
]
},
{
"kind": "code",
"children": [
{
"kind": "span",
"text": "sfTexture *t1, *t2;\n"
"number": 1,
"children": [
{
"kind": "span",
"text": "sfTexture *t1, *t2;"
}
]
},
{
"kind": "span",
"text": "...\n"
"number": 2,
"children": [
{
"kind": "span",
"text": "..."
}
]
},
{
"kind": "span",
"text": "sfTexture_bind(t1);\n"
"number": 3,
"children": [
{
"kind": "span",
"text": "sfTexture_bind(t1);"
}
]
},
{
"kind": "span",
"text": "// draw OpenGL stuff that use t1...\n"
"number": 4,
"children": [
{
"kind": "span",
"text": "// draw OpenGL stuff that use t1..."
}
]
},
{
"kind": "span",
"text": "sfTexture_bind(t2);\n"
"number": 5,
"children": [
{
"kind": "span",
"text": "sfTexture_bind(t2);"
}
]
},
{
"kind": "span",
"text": "// draw OpenGL stuff that use t2...\n"
"number": 6,
"children": [
{
"kind": "span",
"text": "// draw OpenGL stuff that use t2..."
}
]
},
{
"kind": "span",
"text": "sfTexture_bind(NULL);\n"
"number": 7,
"children": [
{
"kind": "span",
"text": "sfTexture_bind(NULL);"
}
]
},
{
"kind": "span",
"text": "// draw OpenGL stuff that use no texture...\n"
},
"number": 8,
"children": [
{
"kind": "span",
"text": "// draw OpenGL stuff that use no texture..."
}
]
}
]
},
{
"kind": "paragraph",
"children": [
{
"kind": "html",
"html": "",
Expand Down Expand Up @@ -3184,7 +3234,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down Expand Up @@ -3836,7 +3886,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/sf__window__cursor___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/sf__window__event___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5324,7 +5324,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down
4 changes: 2 additions & 2 deletions doc/docs/sf__window__keyboard___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ GNATdoc.Documentation = {
"children": [
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -7814,7 +7814,7 @@ GNATdoc.Documentation = {
"children": [
{
"kind": "html",
"html": "</br><strong>Deprecated!</strong> ",
"html": "<br/><br/><span class=\"danger\">Deprecated!</span> ",
"children": [
]
},
Expand Down
8 changes: 4 additions & 4 deletions doc/docs/sf__window__window___spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6246,7 +6246,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand All @@ -6260,7 +6260,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>Warning!</strong> ",
"html": "<br/><br/><span class=\"warning\">Warning!</span> ",
"children": [
]
},
Expand Down Expand Up @@ -6314,7 +6314,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand All @@ -6324,7 +6324,7 @@ GNATdoc.Documentation = {
},
{
"kind": "html",
"html": "</br><strong>See:</strong> ",
"html": "<br/><br/><span class=\"info\">See:</span> ",
"children": [
]
},
Expand Down

0 comments on commit 976d16d

Please sign in to comment.