Peter Williams
25f9a42e83
Merge pull request #3 from pkgw/ci-update
...
azure-build-and-publish.yml: track renamed Azure command
2023-06-09 16:07:51 -04:00
Peter Williams
27428bd39a
azure-build-and-publish.yml: track renamed Azure command
...
This name was changed a while ago. I've fixed the issue in most places
but not here, yet, it seems.
2023-06-09 16:04:37 -04:00
Peter Williams
1934fd0245
Merge pull request #2 from pkgw/sponsorship-update
...
Updates for sponsorship change
2023-06-09 15:42:07 -04:00
Peter Williams
f6237b8492
README.md: sponsorship updates
2023-06-09 15:40:49 -04:00
Peter Williams
2e2d2ed518
Update logo and sponsorship branding
2023-06-09 15:27:53 -04:00
Peter Williams
046377be74
azure-build-and-publish.yml: try pwsh to avoid BOM
...
The Byte Order Marker is messing up my ability to skip past Zola's confirmation
prompt. StackExchange says that PowerShell Core (v6+) defaults to UTF8 with no
BOM, and I think that switching the command to "pwsh" might get that, so
let's see if that works.
Ref: https://stackoverflow.com/questions/65191663/write-output-with-no-bom
2022-01-05 14:18:18 -05:00
Peter Williams
e21c934241
azure-build-and-publish.yml: fix the confirmation prompt issue with new Zola
2022-01-05 14:08:06 -05:00
Peter Williams
a38ec36078
Merge pull request #1 from pkgw/bump-zola
...
azure-build-and-publish.yml: update Zola to 0.15.2 for trim_end_matches()
2022-01-05 19:02:09 +00:00
Peter Williams
2f8420b227
azure-build-and-publish.yml: update Zola to 0.15.2 for trim_end_matches()
2022-01-05 14:01:05 -05:00
Peter Williams
13c43a8f5e
templates/base.html: fix double-slashes in rel_top URLs
...
I think this might be another change in Zola 0.12? I think I'd have noticed before.
2021-02-10 17:30:40 -05:00
Peter Williams
ff902cc92d
templates/base.html: fix rel_top calculation in Zola 0.12
...
For the new wwt-research-kit docs, I see a problem where `rel_top` is
getting too many `..` components. For this site I upgraded from Zola
0.10 to Zola 0.12 for the first time, so I have to imagine that it's
related to something there.
The value of `current_path` which is being used to determine `rel_top`
is `/apiref/` in my example, so I'm guessing that there was a behavior
change where the trailing slash is now causing an extra item to show up
in the for loop. In an attempt to solve this backwards-compatibly, strip
off a trailing slash. This seems to work.
2021-01-05 16:00:28 -05:00
Peter Williams
15c7751aa7
sass/_content.scss: avoid code blocks widening content
2020-07-28 16:25:04 -04:00
Peter Williams
bc998ec202
templates/base.html: add a mechanism for importing extra stylesheets
...
Inspired by https://github.com/janbaudisch/zola-sam/pull/2/files .
2020-05-01 09:42:30 -04:00
Peter Williams
105e733f72
templates/base.html: iterate on trailing-slash workaround
...
It was doing the wrong thing if the current URL had a fragment or probably a
query string too.
2020-04-26 01:33:07 -04:00
Peter Williams
b5de13d157
azure-build-and-publish.yml: disable zola check for the time being
2020-04-25 20:04:00 -04:00
Peter Williams
c761c06071
templates/base.html: work around Azure static trailing slash behavior
...
As documented in the code, Azure Storage static websites have an unusual behavior
of not redirectoring directory names that don't include a trailing slash. I don't
see a way to change that behavior, so let's attempt to work around it in JavaScript
as best we can.
2020-04-25 18:33:18 -04:00
Peter Williams
3e5d1922a9
sass/_content.scss: bump up the h1 top margin
2020-04-21 12:07:04 -04:00
Peter Williams
cbe03412b6
sass/_content.scss: add the magic to get auto-resizing YouTube embeds
...
... if you remember to tag the shortcode with class=youtube-embed.
2020-04-13 16:43:15 -04:00
Peter Williams
350435f9f3
azure-build-and-publish.yml: erm, pipeline was ignoring whether the check passed or not
2020-04-13 13:42:03 -04:00
Peter Williams
6c87abb24a
templates/base.html: add the inevitable Google Analytics capability
2020-04-13 13:40:41 -04:00
Peter Williams
2353825676
templates/section.html: get the "next" link to work ...
...
... when the root section has only subsections below it, and no pages.
2020-04-12 20:41:14 -04:00
Peter Williams
42c2fabf7f
templates/base.html: support nested sections in the document TOC
2020-04-12 15:21:39 -04:00
Peter Williams
2e46a5ac44
sass/_content.scss: add some basic table styling
2020-04-12 12:34:37 -04:00
Peter Williams
8dadf0bc82
azure-build-and-publish.yml: make it so CDN parameters can be entirely omitted
2020-04-10 15:10:48 -04:00
Peter Williams
c759786d6f
azure-build-and-publish.yml: add a way to skip CDN purging
2020-04-10 15:09:20 -04:00
Peter Williams
4aabc0253a
Add some basic support for callouts using Zola shortcodes
2020-04-10 11:11:02 -04:00
Peter Williams
a850ffcd30
azure-build-and-publish.yml: check the site (including external links) before building
2020-04-10 10:22:43 -04:00
Peter Williams
25320972e7
Use p.page-title for page titles, not h1
2020-04-09 22:00:34 -04:00
Peter Williams
264444cc37
templates/page.html: remove now-unused templating
2020-04-09 21:51:17 -04:00
Peter Williams
7a5c41b659
Wire some basic prev/next buttons back in
2020-04-09 21:51:04 -04:00
Peter Williams
607ac66c55
templates/index.html: some extra spacing on the title page
2020-04-09 21:50:30 -04:00
Peter Williams
cea2eee59d
sass/_chrome.scss: make the title not so big
2020-04-09 21:48:09 -04:00
Peter Williams
4a9a8ec249
templates/shortcodes/ui.html: add a shortcode for styling UI elements
2020-04-09 20:37:50 -04:00
Peter Williams
6e9c390153
Work on portability by manually making various links relative
2020-04-09 17:24:01 -04:00
Peter Williams
f729d9f5ab
Massive redesign.
2020-04-09 15:14:23 -04:00
Peter Williams
21f30bfda4
sass/wwtguide.scss: use relative URLs for font assets, duh
2020-04-09 10:47:14 -04:00
Peter Williams
67c4933c68
azure-build-and-publish.yml: add CDN purge step
2020-04-09 10:06:03 -04:00
Peter Williams
443eb5f713
azure-build-and-publish.yml: see if we can Windows and Azure-ify this
2020-04-09 09:51:08 -04:00
Peter Williams
794bdc1f59
azure-build-and-publish.yml: tell Azure to check out submodules
2020-04-09 09:33:26 -04:00
Peter Williams
89843e4320
azure-build-and-publish.yml: and gotta follow those redirects
2020-04-09 09:29:17 -04:00
Peter Williams
be10ad750b
azure-build-and-publish.yml: gotta unzip
2020-04-09 09:25:54 -04:00
Peter Williams
ad8dba1a8d
azure-build-and-publish.yml: right, job names are restrictive
2020-04-09 09:24:55 -04:00
Peter Williams
2464992d79
azure-build-and-publish.yml: stub a pipeline template
2020-04-09 09:13:29 -04:00
Peter Williams
a2dc2a3b74
Initial import of work-in-progress
...
Currently there are lots of issues, but I want to get the CI/CD infra
going so let's get this online.
2020-04-09 08:28:32 -04:00