File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const sanitize = (badges) => {
2222 let deprecated_or_removed = false
2323 let cppv = null
2424 let named_version = null
25+ let exposition_only = false
2526 for ( const c of b_classes ) {
2627 if ( / ^ (?: f u t u r e | a r c h i v e ) $ / . test ( c ) ) {
2728 named_version = c
@@ -31,6 +32,7 @@ const sanitize = (badges) => {
3132 }
3233
3334 if ( c === 'exposition-only' ) {
35+ exposition_only = true
3436 classes . push ( 'exposition-only-spec' )
3537 }
3638
@@ -59,6 +61,7 @@ const sanitize = (badges) => {
5961
6062 const lang_path = cppv ? `/lang/cpp${ cppv } ` :
6163 named_version ? `/lang/${ named_version } ` :
64+ exposition_only ? '/reference/exposition-only' :
6265 `/lang`
6366 const a_elem = $ ( '<a>' , { href : `${ lang_path } .html` } )
6467 . append ( $ ( '<i>' ) )
You can’t perform that action at this time.
0 commit comments