Dan Allen [Thu, 19 Mar 2020 19:26:11 +0000 (19:26 +0000)]
merge !102
resolves #116 honor environment variable to force edit page link to be shown
Dan Allen [Wed, 18 Mar 2020 21:59:43 +0000 (15:59 -0600)]
honor environment variable (FORCE_SHOW_EDIT_PAGE_LINK) to force edit page link to be shown
Dan Allen [Wed, 18 Mar 2020 22:50:18 +0000 (22:50 +0000)]
merge !103
resolves #115 register built-in helpers (resolvePage and resolvePageURL) with stub implementation in preview site
Dan Allen [Wed, 18 Mar 2020 22:02:54 +0000 (16:02 -0600)]
register built-in helpers (resolvePage and resolvePageURL) with stub implementation in preview site
Dan Allen [Wed, 18 Mar 2020 22:30:43 +0000 (16:30 -0600)]
improve implementation for #99 and add example to preview site
Dan Allen [Wed, 18 Mar 2020 22:29:24 +0000 (22:29 +0000)]
merge !101
resolves #99 decode anchor hash string to support Unicode characters
Konrumi [Sun, 8 Mar 2020 05:07:34 +0000 (05:07 +0000)]
fix: decode anchor hash string to support Chinese characters
(cherry picked from commit
810652e445545efbf20a6a3e93ce4365ed534516)
Dan Allen [Wed, 18 Mar 2020 21:41:45 +0000 (15:41 -0600)]
modify implementation of relativize helper
- consolidate logic
- return to if not root-relative
- return to prefixed with site path if from is undefined
- export unnamed function
Dan Allen [Wed, 18 Mar 2020 21:07:32 +0000 (15:07 -0600)]
add blank line after regexp constant in helper
Dan Allen [Tue, 10 Dec 2019 23:03:08 +0000 (16:03 -0700)]
document the page.displayVersion UI model property
Dan Allen [Wed, 13 Nov 2019 09:35:05 +0000 (02:35 -0700)]
add warning that using a backslash in front of a mustache expression disables it
Dan Allen [Wed, 13 Nov 2019 09:27:01 +0000 (02:27 -0700)]
make the reference table of UI variables clearer
Dan Allen [Sat, 2 Nov 2019 02:45:34 +0000 (20:45 -0600)]
upgrade eslint and update configuration for comma-dangle
Dan Allen [Thu, 31 Oct 2019 08:36:55 +0000 (02:36 -0600)]
update dependencies
Dan Allen [Wed, 30 Oct 2019 23:03:31 +0000 (17:03 -0600)]
resolves #103 style part heading and partintro block
Dan Allen [Tue, 29 Oct 2019 07:11:06 +0000 (01:11 -0600)]
don't use fileUri for edit link if CI env var is set
Dan Allen [Tue, 29 Oct 2019 02:26:57 +0000 (02:26 +0000)]
merge !97
resolves #102 use fileUri for edit page link if available
Dan Allen [Tue, 29 Oct 2019 02:04:00 +0000 (20:04 -0600)]
use fileUri for edit page link if available
Dan Allen [Sun, 13 Oct 2019 20:48:02 +0000 (14:48 -0600)]
update handlebars to address vuln
Antoine Le Morvan [Wed, 11 Sep 2019 12:58:48 +0000 (12:58 +0000)]
Add information about page.editUrl as this functionnality is limited for the moment to 4 hosts.
Dan Allen [Fri, 4 Oct 2019 21:04:31 +0000 (15:04 -0600)]
rename table role spread to stretch to be compliant with Asciidoctor output
Dan Allen [Tue, 1 Oct 2019 23:36:32 +0000 (17:36 -0600)]
document the env and antoraVersion template variables
Dan Allen [Tue, 1 Oct 2019 23:34:24 +0000 (17:34 -0600)]
document the siteRootPath template variable
Dan Allen [Tue, 1 Oct 2019 22:52:44 +0000 (22:52 +0000)]
merge !94
resolves #100 add support for line-through role
Dan Allen [Tue, 1 Oct 2019 22:40:32 +0000 (16:40 -0600)]
add support for line-through role
Dan Allen [Tue, 1 Oct 2019 22:35:00 +0000 (16:35 -0600)]
add .doc namespace to CSS selectors for doc where missing
Dan Allen [Tue, 1 Oct 2019 22:34:03 +0000 (16:34 -0600)]
remove redundant role from main element
Dan Allen [Tue, 1 Oct 2019 22:33:10 +0000 (16:33 -0600)]
minor rewording in docs
Dan Allen [Wed, 11 Sep 2019 12:07:21 +0000 (06:07 -0600)]
correctly document how to disable the editUrl (and hence Edit this Page link)
Dan Allen [Tue, 10 Sep 2019 23:16:37 +0000 (17:16 -0600)]
mention in README that Node.js provides npm
Dan Allen [Tue, 10 Sep 2019 23:05:43 +0000 (17:05 -0600)]
refresh dependencies
Dan Allen [Tue, 10 Sep 2019 07:01:30 +0000 (01:01 -0600)]
clarify how page attributes are defined and used
- mention that they can be defined in the playbook
- show an example that contains a hyphen in the name
- correct the terminology
Dan Allen [Tue, 3 Sep 2019 22:26:25 +0000 (16:26 -0600)]
resolves #98 ignore image optimizer if not available
Dan Allen [Tue, 3 Sep 2019 22:14:09 +0000 (16:14 -0600)]
update dependencies
Dan Allen [Tue, 3 Sep 2019 22:13:12 +0000 (16:13 -0600)]
update dependency lock file
Dan Allen [Tue, 3 Sep 2019 22:11:39 +0000 (16:11 -0600)]
use fallback function when image optimizer isn't available
Dan Allen [Tue, 3 Sep 2019 22:11:16 +0000 (16:11 -0600)]
copy any gif images under src/img
Dan Allen [Wed, 28 Aug 2019 08:35:13 +0000 (02:35 -0600)]
update dependencies; fix newly detected lint error
Dan Allen [Wed, 28 Aug 2019 07:48:33 +0000 (07:48 +0000)]
merge !91
resolves #95 prepend site path when resolving relative URL if from is undefined or empty
related to https://gitlab.com/antora/antora/issues/258
Dan Allen [Sat, 24 Aug 2019 23:20:44 +0000 (17:20 -0600)]
prepend site path when resolving relative URL if from is undefined or empty
Dan Allen [Wed, 28 Aug 2019 06:32:59 +0000 (00:32 -0600)]
minor rewording in docs for site.url and site.path template vars
Dan Allen [Wed, 28 Aug 2019 06:00:16 +0000 (00:00 -0600)]
use single-quoted strings in Handlebars expressions
Dan Allen [Sun, 25 Aug 2019 20:53:09 +0000 (14:53 -0600)]
color unresolved link
Dan Allen [Sun, 25 Aug 2019 19:10:38 +0000 (13:10 -0600)]
clarify docs for site.path property in UI model
Dan Allen [Sun, 25 Aug 2019 10:33:34 +0000 (04:33 -0600)]
document the site.path property in the UI model
Dan Allen [Sat, 24 Aug 2019 23:13:13 +0000 (23:13 +0000)]
merge !90
resolves #94 make current page URL argument to relativize helper optional
Dan Allen [Sat, 24 Aug 2019 09:54:58 +0000 (03:54 -0600)]
make current page URL argument to relativize helper optional
Dan Allen [Sat, 24 Aug 2019 22:42:32 +0000 (16:42 -0600)]
explain page attributes more clearly in docs
Dan Allen [Sat, 24 Aug 2019 22:39:19 +0000 (22:39 +0000)]
merge !89
Add example to clarify page.attributes usage.
David Jencks [Sat, 24 Aug 2019 22:39:19 +0000 (22:39 +0000)]
Update templates.adoc to clarify page.attributes usage. This might be obvious to everyone else, but it took me about a day to figure out the syntax.
Dan Allen [Sat, 24 Aug 2019 08:03:33 +0000 (02:03 -0600)]
add helper to return current year as a string
Dan Allen [Thu, 22 Aug 2019 19:11:48 +0000 (13:11 -0600)]
add hint about how to disable the page.editUrl property
Dan Allen [Wed, 21 Aug 2019 07:30:41 +0000 (01:30 -0600)]
disable hyphens for bare URLs
Dan Allen [Wed, 21 Aug 2019 07:00:36 +0000 (01:00 -0600)]
clarify info about canonical URL [skip ci]
Dan Allen [Wed, 14 Aug 2019 00:15:07 +0000 (18:15 -0600)]
format source
Dan Allen [Wed, 14 Aug 2019 00:13:51 +0000 (18:13 -0600)]
activate syntax highlighting immediately instead of deferring until load
Dan Allen [Wed, 14 Aug 2019 00:13:38 +0000 (18:13 -0600)]
add syntax highlighting for Go
Dan Allen [Wed, 14 Aug 2019 00:13:09 +0000 (18:13 -0600)]
enable strict mode for highlight.js script
Dan Allen [Thu, 1 Aug 2019 23:00:56 +0000 (17:00 -0600)]
only thicken bottom border of th inside thead
Dan Allen [Tue, 23 Jul 2019 05:49:00 +0000 (23:49 -0600)]
remove redundant property assignment in toolbar CSS
Dan Allen [Mon, 22 Jul 2019 17:23:01 +0000 (11:23 -0600)]
fix typo in README [skip ci]
Dan Allen [Mon, 22 Jul 2019 09:53:31 +0000 (09:53 +0000)]
merge !87
- recalibrate font sizes
- use rem calc function to compute font sizes from desired (desktop) pixel value
- introduce variables to control font sizes, font weights, and line heights
Dan Allen [Mon, 22 Jul 2019 09:25:33 +0000 (03:25 -0600)]
use CSS var for doc margin
Dan Allen [Mon, 22 Jul 2019 09:23:58 +0000 (03:23 -0600)]
use desktop media qualifier instead of mobile media qualifier for CSS vars
Dan Allen [Mon, 22 Jul 2019 09:17:33 +0000 (03:17 -0600)]
update variable convention
* use underscore for state modifier (e.g., _hover)
* use double hyphen for media modifier (e.g. --mobile)
Dan Allen [Fri, 19 Jul 2019 20:44:05 +0000 (14:44 -0600)]
use variables for line heights
Dan Allen [Fri, 19 Jul 2019 19:13:23 +0000 (13:13 -0600)]
extract font families and bold font weight into variables
Dan Allen [Wed, 17 Jul 2019 09:52:55 +0000 (03:52 -0600)]
recalibrate font sizes
- reduce scaling on body
- don't scale font size of paragraphs in document
- extract body font sizes as variables
- use rem calc to reverse compute rem value from desired pixel value
- adjust font sizes in nav
- slightly reduce width of nav
- fix position of component versions in explore menu
Dan Allen [Fri, 19 Jul 2019 22:31:21 +0000 (22:31 +0000)]
merge !88
resolves #86 drop nav state functionality
Dan Allen [Fri, 19 Jul 2019 19:45:34 +0000 (13:45 -0600)]
put global click listener on document element instead of window to ignore secondary clicks
Dan Allen [Fri, 19 Jul 2019 08:31:37 +0000 (02:31 -0600)]
drop nav state functionality
- don't attempt to remember expanded state or scroll offset
- scroll current page in nav to midpoint
- scroll current page in nav to midpoint when nav is initially hidden
- rename 01-navigation.js to 01-nav.js for consistency
Dan Allen [Fri, 19 Jul 2019 22:24:20 +0000 (16:24 -0600)]
fix stylelint error
Dan Allen [Fri, 19 Jul 2019 20:27:10 +0000 (14:27 -0600)]
update shared button styles
- use less aggressive generic styles
- override line height at location where button is used
Dan Allen [Fri, 19 Jul 2019 20:09:15 +0000 (14:09 -0600)]
normalize line height
Dan Allen [Fri, 19 Jul 2019 20:08:57 +0000 (14:08 -0600)]
only adjust root text size on webkit
Dan Allen [Fri, 19 Jul 2019 19:58:57 +0000 (13:58 -0600)]
fix comment on highlight.js style
Dan Allen [Fri, 19 Jul 2019 19:58:48 +0000 (13:58 -0600)]
use fancy caret for menu sequence
Dan Allen [Fri, 19 Jul 2019 19:58:33 +0000 (13:58 -0600)]
lighten weight of pre annotation
Dan Allen [Fri, 19 Jul 2019 19:54:58 +0000 (13:54 -0600)]
revert emphasis for nested em and strong
Dan Allen [Thu, 18 Jul 2019 11:26:39 +0000 (05:26 -0600)]
fix rendering of page version menu
Dan Allen [Thu, 18 Jul 2019 11:11:36 +0000 (05:11 -0600)]
promote more button styles to base
Dan Allen [Thu, 18 Jul 2019 10:07:21 +0000 (04:07 -0600)]
set button font size to inherit by default
Dan Allen [Thu, 18 Jul 2019 09:31:29 +0000 (03:31 -0600)]
darken caption; lighten pre annotation
Dan Allen [Thu, 18 Jul 2019 01:37:23 +0000 (19:37 -0600)]
add border radius to bottom of navbar dropdown
Dan Allen [Thu, 18 Jul 2019 01:32:59 +0000 (19:32 -0600)]
don't scale font size of navbar dropdown
Dan Allen [Thu, 18 Jul 2019 01:31:17 +0000 (19:31 -0600)]
fix invalid nav item in preview site [skip ci]
Dan Allen [Wed, 17 Jul 2019 09:12:49 +0000 (03:12 -0600)]
change border color and style of example block; dim border color of quote block
Dan Allen [Wed, 17 Jul 2019 09:12:38 +0000 (03:12 -0600)]
make font color of inline code configurable
Dan Allen [Wed, 17 Jul 2019 08:58:20 +0000 (02:58 -0600)]
style caption on block image like other captions
- add image block with caption to preview site
- style caption on block image like other captions
Dan Allen [Wed, 17 Jul 2019 08:57:37 +0000 (02:57 -0600)]
constrain width of inline image wherever it's located
Dan Allen [Wed, 17 Jul 2019 08:37:24 +0000 (02:37 -0600)]
slide nav explore panel up, over nav menu panel
Dan Allen [Wed, 17 Jul 2019 08:07:15 +0000 (02:07 -0600)]
add support for underline role
Dan Allen [Wed, 17 Jul 2019 07:50:51 +0000 (01:50 -0600)]
reorganize doc styles
- remove tag name from .anchor selector inside section title
- don't style visited link explicitly
- move up p and colist styles
- remove unused styles
Dan Allen [Wed, 17 Jul 2019 07:48:36 +0000 (01:48 -0600)]
group heading styles together
Dan Allen [Wed, 17 Jul 2019 07:34:32 +0000 (01:34 -0600)]
add page class to doctitle for more accurate styling
Dan Allen [Wed, 17 Jul 2019 07:32:30 +0000 (01:32 -0600)]
use correct apostrophe on 404 page
Dan Allen [Wed, 17 Jul 2019 07:01:50 +0000 (01:01 -0600)]
style code element in thead
Dan Allen [Wed, 17 Jul 2019 07:01:18 +0000 (01:01 -0600)]
apply hyphens more carefully
- apply to thead instead of entire table
- don't apply to AsciiDoc table cell
Dan Allen [Wed, 17 Jul 2019 06:38:41 +0000 (00:38 -0600)]
don't change font family of + in key sequence
Dan Allen [Wed, 17 Jul 2019 06:38:17 +0000 (00:38 -0600)]
add right position of listing block annotation (source language)