Skip to content

Commit

Permalink
docs: JavaScript capitalization is consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 24, 2023
1 parent 58e4cec commit ef24d66
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions Doxyfile.url
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ OPTIMIZE_OUTPUT_SLICE = NO
# parses. With this tag you can assign which parser to use for a given
# extension. Doxygen has a built-in mapping, but you can override or extend it
# using this tag. The format is ext=language, where ext is a file extension, and
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
# language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice,
# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
Expand Down Expand Up @@ -1279,9 +1279,9 @@ HTML_TIMESTAMP = NO

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

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

# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a web server instead of a web client using Javascript. There
# implemented using a web server instead of a web client using JavaScript. There
# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
# setting. When disabled, doxygen will generate a PHP script for searching and
# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
Expand Down
10 changes: 5 additions & 5 deletions doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ OPTIMIZE_OUTPUT_SLICE = NO
# parses. With this tag you can assign which parser to use for a given
# extension. Doxygen has a built-in mapping, but you can override or extend it
# using this tag. The format is ext=language, where ext is a file extension, and
# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
# language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice,
# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
Expand Down Expand Up @@ -1279,9 +1279,9 @@ HTML_TIMESTAMP = NO

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

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

# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a web server instead of a web client using Javascript. There
# implemented using a web server instead of a web client using JavaScript. There
# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
# setting. When disabled, doxygen will generate a PHP script for searching and
# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
Expand Down
2 changes: 1 addition & 1 deletion include/mrdocs/Dom/Kind.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace dom {
These reference types are modeled after JavaScript
"Objects". All non-primitive types (Object types)
are derived from Object in Javascript. This means
are derived from Object in JavaScript. This means
types such as Array and Function represent a
relevant selection of built-in types that would
derive from Object in JavaScript.
Expand Down
2 changes: 1 addition & 1 deletion include/mrdocs/Dom/Object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Value;
These reference types are modeled after JavaScript
"Objects". All non-primitive types (Object types)
are derived from Object in Javascript. This means
are derived from Object in JavaScript. This means
types such as Array and Function represent a
relevant selection of built-in types that would
derive from Object in JavaScript.
Expand Down
4 changes: 2 additions & 2 deletions include/mrdocs/Support/Handlebars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ registerAntoraHelpers(Handlebars& hbs);
first argument is the value of the helper.
The helper names are inspired by the default string functions provided
in multiple programming languages, such as Python and Javascript,
in multiple programming languages, such as Python and JavaScript,
for their default string types.
The individual helpers are defined as an implementation detail and
Expand All @@ -1079,7 +1079,7 @@ registerStringHelpers(Handlebars& hbs);
The helper names are inspired by the default functions provided
in multiple programming languages for dictionaries, objects, and arrays,
such as Python and Javascript, for their default types.
such as Python and JavaScript, for their default types.
The individual helpers are defined as an implementation detail and
cannot be registered individually.
Expand Down
2 changes: 1 addition & 1 deletion include/mrdocs/mrdocs.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
</Expand>
</Type>

<!-- <mrdocs/Support/Javascript.hpp> -->
<!-- <mrdocs/Support/JavaScript.hpp> -->

<Type Name="clang::mrdocs::js::Access">
<DisplayString>[ js::Access ]</DisplayString>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Support/JavaScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ class JSArrayImpl : public dom::ArrayImpl
size_type size() const override;
};

// A Javascript function defined in the scope as a dom::Function
// A JavaScript function defined in the scope as a dom::Function
class JSFunctionImpl : public dom::FunctionImpl
{
Access A_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace clang {
namespace mrdocs {
namespace js {

struct Javascript_test
struct JavaScript_test
{
void
test_context()
Expand Down Expand Up @@ -900,8 +900,8 @@ struct Javascript_test
};

TEST_SUITE(
Javascript_test,
"clang.mrdocs.Javascript");
JavaScript_test,
"clang.mrdocs.JavaScript");

} // js
} // mrdocs
Expand Down

0 comments on commit ef24d66

Please sign in to comment.