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:
committed by
Andrew Chen
parent
4b004cf717
commit
217c86642f
+14
-5
@@ -27,7 +27,7 @@ module.exports = function(hljs) {
|
||||
className: 'number',
|
||||
variants: [
|
||||
{ begin: '\\b(0b[01\']+)' },
|
||||
{ begin: '\\b([\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)(u|U|l|L|ul|UL|f|F|b|B)' },
|
||||
{ begin: '(-?)\\b([\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)(u|U|l|L|ul|UL|f|F|b|B)' },
|
||||
{ begin: '(-?)(\\b0[xX][a-fA-F0-9\']+|(\\b[\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)([eE][-+]?[\\d\']+)?)' }
|
||||
],
|
||||
relevance: 0
|
||||
@@ -48,7 +48,7 @@ module.exports = function(hljs) {
|
||||
hljs.inherit(STRINGS, {className: 'meta-string'}),
|
||||
{
|
||||
className: 'meta-string',
|
||||
begin: '<', end: '>',
|
||||
begin: /<[^\n>]*>/, end: /$/,
|
||||
illegal: '\\n',
|
||||
},
|
||||
hljs.C_LINE_COMMENT_MODE,
|
||||
@@ -60,15 +60,16 @@ module.exports = function(hljs) {
|
||||
|
||||
var CPP_KEYWORDS = {
|
||||
keyword: 'int float while private char catch import module export virtual operator sizeof ' +
|
||||
'dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace ' +
|
||||
'dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace ' +
|
||||
'unsigned long volatile static protected bool template mutable if public friend ' +
|
||||
'do goto auto void enum else break extern using class asm case typeid ' +
|
||||
'do goto auto void enum else break extern using asm case typeid ' +
|
||||
'short reinterpret_cast|10 default double register explicit signed typename try this ' +
|
||||
'switch continue inline delete alignof constexpr decltype ' +
|
||||
'noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary ' +
|
||||
'atomic_bool atomic_char atomic_schar ' +
|
||||
'atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong ' +
|
||||
'atomic_ullong new throw return',
|
||||
'atomic_ullong new throw return ' +
|
||||
'and or not',
|
||||
built_in: 'std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream ' +
|
||||
'auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set ' +
|
||||
'unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos ' +
|
||||
@@ -154,6 +155,14 @@ module.exports = function(hljs) {
|
||||
hljs.C_BLOCK_COMMENT_MODE,
|
||||
PREPROCESSOR
|
||||
]
|
||||
},
|
||||
{
|
||||
className: 'class',
|
||||
beginKeywords: 'class struct', end: /[{;:]/,
|
||||
contains: [
|
||||
{begin: /</, end: />/, contains: ['self']}, // skip generic stuff
|
||||
hljs.TITLE_MODE
|
||||
]
|
||||
}
|
||||
]),
|
||||
exports: {
|
||||
|
||||
Reference in New Issue
Block a user