working/eg-antora.git
4 years agodocument that gulp can be run from within the project
Dan Allen [Mon, 20 Jul 2020 23:57:20 +0000 (17:57 -0600)]
document that gulp can be run from within the project

4 years agodocument the FORCE_SHOW_EDIT_PAGE_LINK environment variable
Dan Allen [Sun, 28 Jun 2020 20:54:21 +0000 (14:54 -0600)]
document the FORCE_SHOW_EDIT_PAGE_LINK environment variable

4 years agomerge !120
Dan Allen [Sat, 23 May 2020 21:33:44 +0000 (21:33 +0000)]
merge !120

add elixir language to highlight.js bundle

4 years agoadd elixir language to highlight.js bundle
Dan Allen [Wed, 20 May 2020 06:38:58 +0000 (00:38 -0600)]
add elixir language to highlight.js bundle

4 years agoremove commented lines in highlight.js bundle
Dan Allen [Wed, 20 May 2020 06:38:12 +0000 (00:38 -0600)]
remove commented lines in highlight.js bundle

4 years agomerge !119
Dan Allen [Sun, 17 May 2020 09:40:41 +0000 (03:40 -0600)]
merge !119

add instructions to @import typeface-*.css file in master stylesheet

4 years agorevise additional steps for adding new font; add to manual section too
Dan Allen [Sun, 17 May 2020 09:40:06 +0000 (03:40 -0600)]
revise additional steps for adding new font; add to manual section too

4 years agomerge !118
Dan Allen [Sun, 17 May 2020 09:27:28 +0000 (09:27 +0000)]
merge !118

resolves #136 fix Error.call conflict when Opal is loaded

4 years agofix Error.call conflict when Opal is loaded
Dan Allen [Mon, 11 May 2020 07:42:58 +0000 (01:42 -0600)]
fix Error.call conflict when Opal is loaded

4 years agoadd tip about how to remove site.path from site.url using helper
Dan Allen [Sat, 16 May 2020 09:54:08 +0000 (03:54 -0600)]
add tip about how to remove site.path from site.url using helper

4 years agoupdate description of page.navigation property in UI model
Dan Allen [Sat, 16 May 2020 09:27:45 +0000 (03:27 -0600)]
update description of page.navigation property in UI model

4 years agoclarify that breadcrumbs include text-only and external items
Dan Allen [Sat, 16 May 2020 09:27:25 +0000 (03:27 -0600)]
clarify that breadcrumbs include text-only and external items

4 years agoupdate list of properties on component and component version in UI model
Dan Allen [Sat, 16 May 2020 09:27:00 +0000 (03:27 -0600)]
update list of properties on component and component version in UI model

4 years agoclarify the value of the next/previous/parent properties on the page model
Dan Allen [Sat, 16 May 2020 09:26:25 +0000 (03:26 -0600)]
clarify the value of the next/previous/parent properties on the page model

4 years agoadd comment for how to vendorize a library sourced from a node module
Dan Allen [Fri, 15 May 2020 09:25:03 +0000 (03:25 -0600)]
add comment for how to vendorize a library sourced from a node module

4 years agoAdd instructions to @import typeface-*.css
Pavel Anni [Wed, 13 May 2020 20:38:28 +0000 (16:38 -0400)]
Add instructions to @import typeface-*.css

4 years agorefresh dependency lock file
Dan Allen [Mon, 11 May 2020 06:24:42 +0000 (00:24 -0600)]
refresh dependency lock file

4 years agomerge !110
Dan Allen [Sun, 10 May 2020 22:17:47 +0000 (22:17 +0000)]
merge !110

resolves #126 add index.js file to make project locatable using require.resolve

4 years agoadd index.js so package is requireable, but not packable
David Jencks [Sun, 10 May 2020 21:25:34 +0000 (14:25 -0700)]
add index.js so package is requireable, but not packable

4 years agoconsistently use triple handlebars for URLs
Dan Allen [Sun, 10 May 2020 08:04:54 +0000 (02:04 -0600)]
consistently use triple handlebars for URLs

4 years agodon't attempt to escape uiRootPath value
Dan Allen [Sun, 10 May 2020 08:04:33 +0000 (02:04 -0600)]
don't attempt to escape uiRootPath value

