Update reference docs with most recent version of brodocs (#4600)

* Update 1.7 apidocs with new brodocs

* Update 1.7 resource reference docs with new brodocs

* Update 1.7 kubectl reference docs with new brodocs
This commit is contained in:
Phillip Wittrock
2017-08-04 14:30:56 -07:00
committed by Andrew Chen
parent 4b004cf717
commit 217c86642f
387 changed files with 10024 additions and 8309 deletions
@@ -1,9 +1,9 @@
module.exports = function (hljs) {
module.exports = function(hljs) {
var KEYWORDS = {
keyword:
'abstract as val var vararg get set class object open private protected public noinline ' +
'crossinline dynamic final enum if else do while for when throw try catch finally ' +
'import package is in fun override companion reified inline ' +
'import package is in fun override companion reified inline lateinit init' +
'interface annotation data sealed internal infix operator out by constructor super ' +
// to be deleted soon
'trait volatile transient native default',
@@ -31,17 +31,17 @@ module.exports = function (hljs) {
// for string templates
var SUBST = {
className: 'subst',
variants: [
{begin: '\\$' + hljs.UNDERSCORE_IDENT_RE},
{begin: '\\${', end: '}', contains: [hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE]}
]
begin: '\\${', end: '}', contains: [hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE]
};
var VARIABLE = {
className: 'variable', begin: '\\$' + hljs.UNDERSCORE_IDENT_RE
};
var STRING = {
className: 'string',
variants: [
{
begin: '"""', end: '"""',
contains: [SUBST]
contains: [VARIABLE, SUBST]
},
// Can't use built-in modes easily, as we want to use STRING in the meta
// context as 'meta-string' and there's no syntax to remove explicitly set
@@ -54,7 +54,7 @@ module.exports = function (hljs) {
{
begin: '"', end: '"',
illegal: /\n/,
contains: [hljs.BACKSLASH_ESCAPE, SUBST]
contains: [hljs.BACKSLASH_ESCAPE, VARIABLE, SUBST]
}
]
};