Skip to content

Commit ef24d66

Browse files
committed
docs: JavaScript capitalization is consistent
1 parent 58e4cec commit ef24d66

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

Doxyfile.url

+5-5
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ OPTIMIZE_OUTPUT_SLICE = NO
299299
# parses. With this tag you can assign which parser to use for a given
300300
# extension. Doxygen has a built-in mapping, but you can override or extend it
301301
# using this tag. The format is ext=language, where ext is a file extension, and
302-
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
302+
# language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
303303
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice,
304304
# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
305305
# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
@@ -1279,9 +1279,9 @@ HTML_TIMESTAMP = NO
12791279

12801280
# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML
12811281
# documentation will contain a main index with vertical navigation menus that
1282-
# are dynamically created via Javascript. If disabled, the navigation index will
1282+
# are dynamically created via JavaScript. If disabled, the navigation index will
12831283
# consists of multiple levels of tabs that are statically embedded in every HTML
1284-
# page. Disable this option to support browsers that do not have Javascript,
1284+
# page. Disable this option to support browsers that do not have JavaScript,
12851285
# like the Qt help browser.
12861286
# The default value is: YES.
12871287
# This tag requires that the tag GENERATE_HTML is set to YES.
@@ -1570,7 +1570,7 @@ FORMULA_FONTSIZE = 10
15701570
FORMULA_TRANSPARENT = YES
15711571

15721572
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1573-
# https://www.mathjax.org) which uses client side Javascript for the rendering
1573+
# https://www.mathjax.org) which uses client side JavaScript for the rendering
15741574
# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
15751575
# installed or if you want to formulas look prettier in the HTML output. When
15761576
# enabled you may also need to install MathJax separately and configure the path
@@ -1640,7 +1640,7 @@ MATHJAX_CODEFILE =
16401640
SEARCHENGINE = YES
16411641

16421642
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1643-
# implemented using a web server instead of a web client using Javascript. There
1643+
# implemented using a web server instead of a web client using JavaScript. There
16441644
# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
16451645
# setting. When disabled, doxygen will generate a PHP script for searching and
16461646
# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing

doxyfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ OPTIMIZE_OUTPUT_SLICE = NO
299299
# parses. With this tag you can assign which parser to use for a given
300300
# extension. Doxygen has a built-in mapping, but you can override or extend it
301301
# using this tag. The format is ext=language, where ext is a file extension, and
302-
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
302+
# language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
303303
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice,
304304
# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
305305
# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
@@ -1279,9 +1279,9 @@ HTML_TIMESTAMP = NO
12791279

12801280
# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML
12811281
# documentation will contain a main index with vertical navigation menus that
1282-
# are dynamically created via Javascript. If disabled, the navigation index will
1282+
# are dynamically created via JavaScript. If disabled, the navigation index will
12831283
# consists of multiple levels of tabs that are statically embedded in every HTML
1284-
# page. Disable this option to support browsers that do not have Javascript,
1284+
# page. Disable this option to support browsers that do not have JavaScript,
12851285
# like the Qt help browser.
12861286
# The default value is: YES.
12871287
# This tag requires that the tag GENERATE_HTML is set to YES.
@@ -1570,7 +1570,7 @@ FORMULA_FONTSIZE = 10
15701570
FORMULA_TRANSPARENT = YES
15711571

15721572
# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1573-
# https://www.mathjax.org) which uses client side Javascript for the rendering
1573+
# https://www.mathjax.org) which uses client side JavaScript for the rendering
15741574
# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
15751575
# installed or if you want to formulas look prettier in the HTML output. When
15761576
# enabled you may also need to install MathJax separately and configure the path
@@ -1640,7 +1640,7 @@ MATHJAX_CODEFILE =
16401640
SEARCHENGINE = YES
16411641

16421642
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1643-
# implemented using a web server instead of a web client using Javascript. There
1643+
# implemented using a web server instead of a web client using JavaScript. There
16441644
# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
16451645
# setting. When disabled, doxygen will generate a PHP script for searching and
16461646
# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing

include/mrdocs/Dom/Kind.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace dom {
5454
5555
These reference types are modeled after JavaScript
5656
"Objects". All non-primitive types (Object types)
57-
are derived from Object in Javascript. This means
57+
are derived from Object in JavaScript. This means
5858
types such as Array and Function represent a
5959
relevant selection of built-in types that would
6060
derive from Object in JavaScript.

include/mrdocs/Dom/Object.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Value;
4040
4141
These reference types are modeled after JavaScript
4242
"Objects". All non-primitive types (Object types)
43-
are derived from Object in Javascript. This means
43+
are derived from Object in JavaScript. This means
4444
types such as Array and Function represent a
4545
relevant selection of built-in types that would
4646
derive from Object in JavaScript.

include/mrdocs/Support/Handlebars.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ registerAntoraHelpers(Handlebars& hbs);
10571057
first argument is the value of the helper.
10581058
10591059
The helper names are inspired by the default string functions provided
1060-
in multiple programming languages, such as Python and Javascript,
1060+
in multiple programming languages, such as Python and JavaScript,
10611061
for their default string types.
10621062
10631063
The individual helpers are defined as an implementation detail and
@@ -1079,7 +1079,7 @@ registerStringHelpers(Handlebars& hbs);
10791079
10801080
The helper names are inspired by the default functions provided
10811081
in multiple programming languages for dictionaries, objects, and arrays,
1082-
such as Python and Javascript, for their default types.
1082+
such as Python and JavaScript, for their default types.
10831083
10841084
The individual helpers are defined as an implementation detail and
10851085
cannot be registered individually.

include/mrdocs/mrdocs.natvis

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
</Expand>
152152
</Type>
153153

154-
<!-- <mrdocs/Support/Javascript.hpp> -->
154+
<!-- <mrdocs/Support/JavaScript.hpp> -->
155155

156156
<Type Name="clang::mrdocs::js::Access">
157157
<DisplayString>[ js::Access ]</DisplayString>

src/lib/Support/JavaScript.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ class JSArrayImpl : public dom::ArrayImpl
851851
size_type size() const override;
852852
};
853853

854-
// A Javascript function defined in the scope as a dom::Function
854+
// A JavaScript function defined in the scope as a dom::Function
855855
class JSFunctionImpl : public dom::FunctionImpl
856856
{
857857
Access A_;

src/test/Support/Javascript.cpp src/test/Support/JavaScript.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace clang {
1616
namespace mrdocs {
1717
namespace js {
1818

19-
struct Javascript_test
19+
struct JavaScript_test
2020
{
2121
void
2222
test_context()
@@ -900,8 +900,8 @@ struct Javascript_test
900900
};
901901

902902
TEST_SUITE(
903-
Javascript_test,
904-
"clang.mrdocs.Javascript");
903+
JavaScript_test,
904+
"clang.mrdocs.JavaScript");
905905

906906
} // js
907907
} // mrdocs

0 commit comments

Comments
 (0)