4 years agodon't attempt to encode page role (as it should already be encoded)
Dan Allen [Sun, 10 May 2020 07:53:19 +0000 (01:53 -0600)]
don't attempt to encode page role (as it should already be encoded)

4 years agodocument that the page.title is in HTML format
Dan Allen [Sun, 10 May 2020 07:28:57 +0000 (01:28 -0600)]
document that the page.title is in HTML format

4 years agomove name of package into antora scope
Dan Allen [Sun, 10 May 2020 07:17:48 +0000 (01:17 -0600)]
move name of package into antora scope

4 years agomerge !117
Dan Allen [Sun, 10 May 2020 07:16:21 +0000 (07:16 +0000)]
merge !117

resolves #134 add flex: auto to article so it expands to available width

4 years agoadd flex: auto to article so it expands to available width
Dan Allen [Sat, 9 May 2020 20:42:44 +0000 (14:42 -0600)]
add flex: auto to article so it expands to available width

4 years agoremove eslint override for no-void
Dan Allen [Fri, 8 May 2020 10:07:04 +0000 (04:07 -0600)]
remove eslint override for no-void

4 years agoadd example of nav entry with hash that expands parent node
Dan Allen [Fri, 1 May 2020 09:39:35 +0000 (03:39 -0600)]
add example of nav entry with hash that expands parent node

4 years agomerge !116
Dan Allen [Fri, 1 May 2020 09:00:42 +0000 (09:00 +0000)]
merge !116

resolves #112 unmangle pseudo-element selectors

4 years agounmangle pseudo-element selectors
Dan Allen [Wed, 29 Apr 2020 11:41:29 +0000 (05:41 -0600)]
unmangle pseudo-element selectors

4 years agomerge !115
Dan Allen [Wed, 29 Apr 2020 09:53:05 +0000 (09:53 +0000)]
merge !115

resolves #129 force words to break that don't fit within available space

4 years agoforce words to break that don't fit within available space
Dan Allen [Wed, 29 Apr 2020 01:46:10 +0000 (19:46 -0600)]
force words to break that don't fit within available space

* word-wrap: break-word globally
* word-break: break-word in table cells

4 years agodon't attempt to set undefined contents on bundled file
Dan Allen [Wed, 29 Apr 2020 08:04:29 +0000 (02:04 -0600)]
don't attempt to set undefined contents on bundled file

4 years agorefresh dependency lock file
Dan Allen [Wed, 29 Apr 2020 06:59:20 +0000 (00:59 -0600)]
refresh dependency lock file

4 years agomerge !112
Dan Allen [Wed, 29 Apr 2020 02:07:48 +0000 (02:07 +0000)]
merge !112

resolves #96 add pagination links to head and nav to bottom of page

4 years agoonly activate navigation pager if page-pager attribute is set
Dan Allen [Tue, 28 Apr 2020 23:30:26 +0000 (17:30 -0600)]
only activate navigation pager if page-pager attribute is set

4 years agoadd next/prev links in head
Dan Allen [Tue, 28 Apr 2020 23:27:09 +0000 (17:27 -0600)]
add next/prev links in head

4 years agoadd pagination nav to bottom of page
Dan Allen [Sat, 25 Apr 2020 09:55:01 +0000 (03:55 -0600)]
add pagination nav to bottom of page

4 years agodisable hyphens for path value
Dan Allen [Wed, 29 Apr 2020 01:47:53 +0000 (19:47 -0600)]
disable hyphens for path value

4 years agouse equal sign in option hint so it can be selected with double click
Dan Allen [Tue, 28 Apr 2020 09:48:56 +0000 (03:48 -0600)]
use equal sign in option hint so it can be selected with double click

4 years agomerge !114
Dan Allen [Mon, 27 Apr 2020 08:36:15 +0000 (08:36 +0000)]
merge !114

resolves #123 add support for varargs to {{and}} and {{or}} helpers

4 years agoadd support for varargs to {{and}} and {{or}} helpers
Dan Allen [Sun, 26 Apr 2020 22:51:46 +0000 (16:51 -0600)]
add support for varargs to {{and}} and {{or}} helpers

