From f2e0355198d0e46882f8fe96c35eec182fcd8199 Mon Sep 17 00:00:00 2001 From: Jorge Rodriguez Date: Mon, 15 Jun 2015 12:30:52 -0700 Subject: [PATCH] Site design improvements by Felix Kaaman. --- compile.py | 21 +- html/copy/about.html | 52 ++++- html/copy/docs.gl.js | 21 +- html/copy/logo-lg.png | Bin 4105 -> 0 bytes html/copy/logo.png | Bin 3196 -> 0 bytes html/copy/style.css | 145 +++++++------- html/copy/style_dark.css | 61 ++++-- html/copy/style_light.css | 66 ++++++- html/docs.gl.search.js | 3 +- html/header.html | 88 +++++---- html/index.html | 399 +++++++++++++++++++++----------------- 11 files changed, 510 insertions(+), 346 deletions(-) delete mode 100644 html/copy/logo-lg.png delete mode 100644 html/copy/logo.png diff --git a/compile.py b/compile.py index 170393f6..91a36dff 100644 --- a/compile.py +++ b/compile.py @@ -193,8 +193,8 @@ def create_directory(dir): if version in all_major_versions_available: index_versions_commands += "" + version + "" else: - index_versions_commands += " " - index_versions_commands += "
\n" + index_versions_commands += "" + version + "" + index_versions_commands += "\n" #GLSL Loop for command in glsl_index_commands_version: @@ -267,8 +267,11 @@ def create_directory(dir): else: glsl_index_versions_commands += "glsl-es" + version[2:3] + "" else: - glsl_index_versions_commands += " " - glsl_index_versions_commands += "
\n" + if version[0:2] == "sl": + glsl_index_versions_commands += "glsl" + version[2:3] + "" + else: + glsl_index_versions_commands += "glsl-es" + version[2:3] + "" + glsl_index_versions_commands += "\n" index = index.replace("{$commandlist}", index_versions_commands+glsl_index_versions_commands) @@ -611,13 +614,13 @@ def spew_category(name, commands, current_command, api): selected = " selected='selected'" if version_option[:2] == 'gl': - toc_versions_options = toc_versions_options + "" + toc_versions_options = toc_versions_options + "" elif version_option[:2] == 'es': - toc_versions_options = toc_versions_options + "" + toc_versions_options = toc_versions_options + "" elif version_option[:2] == 'sl': - toc_versions_options = toc_versions_options + "" + toc_versions_options = toc_versions_options + "" elif version_option[:2] == 'el': - toc_versions_options = toc_versions_options + "" + toc_versions_options = toc_versions_options + "" header_for_version = header_for_version.replace("{$versions_options}", toc_versions_options) @@ -814,7 +817,7 @@ def replace_alias(matchobj): code = re.sub(r"\{%([a-zA-Z_][a-zA-Z_0-9]*?)\}", replace_alias, code).replace("\t", " ").replace("&", "&") code = re.sub(r"(?\1", code) - code = re.sub(r"(GL_[A-Z_]*)", r"\1", code) + code = re.sub(r"(GL_[A-Z_0-9]*)", r"\1", code) code = re.sub(r'(".*?")', r"\1", code) code = re.sub(r'(//.*?)\n', r"\1\n", code) diff --git a/html/copy/about.html b/html/copy/about.html index 9ac88002..3fee53a8 100644 --- a/html/copy/about.html +++ b/html/copy/about.html @@ -20,18 +20,54 @@ }); + -
-
-OpenGL API Documentation


+
+
+
+
+

docs.GL

+

OpenGL API Documentation

+
+
-

docs.gl is an improvement of the official OpenGL documentation. It was written by Jorge Rodríguez. Each reference page is under individual copyright listed in that entry, all other content is in the public domain. docs.gl is completely unaffiliated with OpenGL and Khronos.

-

Anyone can contribute to docs.gl to improve the OpenGL documentation. The source code to docs.gl is available on GitHub. Pull requests and suggestions are welcome.

-

Full list of contributors

-

Download docs.gl for offline use.

-

Back

+
+

docs.gl is an improvement of the official OpenGL documentation. It was written by Jorge Rodríguez. GLSL support was contributed by Sohail Ajmal. Additional site design improvements were contributed by Felix Kaaman. Each reference page is under individual copyright listed in that entry, all other content is in the public domain. docs.gl is completely unaffiliated with OpenGL and Khronos.

+

Anyone can contribute to docs.gl to improve the OpenGL documentation. The source code to docs.gl is available on GitHub. Pull requests and suggestions are welcome.

+

Full list of contributors

+

Download docs.gl for offline use.

+
diff --git a/html/copy/docs.gl.js b/html/copy/docs.gl.js index fc81fafc..414bbec2 100644 --- a/html/copy/docs.gl.js +++ b/html/copy/docs.gl.js @@ -166,13 +166,15 @@ function set_api_version(version) { } $(function() { + $( "#command_categories" ).bonsai(); $( "#glsl_command_categories" ).bonsai(); $( "#versions_dropdown" ).selectmenu({ change: function( event, ui ) { set_api_version(ui.item.value); - } + }, + width: 150 }); if (typeof $.cookie("hide_deprecated") != 'undefined') @@ -223,9 +225,7 @@ $(function() { search_fn = function(value) { - version = $("#search_versions").val(); - if (!version || typeof version == 'undefined') - version = 'all'; + var version = 'all'; if (search_versions[version].indexOf(value) < 0) return; @@ -259,19 +259,8 @@ $(function() { }, }); - $( "#search_versions" ).selectmenu({ - change: function( event, ui ) { - $("#search").val(""); - $("#search").autocomplete( "option", "source", search_versions[$("#search_versions").val()] ); - }, - width: 70, - }); - if (typeof $.cookie("api_version") != 'undefined') - { - $("#search_versions").val($.cookie("api_version").substring(0, 3) + "." + $.cookie("api_version").substring(3, 4)).selectmenu('refresh'); - $("#search").autocomplete( "option", "source", search_versions[$("#search_versions").val()] ); - } + $("#search").autocomplete( "option", "source", "all" ); $('#hide_deprecated').click(function() { window.hide_deprecated = $(this).is(':checked'); diff --git a/html/copy/logo-lg.png b/html/copy/logo-lg.png deleted file mode 100644 index 595f2055a1befa8689474f97ccded2f24d43e415..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4105 zcmbVPdpy(o{~t!eTq2i@hKR^+E;A;}+;YFf6f!opn9VjBsv~5_rR5fKsf4KL>g1AQ z$TcAyC1DE(B}5mc^jn?N`JF$`SShhzl+ zh!H71coyE(1szJG8WXq#N6E62!epYVNe(X3P8kGz(UllV-Um8UO4-|YzbEwZ8D2RM?;~pv9ZRnNMjl!916Fvu=vh_K}JMAu?Xzl zQB0km3^)=qltH1hD6}ZZcSb@8Erx~B7JB+;2voYO>)*st%)b&POc|6-phMxtFesJ! zJ+2?xOqLhv|K0dkZKh8godoqFF=;W3P+>j7bbf+`x%J=M1_)m+NB8X{)ILDk65%VgG6A_ z7(O&wasG@IM`BQpkcjpS8Wr**yJ*V4SVx-t zx2XTb691QsL50phzqiIeTIJ`Ku>Zb`e>c8x@%QMEqJ;Cp5Dvzu+=IgafQ+RR4(r2y z{-)#@-RE~T&URjkTw2o^ldEZ=Rw-0q{d!89;KA-UjeQw>6xuwd!;qb=>-t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{ht<+R4(QZs4}`nFjVCFbgsdxM4*~N_=h+$_ugqL98XvEnk~n zA`RQ>7Ir&tdMMtz+ubb%@ua~2kejTF$zX@bzn)T#v*h460U>4`(a4;N*cNLwC7BNY z2{oQl>W%P;k|iY*yW!-cE|;&!B1>xa65pk^%VrF^nlIE1+46S*gZc5FUxe^>jCK12 zhD(Q!77n00bk!9_GrH215aLhy4TPJ(uejFGtQiB9!p65VJqcUnyR-|9 zB5nyL(1k{QL%Gj7Q}Z&JdWl5$EKe0<60j|S*VTXw2NZwYLAu{1#k^3=B&+G%(6 zXsKlGy->ays0=dS{>i^B!OUg)GIB%Sk?|5=PqH0JbpU`+u35d}Gw;ptd$-JK|2WX@ zcSBKyALghmf$yREBzXImnQEw=NLpt;O;=P_QdGPu{17Y))VuXg?<{i46^tnLv>ex! zg$c_&kvLu@V>h=XC@)U&uPDBo8I`+T@#NIzXHwLu0BNzOnd-cI*|H&G zypM|>K~blg&KXK)GIcvxD~jtG38nfv$K*C%;XTUEM`;7Qv#T{FJbPT#c}3cn74v~cUQI2{n*By{Gt;tu?@hSY7u;UKn74>(Io`!jidC~+ z@7ZXr00>~epjU6J&xz9l{CjKEJ+LC=W~Ov>mdE@i*xy=E%!gyyS+=xxcIG& z{>fCeq0REx=|6SHtSY;sNFcjF@bo%^)?1>vkB3BeT5iSQPXy=b@Q{{3J>)?eSz2k!h6KxJ( z>z>{GrH(t2V8+f8*Qw>MmJ<9V>M^JvcQVN5hI?qRF8evZ zxYgK+kA^lLV=C(j6!U_Ye2N~NGoKwf7`3V span.ui-selectmenu-text { + font-size: 18px; + font-weight: bold; } -#command_versions { - float: right; +#hide_label { + font-size: 11px; } -#opengl_name { - width: 125px; - display: block; - float: left; - margin-top: 2px; - font-size: 16px; +#hide_deprecated { +} + +#command_versions { + float: right; } #command_categories, #command_categories a { @@ -338,51 +358,35 @@ a { width: 950px; margin-left: auto; margin-right: auto; - margin-top: 180px; + margin-top: 30px; text-align: center; } -.apibuttons { - float: left; - font-size: 20px; - margin-left: 20px; - margin-top: 10px; -} - -#es_api { - width: 150px; -} - -#gl_api { - width: 550px; -} - -#allapi { - width: 50px; -} - -#buttonpanel { - width: 780px; - margin-left: auto; - margin-right: auto; - margin-bottom: 80px; -} - -#buttonpanel_sl { - width: 550px; - margin-left: auto; - margin-right: auto; - margin-bottom: 180px; +#frontsearch, #search { + font-size: 14px; + border-radius: 4px; + outline: none; + padding: 4px; + width: 275px; + font-family: Roboto, Helvetica; + margin-left: 10px; + float:left; } -#front_instructions { - font-style: italic; - color: #bbb; - text-align: center; +#search { + margin:0; + position: absolute; + bottom:0; + right: 30px; } -#frontsearch { - font-size: 22px; +#search_button { + margin: 0; + margin-top: 13px; + position: absolute; + bottom: 0px; + right: 0px; + height: 30px; } #frontsearch_button { @@ -394,7 +398,6 @@ a { } #outer_disqus_thread { - background-color: #eee; padding: 10px; margin-top: 10px; -} \ No newline at end of file +} diff --git a/html/copy/style_dark.css b/html/copy/style_dark.css index b81c4f56..64dd449a 100644 --- a/html/copy/style_dark.css +++ b/html/copy/style_dark.css @@ -1,22 +1,46 @@ body { - background: #191919; + background: #41444A; color: #ddd; } a { - color: #3a85de; + color: #88B4E7; } a:visited { - color: #589cec; + color: #5B7EA6; } a:hover { - color: #71acf1; + color: #5B93D0; } -.commandcolumn, .versioncolumn, .slversioncolumn { - background-color: #111; +.logo-bg, .header-bg { + background: rgba(40,42,46,1); + background: -moz-linear-gradient(-45deg, rgba(40,42,46,1) 0%, rgba(55,59,65,1) 100%); + background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(40,42,46,1)), color-stop(100%, rgba(55,59,65,1))); + background: -webkit-linear-gradient(-45deg, rgba(40,42,46,1) 0%, rgba(55,59,65,1) 100%); + background: -o-linear-gradient(-45deg, rgba(40,42,46,1) 0%, rgba(55,59,65,1) 100%); + background: -ms-linear-gradient(-45deg, rgba(40,42,46,1) 0%, rgba(55,59,65,1) 100%); + background: linear-gradient(135deg, rgba(40,42,46,1) 0%, rgba(55,59,65,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#282a2e', endColorstr='#373b41', GradientType=1 ); +} + +.logo, .header-logo { + color: #C8C4BE; +} + +.logo-desc { + color: #707880; +} + +.result-headers span { + color: #bababa; +} + +.indexcommand { + background-color: #34373D; + color: #aaa; } .function { @@ -25,7 +49,7 @@ a:hover { } .constant { - color: #ba27de; + color: #b294bb; } .disabled, .disabled a, a.disabled { @@ -64,28 +88,29 @@ a:hover { .ui-menu-item { color: #ddd; - background-color: #111; + background-color: #282a2e; } .ui-selectmenu-open ul .ui-state-focus, .ui-state-default { color: #fff; - background-color: #222; + background-color: #34373D; } .ui-autocomplete .ui-state-focus, .ui-state-default { color: #fff; - background-color: #222; + background-color: #34373D; } -#buttonpanel div .ui-state-default { - background-color: #222; +#frontsearch, #search { + border: 1px solid #555; + background-color: #41444A; + color: #cecece; } -#buttonpanel div .ui-state-active { - background-color: #444; +#frontsearch:focus, #search:focus { + border: 1px solid #787878; } -#front_page img { - border: 1px solid #fff; - background: #ccc; -} \ No newline at end of file +#outer_disqus_thread { + background-color: #34373D; +} diff --git a/html/copy/style_light.css b/html/copy/style_light.css index 15840c76..f14a8338 100644 --- a/html/copy/style_light.css +++ b/html/copy/style_light.css @@ -15,8 +15,43 @@ a:hover { color: #358acc; } -.commandcolumn, .versioncolumn, .slversioncolumn { - background-color: #eee; +.header-bg { + background: rgba(112,120,128,1); + background: -moz-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(112,120,128,1)), color-stop(100%, rgba(197,200,198,1))); + background: -webkit-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -o-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -ms-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: linear-gradient(135deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#707880', endColorstr='#c5c8c6', GradientType=1 ); +} + +.logo-bg { + background: rgba(112,120,128,1); + background: -moz-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(112,120,128,1)), color-stop(100%, rgba(197,200,198,1))); + background: -webkit-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -o-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: -ms-linear-gradient(-45deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + background: linear-gradient(135deg, rgba(112,120,128,1) 0%, rgba(197,200,198,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#707880', endColorstr='#c5c8c6', GradientType=1 ); +} + +.logo, .header-logo { + color: #373B41; +} + +.logo-desc { + color: #e4e4e4; +} + +.result-headers span { + color: #555; +} + +.indexcommand { + background-color: #eaeaea; + color: #333; } .function { @@ -74,11 +109,30 @@ a:hover { background-color: #ddd; } -#buttonpanel div .ui-state-default { - background-color: #ddd; +#logo { + font-family: "Helvetica Neue", "Helvetica"; + font-weight: 300; + font-size: 36px; + color: #eee; + padding: 20px; + margin: 0; + display: inline-block; } -#buttonpanel div .ui-state-active { - background-color: #aaa; +#frontsearch, #search { + border: 1px solid #999; + color: #444; } +#frontsearch:focus, #search:focus { + border: 1px solid #85678F; +} + +.thicken { + font-weight: 400; +} + +#outer_disqus_thread { + background-color: #535353; + color: #eee; +} diff --git a/html/docs.gl.search.js b/html/docs.gl.search.js index 66f1177d..5dc81894 100644 --- a/html/docs.gl.search.js +++ b/html/docs.gl.search.js @@ -2,5 +2,6 @@ $(function() { // This file is loaded asynchronously. Now that it's loaded, reset the autocomplete source. - $("#search").autocomplete( "option", "source", search_versions[$("#search_versions").val()] ); + $('#search').autocomplete(); + $("#search").autocomplete( "option", "source", search_versions["all"] ); }); \ No newline at end of file diff --git a/html/header.html b/html/header.html index 26d9ef5e..bc847042 100644 --- a/html/header.html +++ b/html/header.html @@ -1,51 +1,57 @@ - -{$command} - {$api_name} {$command_major_version} - docs.gl + + {$command} - {$api_name} {$command_major_version} - docs.gl - - - - - - - + + + + + + + - + - - + + - - + + + - - - -
-
- -
API:
-
- -
-
    {$api_commands}
-
    {$glsl_api_commands}
- -
- -
-
{$command_versions}
-

{$command}

+
+ +
+
+

docs.GL

+ + +
+
+
+ +
+
+
+ +
+ +
+ + +
+
    {$api_commands}
+
    {$glsl_api_commands}
+ +
+ +
+
{$command_versions}
+

{$command}

diff --git a/html/index.html b/html/index.html index 511a07a4..f37d160e 100644 --- a/html/index.html +++ b/html/index.html @@ -1,192 +1,239 @@ - -docs.gl - - -{$jquery} - -{$jqueryui} - - - - - - - - + + + + + + + - -
-
- - -OpenGL API Documentation

-
-
- OpenGL ES
- - - -
-
- OpenGL
- - - - - - - - - - - +
-
-
-
- GLSL ES
- - - +
+
+

docs.GL

+

OpenGL API Documentation

+ +
-
- GLSL
- - - - - - - +
+
+
+ + +
+
-
-
- +
+ Method + Available in +
-
- -
-
Type the name of a GL or GLSL command.
-
-
{$commandlist}
-
- +
{$commandlist}
- \ No newline at end of file +