working/eg-antora.git
5 months agoFixed article.hbs - removed stray if block master
blake [Thu, 15 Apr 2021 19:03:46 +0000 (14:03 -0500)]
Fixed article.hbs - removed stray if block

Signed-off-by: blake <blake@mobiusconsortium.org>
5 months agoDisabling lint for lunr search.js
blake [Thu, 15 Apr 2021 18:59:41 +0000 (13:59 -0500)]
Disabling lint for lunr search.js

Signed-off-by: blake <blake@mobiusconsortium.org>
5 months agoMerge remote-tracking branch 'local/master' into antora-ui-upstream-sync user/blake/antora-ui-upstream-sync
blake [Thu, 15 Apr 2021 18:42:46 +0000 (13:42 -0500)]
Merge remote-tracking branch 'local/master' into antora-ui-upstream-sync

Bringing in the latest antora-ui-default merged with
Evergreen's flare.

Signed-off-by: blake <blake@mobiusconsortium.org>
5 months agomerge !143
Sarah White [Thu, 8 Apr 2021 22:55:02 +0000 (22:55 +0000)]
merge !143

minor cleanup and edits

5 months agoadd Code of Conduct info and link to README
Sarah White [Thu, 8 Apr 2021 22:00:07 +0000 (16:00 -0600)]
add Code of Conduct info and link to README

5 months agoremove duplicate attributes that are handled by playbook
Sarah White [Thu, 8 Apr 2021 21:53:45 +0000 (15:53 -0600)]
remove duplicate attributes that are handled by playbook

5 months agomerge !142
Dan Allen [Tue, 6 Apr 2021 08:39:18 +0000 (08:39 +0000)]
merge !142

resolves #169 add rust as supported language in syntax highlighter

5 months agohttps://gitlab.com/antora/antora-ui-default/-/issues/169
Ray Offiah [Tue, 6 Apr 2021 08:05:42 +0000 (09:05 +0100)]
https://gitlab.com/antora/antora-ui-default/-/issues/169
Adding Rust to the standard highlight.bundle.js set.

6 months agodocument the page.latest property in the UI model [skip ci]
Dan Allen [Fri, 26 Mar 2021 07:54:25 +0000 (01:54 -0600)]
document the page.latest property in the UI model [skip ci]

6 months agoIntroducing "contact DIG" footer for each page user/blake/dig-email-footer
blake [Fri, 5 Mar 2021 16:09:36 +0000 (10:09 -0600)]
Introducing "contact DIG" footer for each page

As assigned by DIG:

http://evergreen-ils.org/meetings/evergreen/2020/evergreen.2020-11-05-14.01.log.html

Signed-off-by: blake <blake@mobiusconsortium.org>
7 months agomerge !141
Dan Allen [Thu, 11 Feb 2021 08:57:40 +0000 (08:57 +0000)]
merge !141

resolves #165 hide toc and pagination in print styles

8 months agohide toc and pagination in print styles
Dan Allen [Thu, 14 Jan 2021 10:28:12 +0000 (03:28 -0700)]
hide toc and pagination in print styles

8 months agomerge !138
Dan Allen [Mon, 4 Jan 2021 22:39:18 +0000 (22:39 +0000)]
merge !138

resolves #163 reference copy icon in source toolbox using img tag instead of svg+use