4 years agomerge !113
Dan Allen [Sun, 26 Apr 2020 22:58:15 +0000 (22:58 +0000)]
merge !113

resolves #130 disable hyphens on monospaced phrases

4 years agoturn hyphens on for article, then off for certain selectors
Dan Allen [Sun, 26 Apr 2020 22:11:45 +0000 (16:11 -0600)]
turn hyphens on for article, then off for certain selectors

4 years agodisable hyphens on monospaced phrases
Dan Allen [Sat, 25 Apr 2020 10:33:26 +0000 (04:33 -0600)]
disable hyphens on monospaced phrases

4 years agoconsistently use triple handlebars to output URL
Dan Allen [Sat, 25 Apr 2020 09:28:29 +0000 (03:28 -0600)]
consistently use triple handlebars to output URL

4 years agopreserve option for postcss-custom-properties is now a boolean
Dan Allen [Sat, 25 Apr 2020 06:51:33 +0000 (00:51 -0600)]
preserve option for postcss-custom-properties is now a boolean

4 years agoremove void keyword from sidebar TOC script
Dan Allen [Fri, 24 Apr 2020 15:10:30 +0000 (09:10 -0600)]
remove void keyword from sidebar TOC script

4 years agoadd page or document role to body tag if defined in page source
Dan Allen [Sun, 19 Apr 2020 08:54:37 +0000 (02:54 -0600)]
add page or document role to body tag if defined in page source

4 years agomake template path in handlebars error message easier to spot
Dan Allen [Thu, 16 Apr 2020 19:16:17 +0000 (13:16 -0600)]
make template path in handlebars error message easier to spot

4 years agopass srcName option when compiling layout
Dan Allen [Thu, 16 Apr 2020 11:42:36 +0000 (05:42 -0600)]
pass srcName option when compiling layout

4 years agoshow relative path of template that caused handlebars error
Dan Allen [Thu, 16 Apr 2020 11:37:38 +0000 (05:37 -0600)]
show relative path of template that caused handlebars error

4 years agorewrite pipeline to emit compiled layouts from stream; use map to store compiled...
Dan Allen [Thu, 16 Apr 2020 10:31:03 +0000 (04:31 -0600)]
rewrite pipeline to emit compiled layouts from stream; use map to store compiled layouts

4 years agomerge !111
Dan Allen [Tue, 14 Apr 2020 09:09:19 +0000 (09:09 +0000)]
merge !111

resolves #97 when creating a resource bundle, use mtime of newest bundled / imported file if newer than parent

4 years agowhen creating a resource bundle, use mtime of newest bundled / imported file if newer...
Dan Allen [Sun, 12 Apr 2020 23:34:41 +0000 (17:34 -0600)]
when creating a resource bundle, use mtime of newest bundled / imported file if newer than parent

4 years agobuild TOC entries using text-only content
Dan Allen [Sun, 12 Apr 2020 10:14:30 +0000 (04:14 -0600)]
build TOC entries using text-only content

4 years agomerge !109
Dan Allen [Sat, 11 Apr 2020 10:26:43 +0000 (10:26 +0000)]
merge !109

resolves #124 announce path of bundle in the form of the --ui-bundle-url option

4 years agoannounce path of bundle in the form of the --ui-bundle-url option
Dan Allen [Sat, 11 Apr 2020 09:18:11 +0000 (03:18 -0600)]
announce path of bundle in the form of the --ui-bundle-url option

4 years agooutput report from prettier to console using fancy-log
Dan Allen [Sat, 11 Apr 2020 10:02:15 +0000 (04:02 -0600)]
output report from prettier to console using fancy-log

4 years agoconsolidate script for TOC sidebar
Dan Allen [Sat, 11 Apr 2020 09:43:00 +0000 (03:43 -0600)]
consolidate script for TOC sidebar

4 years agoallow use of void keyword
Dan Allen [Sat, 11 Apr 2020 09:42:51 +0000 (03:42 -0600)]
allow use of void keyword

4 years agoconvert style value to float instead of integer in toc sidebar script
Dan Allen [Sat, 11 Apr 2020 09:30:35 +0000 (03:30 -0600)]
convert style value to float instead of integer in toc sidebar script

