Kubernetes 1.8 reference docs (#5632)
* Kubernetes 1.8 reference docs * Kubectl reference docs for 1.8 * Update side bar with 1.8 kubectl and api ref docs links
This commit is contained in:
committed by
Steve Perry
parent
271bd0f163
commit
147f04ca76
+35
@@ -0,0 +1,35 @@
|
||||
module.exports = function(hljs) {
|
||||
return {
|
||||
case_insensitive: true,
|
||||
contains: [
|
||||
hljs.HASH_COMMENT_MODE,
|
||||
// version of format and total amount of testcases
|
||||
{
|
||||
className: 'meta',
|
||||
variants: [
|
||||
{ begin: '^TAP version (\\d+)$' },
|
||||
{ begin: '^1\\.\\.(\\d+)$' }
|
||||
],
|
||||
},
|
||||
// YAML block
|
||||
{
|
||||
begin: '(\s+)?---$', end: '\\.\\.\\.$',
|
||||
subLanguage: 'yaml',
|
||||
relevance: 0
|
||||
},
|
||||
// testcase number
|
||||
{
|
||||
className: 'number',
|
||||
begin: ' (\\d+) '
|
||||
},
|
||||
// testcase status and description
|
||||
{
|
||||
className: 'symbol',
|
||||
variants: [
|
||||
{ begin: '^ok' },
|
||||
{ begin: '^not ok' }
|
||||
],
|
||||
},
|
||||
]
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user