8 months agoreference copy icon in source toolbox using img tag instead of svg+use (unless config...
Dan Allen [Mon, 4 Jan 2021 09:59:48 +0000 (02:59 -0700)]
reference copy icon in source toolbox using img tag instead of svg+use (unless configured otherwise)

8 months agofurther consolidate styles for navbar; remove padding on first item in navbar brand
Dan Allen [Mon, 4 Jan 2021 20:24:22 +0000 (13:24 -0700)]
further consolidate styles for navbar; remove padding on first item in navbar brand

8 months agomerge !137
Dan Allen [Mon, 4 Jan 2021 10:05:40 +0000 (10:05 +0000)]
merge !137

resolves #162 scroll panel to bring children into view when expanding nav item

8 months agoscroll panel to bring children into view when expanding nav item
Dan Allen [Wed, 30 Dec 2020 10:16:06 +0000 (03:16 -0700)]
scroll panel to bring children into view when expanding nav item

8 months agoadd missing .doc namespace selector for items in source toolbox
Dan Allen [Mon, 4 Jan 2021 09:48:35 +0000 (02:48 -0700)]
add missing .doc namespace selector for items in source toolbox

8 months agoreorganize styles for navbar
Dan Allen [Sun, 3 Jan 2021 22:13:33 +0000 (15:13 -0700)]
reorganize styles for navbar

8 months agosimplify styles that control position of navbar-end
Dan Allen [Sun, 3 Jan 2021 21:59:02 +0000 (14:59 -0700)]
simplify styles that control position of navbar-end

8 months agoonly set height on navbar-brand for mobile
Dan Allen [Sun, 3 Jan 2021 21:58:09 +0000 (14:58 -0700)]
only set height on navbar-brand for mobile

8 months agominor cleanups to base styles
Dan Allen [Wed, 30 Dec 2020 10:03:29 +0000 (03:03 -0700)]
minor cleanups to base styles

- only set 100% height on root element
- only apply scrollbar globally if browsers supports scrollbar-width
- formatting

8 months agorename octicons.svg to octicons-16.svg and remove size suffix from IDs
Dan Allen [Wed, 30 Dec 2020 09:55:26 +0000 (02:55 -0700)]
rename octicons.svg to octicons-16.svg and remove size suffix from IDs

8 months agoadd multiple classes using DOMTokenList#add method in copy to clipboard script
Dan Allen [Wed, 30 Dec 2020 09:50:14 +0000 (02:50 -0700)]
add multiple classes using DOMTokenList#add method in copy to clipboard script

8 months agosimplify computed height for nav menu panel; use var for nav explore panel (max)...
Dan Allen [Wed, 30 Dec 2020 09:48:23 +0000 (02:48 -0700)]
simplify computed height for nav menu panel; use var for nav explore panel (max) height

8 months agosimplify logic to expand nav explore panel
Dan Allen [Wed, 30 Dec 2020 09:46:15 +0000 (02:46 -0700)]
simplify logic to expand nav explore panel

8 months agouse variable to set width and height of nav toggle button in toolbar
Dan Allen [Wed, 30 Dec 2020 09:43:42 +0000 (02:43 -0700)]
use variable to set width and height of nav toggle button in toolbar

8 months agodefine toc CSS vars after doc vars
Dan Allen [Wed, 30 Dec 2020 09:41:08 +0000 (02:41 -0700)]
define toc CSS vars after doc vars

8 months agoreduce space between doctitle and embedded toc
Dan Allen [Tue, 29 Dec 2020 08:43:40 +0000 (01:43 -0700)]
reduce space between doctitle and embedded toc

9 months agoremove unused close icon
Dan Allen [Mon, 28 Dec 2020 12:07:24 +0000 (05:07 -0700)]
remove unused close icon

9 months agoright right property on page versions menu
Dan Allen [Mon, 28 Dec 2020 00:04:41 +0000 (17:04 -0700)]
right right property on page versions menu

9 months agoconsistently use background instead of background-color in header
Dan Allen [Sun, 27 Dec 2020 09:42:37 +0000 (02:42 -0700)]
consistently use background instead of background-color in header

9 months agoremove needless style for page versions
Dan Allen [Sun, 27 Dec 2020 09:38:44 +0000 (02:38 -0700)]
remove needless style for page versions

9 months agoenable page version selector on mobile
Dan Allen [Sat, 26 Dec 2020 23:43:50 +0000 (16:43 -0700)]
enable page version selector on mobile

9 months agoallow navbar burger to shrink
Dan Allen [Sat, 26 Dec 2020 23:35:51 +0000 (16:35 -0700)]
allow navbar burger to shrink

9 months agouse background color instead of border for lines in navbar burger
Dan Allen [Sat, 26 Dec 2020 11:24:21 +0000 (04:24 -0700)]
use background color instead of border for lines in navbar burger

9 months agoredo navbar burger using flexbox and add transition on close
Dan Allen [Sat, 26 Dec 2020 11:09:51 +0000 (04:09 -0700)]
redo navbar burger using flexbox and add transition on close

9 months agofix alignment of burger area and use rem unit for width of bars
Dan Allen [Sat, 26 Dec 2020 10:15:36 +0000 (03:15 -0700)]
fix alignment of burger area and use rem unit for width of bars

9 months agosimplify header styles; remove redundant properties
Dan Allen [Sat, 26 Dec 2020 10:13:23 +0000 (03:13 -0700)]
simplify header styles; remove redundant properties

9 months agoremove unused CSS
Dan Allen [Fri, 25 Dec 2020 02:41:53 +0000 (19:41 -0700)]
remove unused CSS

9 months agodon't use flexbox for nav menu; style top of sibling list instead of bottom
Dan Allen [Fri, 25 Dec 2020 02:41:24 +0000 (19:41 -0700)]
don't use flexbox for nav menu; style top of sibling list instead of bottom

9 months agostyle scrollbars in body uniformly
Dan Allen [Fri, 25 Dec 2020 02:35:12 +0000 (19:35 -0700)]
style scrollbars in body uniformly

9 months agoadd support for nobreak and nowrap utility roles
Dan Allen [Wed, 23 Dec 2020 21:36:52 +0000 (14:36 -0700)]
add support for nobreak and nowrap utility roles

9 months agouse correct value for max height of navbar menu on mobile
Dan Allen [Wed, 23 Dec 2020 21:31:43 +0000 (14:31 -0700)]
use correct value for max height of navbar menu on mobile

9 months agorestrict link around home to icon
Dan Allen [Wed, 23 Dec 2020 10:30:39 +0000 (03:30 -0700)]
restrict link around home to icon

9 months agolink home icon size to toolbar height
Dan Allen [Wed, 23 Dec 2020 10:24:07 +0000 (03:24 -0700)]
link home icon size to toolbar height

9 months agouse order instead of row-reverse to swap article and toc
Dan Allen [Tue, 22 Dec 2020 21:30:07 +0000 (14:30 -0700)]
use order instead of row-reverse to swap article and toc

9 months agoinsert toc before article and swap position w/ flexbox to avoid reflow on load
Dan Allen [Tue, 22 Dec 2020 21:18:06 +0000 (14:18 -0700)]
insert toc before article and swap position w/ flexbox to avoid reflow on load

9 months agoremove -webkit-text-size-adjust property on html since it's not applicable
Dan Allen [Tue, 22 Dec 2020 11:32:21 +0000 (04:32 -0700)]
remove -webkit-text-size-adjust property on html since it's not applicable

9 months agopass radix to parseInt function (to avoid unnecessary checks and unwanted side effects)
Dan Allen [Tue, 22 Dec 2020 09:25:04 +0000 (02:25 -0700)]
pass radix to parseInt function (to avoid unnecessary checks and unwanted side effects)

9 months agoadd .5px to max-width media queries to ensure a smooth transition
Dan Allen [Mon, 21 Dec 2020 00:46:09 +0000 (17:46 -0700)]
add .5px to max-width media queries to ensure a smooth transition

9 months agoflatten comment in script
Dan Allen [Mon, 21 Dec 2020 00:42:01 +0000 (17:42 -0700)]
flatten comment in script

9 months agouse test instead of match when looking for section in nav script
Dan Allen [Mon, 21 Dec 2020 00:36:13 +0000 (17:36 -0700)]
use test instead of match when looking for section in nav script

9 months agopredefine regular expressions in JavaScript functions
Dan Allen [Mon, 21 Dec 2020 00:25:13 +0000 (17:25 -0700)]
predefine regular expressions in JavaScript functions

9 months agofix missing replacement for line continaution in copy to clipboard script
Dan Allen [Mon, 21 Dec 2020 00:23:05 +0000 (17:23 -0700)]
fix missing replacement for line continaution in copy to clipboard script

9 months agomake correction for view height when opening navbar menu on mobile
Dan Allen [Mon, 21 Dec 2020 00:20:27 +0000 (17:20 -0700)]
make correction for view height when opening navbar menu on mobile

9 months agorefactor logic for navbar burger to align with other scripts
Dan Allen [Mon, 21 Dec 2020 00:13:08 +0000 (17:13 -0700)]
refactor logic for navbar burger to align with other scripts

9 months agodon't override behavior of modified clicks in fragment jumper
Dan Allen [Mon, 21 Dec 2020 00:00:29 +0000 (17:00 -0700)]
don't override behavior of modified clicks in fragment jumper

9 months agoconsolidate code in fragment jumper
Dan Allen [Mon, 21 Dec 2020 00:00:22 +0000 (17:00 -0700)]
consolidate code in fragment jumper

9 months agominor refactoring
Dan Allen [Sun, 20 Dec 2020 23:33:00 +0000 (16:33 -0700)]
minor refactoring

9 months agorename concealEvent to trapEvent
Dan Allen [Sun, 20 Dec 2020 23:04:57 +0000 (16:04 -0700)]
rename concealEvent to trapEvent

9 months agolimit hdlist styles to hdlist and add space between entries
Dan Allen [Thu, 17 Dec 2020 10:37:54 +0000 (03:37 -0700)]
limit hdlist styles to hdlist and add space between entries

9 months agomerge !136
Dan Allen [Tue, 15 Dec 2020 19:35:17 +0000 (19:35 +0000)]
merge !136

add back syntax highlighting for diff

9 months agoadd back syntax highlighting for diff
Pierre Radermecker [Tue, 15 Dec 2020 15:12:36 +0000 (16:12 +0100)]
add back syntax highlighting for diff

9 months agoremove lesser used languages from highlight.js bundle (diff, makefile)
Dan Allen [Tue, 15 Dec 2020 01:33:43 +0000 (18:33 -0700)]
remove lesser used languages from highlight.js bundle (diff, makefile)

- reenable upon request

9 months agomerge !135
Dan Allen [Tue, 15 Dec 2020 01:30:08 +0000 (01:30 +0000)]
merge !135

add syntax highlighting for Puppet

9 months agoadd syntax highlighting for Puppet
Pierre Radermecker [Sun, 13 Dec 2020 19:39:45 +0000 (20:39 +0100)]
add syntax highlighting for Puppet

9 months agomerge !134
Dan Allen [Sun, 13 Dec 2020 07:41:39 +0000 (07:41 +0000)]
merge !134

resolves #156 style table footer

9 months agostyle table footer
Dan Allen [Sun, 13 Dec 2020 07:29:19 +0000 (00:29 -0700)]
style table footer

9 months agotweak layout for page versions
Dan Allen [Sun, 13 Dec 2020 06:55:13 +0000 (23:55 -0700)]
tweak layout for page versions

9 months agomerge !133
Dan Allen [Sun, 13 Dec 2020 02:21:47 +0000 (02:21 +0000)]
merge !133

resolves #75 fix selector for page versions when version overflows

9 months agofix selector for page versions when version overflows
Dan Allen [Sun, 13 Dec 2020 01:12:25 +0000 (18:12 -0700)]
fix selector for page versions when version overflows

9 months agocontrain main content on mobile to prevent breaking layout
Dan Allen [Sun, 13 Dec 2020 00:03:40 +0000 (17:03 -0700)]
contrain main content on mobile to prevent breaking layout

9 months agomerge !132
Dan Allen [Sat, 12 Dec 2020 23:46:18 +0000 (23:46 +0000)]
merge !132

resolves #160 adjust height of nav panel when activating, if necessary

9 months agoadjust height of nav panel when activating, if necessary
Dan Allen [Sat, 12 Dec 2020 23:27:48 +0000 (16:27 -0700)]
adjust height of nav panel when activating, if necessary

9 months agoremove used style for p in table
Dan Allen [Sat, 12 Dec 2020 22:53:28 +0000 (15:53 -0700)]
remove used style for p in table

9 months agodefine uiRootPath var in head instead of footer
Dan Allen [Sat, 12 Dec 2020 10:42:35 +0000 (03:42 -0700)]
define uiRootPath var in head instead of footer

9 months agolock version of highlight.js to 9.18.3 to avoid upgrade nag message
Dan Allen [Sat, 12 Dec 2020 10:10:52 +0000 (03:10 -0700)]
lock version of highlight.js to 9.18.3 to avoid upgrade nag message

9 months agorefresh dependency lock file
Dan Allen [Sat, 12 Dec 2020 10:09:33 +0000 (03:09 -0700)]
refresh dependency lock file

9 months agomerge !131
Dan Allen [Sat, 12 Dec 2020 10:07:06 +0000 (10:07 +0000)]
merge !131

resolves #159 add support for stripes attribute on table

9 months agoadd support for stripes attribute on table
Dan Allen [Sat, 12 Dec 2020 10:01:45 +0000 (03:01 -0700)]
add support for stripes attribute on table

9 months agouse top-oriented approach to add margin to table; remove top margin on table when...
Dan Allen [Sat, 12 Dec 2020 09:56:12 +0000 (02:56 -0700)]
use top-oriented approach to add margin to table; remove top margin on table when first child in AsciiDoc table cell

9 months agofix vertical alignment of images
Dan Allen [Sat, 12 Dec 2020 09:46:59 +0000 (02:46 -0700)]
fix vertical alignment of images

9 months agomove override for p in table to tableblock section
Dan Allen [Sat, 12 Dec 2020 09:44:54 +0000 (02:44 -0700)]
move override for p in table to tableblock section

9 months agomake the stretch role generic
Dan Allen [Sat, 12 Dec 2020 09:43:25 +0000 (02:43 -0700)]
make the stretch role generic

9 months agomove user select for language-console below source toolbar in stylesheet
Dan Allen [Sat, 12 Dec 2020 09:41:45 +0000 (02:41 -0700)]
move user select for language-console below source toolbar in stylesheet

9 months agostrip trailing space (left behind by callouts) when copying source
Dan Allen [Sat, 12 Dec 2020 03:33:33 +0000 (20:33 -0700)]
strip trailing space (left behind by callouts) when copying source

9 months agocorrectly flatten command with line continuation when copying
Dan Allen [Sat, 12 Dec 2020 03:33:01 +0000 (20:33 -0700)]
correctly flatten command with line continuation when copying

9 months agomerge !130
Dan Allen [Sat, 12 Dec 2020 02:37:09 +0000 (02:37 +0000)]
merge !130

resolves #70 add copy to clipboard button to source blocks

9 months agoadd copy to clipboard button to source blocks
Dan Allen [Fri, 11 Dec 2020 00:57:57 +0000 (17:57 -0700)]
add copy to clipboard button to source blocks

* add subsetted SVG icon sprite for octicons
* add copy to clipboard button to source blocks (visible on hover)
* replace pseudo-element for source language with a toolbox (managed by JavaScript)
* autodetect literal block with command and promote to a console source block
* intelligently extract commands from console source block, flatten them, and join them in a chain
* prevent command prompt(s) in console source block from being selected
* darken color for annotation on source block
* configure svgo to preserve desc element
* configure svgo to preserve ID prefixes for icons

9 months agofix word-wrap (aka overflow-wrap) setting
Dan Allen [Thu, 10 Dec 2020 23:11:22 +0000 (16:11 -0700)]
fix word-wrap (aka overflow-wrap) setting

- enable word-wrap anywhere by default
- disable word-wrap (reset to normal) in tables (except content cell of admonition table)

9 months agoset border-collapse on table in CSS reset
Dan Allen [Thu, 10 Dec 2020 22:50:13 +0000 (15:50 -0700)]
set border-collapse on table in CSS reset

9 months agoadd styles for the horizontal dlist
Dan Allen [Thu, 10 Dec 2020 22:44:59 +0000 (15:44 -0700)]
add styles for the horizontal dlist

9 months agooffer a way back in the message on the 404 page
Dan Allen [Wed, 9 Dec 2020 00:07:17 +0000 (17:07 -0700)]
offer a way back in the message on the 404 page

9 months agomove article tag for 404 to separate partial
Dan Allen [Wed, 9 Dec 2020 00:00:37 +0000 (17:00 -0700)]
move article tag for 404 to separate partial

9 months agoadd ne helper and use it for negated equality test
Dan Allen [Tue, 8 Dec 2020 23:48:54 +0000 (16:48 -0700)]
add ne helper and use it for negated equality test

9 months agoexpand explore panel on 404 page
Dan Allen [Tue, 8 Dec 2020 23:44:31 +0000 (16:44 -0700)]
expand explore panel on 404 page

9 months agomake component title in component drawer a link
Dan Allen [Mon, 7 Dec 2020 11:44:30 +0000 (04:44 -0700)]
make component title in component drawer a link

9 months agoremove trailing spaces in UI model for preview
Dan Allen [Mon, 7 Dec 2020 11:38:15 +0000 (04:38 -0700)]
remove trailing spaces in UI model for preview

9 months agouse pseudo-element to position caret next to version on explore drawer
Dan Allen [Mon, 7 Dec 2020 11:32:31 +0000 (04:32 -0700)]
use pseudo-element to position caret next to version on explore drawer