4 years agoformat source
Dan Allen [Sat, 11 Apr 2020 09:28:56 +0000 (03:28 -0600)]
format source

4 years agoconsolidate zip routine to a single call
Dan Allen [Sat, 11 Apr 2020 01:25:30 +0000 (19:25 -0600)]
consolidate zip routine to a single call

4 years agomerge !108
Dan Allen [Thu, 9 Apr 2020 22:47:30 +0000 (22:47 +0000)]
merge !108

resolves #60 use title of component version instead of component in nav menu

4 years agouse title of component version instead of component in nav menu
Dan Allen [Thu, 9 Apr 2020 09:56:29 +0000 (03:56 -0600)]
use title of component version instead of component in nav menu

4 years agomerge !107
Dan Allen [Thu, 9 Apr 2020 21:56:45 +0000 (21:56 +0000)]
merge !107

resolves #122 activate entries in sidebar TOC for all visible headings when scroll reaches bottom of page

4 years agoslighly tweak the thresholds for the scroll spy
Dan Allen [Thu, 9 Apr 2020 10:10:15 +0000 (04:10 -0600)]
slighly tweak the thresholds for the scroll spy

4 years agoslightly increase scroll spy buffer above heading
Dan Allen [Thu, 9 Apr 2020 09:39:36 +0000 (03:39 -0600)]
slightly increase scroll spy buffer above heading

4 years agoactivate entries in sidebar TOC for all visible headings when scroll reaches bottom...
Dan Allen [Wed, 8 Apr 2020 09:54:55 +0000 (03:54 -0600)]
activate entries in sidebar TOC for all visible headings when scroll reaches bottom of page

4 years agoapply ventilated prose to final section of preview page
Dan Allen [Wed, 8 Apr 2020 09:41:21 +0000 (03:41 -0600)]
apply ventilated prose to final section of preview page

4 years agoconsolidate on this page code
Dan Allen [Wed, 8 Apr 2020 08:12:52 +0000 (02:12 -0600)]
consolidate on this page code

4 years agoenable home icon in preview
Dan Allen [Wed, 8 Apr 2020 07:31:08 +0000 (01:31 -0600)]
enable home icon in preview

4 years agoreplace more #if statements with #with statements to simplify calls
Dan Allen [Wed, 8 Apr 2020 07:30:41 +0000 (01:30 -0600)]
replace more #if statements with #with statements to simplify calls

4 years agoremove redundant guard around description and keywords meta
Dan Allen [Wed, 8 Apr 2020 07:28:24 +0000 (01:28 -0600)]
remove redundant guard around description and keywords meta

4 years agouse #with for simple template fragments guarded by truthy checks
Dan Allen [Wed, 8 Apr 2020 07:22:13 +0000 (01:22 -0600)]
use #with for simple template fragments guarded by truthy checks

4 years agoremove fringe languages from highlight.js bundle to reduce size
Dan Allen [Mon, 6 Apr 2020 22:02:54 +0000 (16:02 -0600)]
remove fringe languages from highlight.js bundle to reduce size

4 years agoupgrade highlight.js
Dan Allen [Mon, 6 Apr 2020 22:01:32 +0000 (16:01 -0600)]
upgrade highlight.js

4 years agoupgrade postcss plugins
Dan Allen [Mon, 6 Apr 2020 21:56:09 +0000 (15:56 -0600)]
upgrade postcss plugins

4 years agoupgrade gulp plugins
Dan Allen [Mon, 6 Apr 2020 21:54:24 +0000 (15:54 -0600)]
upgrade gulp plugins

4 years agoupgrade stylelint
Dan Allen [Mon, 6 Apr 2020 21:52:20 +0000 (15:52 -0600)]
upgrade stylelint

4 years agoupgrade handlebars
Dan Allen [Mon, 6 Apr 2020 21:49:27 +0000 (15:49 -0600)]
upgrade handlebars

4 years agoupgrade eslint
Dan Allen [Mon, 6 Apr 2020 21:47:48 +0000 (15:47 -0600)]
upgrade eslint

4 years agoupdate dependency lock file
Dan Allen [Mon, 6 Apr 2020 21:46:21 +0000 (15:46 -0600)]
update dependency lock file

4 years agouse #with instead of #if to retrieve Antora version
Dan Allen [Sat, 4 Apr 2020 09:17:30 +0000 (03:17 -0600)]
use #with instead of #if to retrieve Antora version

4 years agoput comparison value second in eq condition
Dan Allen [Sat, 4 Apr 2020 09:15:30 +0000 (03:15 -0600)]
put comparison value second in eq condition

4 years agouse .. instead of ../this in template
Dan Allen [Sat, 4 Apr 2020 09:15:15 +0000 (03:15 -0600)]
use .. instead of ../this in template

4 years agoonly remove background color from active link, not whole background
Dan Allen [Thu, 2 Apr 2020 23:31:00 +0000 (17:31 -0600)]
only remove background color from active link, not whole background

4 years agodon't allow the toc sidebar to grow beyond the bounds of the content column
Dan Allen [Wed, 1 Apr 2020 19:35:33 +0000 (13:35 -0600)]
don't allow the toc sidebar to grow beyond the bounds of the content column

4 years agomerge !56
Dan Allen [Tue, 31 Mar 2020 21:30:19 +0000 (21:30 +0000)]
merge !56

resolves #107 add JavaScript that generates the "on this page" sidebar

4 years agoadd styles for TOC and integrate TOC into page layout
Dan Allen [Tue, 31 Mar 2020 10:38:55 +0000 (04:38 -0600)]
add styles for TOC and integrate TOC into page layout

- use flexbox to layout TOC
- add scroll spy behavior to sidebar TOC
- introduce additional breakpoint for sidebar TOC width (desktop and widescreen)
- activate last entry in toc if scroll has reached bottom of page
- introduce variables for toc (top, width, etc)
- add utility class to hide element when in TOC
- look for -toc class on body; rename before-toc class to is-before-toc
- use article top as threshold for activating entry in TOC
- disable scrollbar on toc in Firefox
- scroll list instead of menu
- hide scrollbar on TOC
- don't add embedded toc if element is found with ID "toc"

4 years agoadd JavaScript that generates the "on this page" sidebar
Dan Allen [Mon, 19 Nov 2018 21:07:56 +0000 (14:07 -0700)]
add JavaScript that generates the "on this page" sidebar

This script was originally developed for Couchbase by OpenDevise. This
commit contributes the script to the Antora project on behalf of
Couchbase. The script will now be licensed under the terms of the MPL
2.0 license to match the license of the Antora project itself.

4 years agocorrection: disable link background on active
Dan Allen [Tue, 31 Mar 2020 10:41:45 +0000 (04:41 -0600)]
correction: disable link background on active

4 years agodisable background on link focus
Dan Allen [Tue, 31 Mar 2020 10:35:41 +0000 (04:35 -0600)]
disable background on link focus

4 years agomerge !105
Dan Allen [Tue, 31 Mar 2020 09:15:16 +0000 (09:15 +0000)]
merge !105

resolves #121 preallocate space for scrollbar on nav menu

4 years agopreallocate space for scrollbar on nav menu
Dan Allen [Tue, 31 Mar 2020 07:21:36 +0000 (01:21 -0600)]
preallocate space for scrollbar on nav menu

- set overflow: scroll
- configure scrollbar on Firefox to only show when there's scrollable content
- move scrollbar thumb color to a variable

4 years agouse em instead of rem to align conum in colist
Dan Allen [Tue, 31 Mar 2020 01:13:37 +0000 (19:13 -0600)]
use em instead of rem to align conum in colist

4 years agofix alignment of conums and description text in conum list
Dan Allen [Tue, 31 Mar 2020 00:31:25 +0000 (18:31 -0600)]
fix alignment of conums and description text in conum list

4 years agoadd article class to main element
Dan Allen [Mon, 30 Mar 2020 20:07:55 +0000 (14:07 -0600)]
add article class to main element

4 years agomerge !104
Dan Allen [Mon, 30 Mar 2020 09:22:00 +0000 (09:22 +0000)]
merge !104

resolves #118 select nav item on hash change (and initial page load)