Commit Graph

165 Commits

Author SHA1 Message Date
Erin McKean 54b22d81f8
unconsting variable 2022-08-26 12:48:48 -07:00
Erin McKean 9ec1e45f3e
fixing window in wrong place 2022-08-26 12:46:52 -07:00
Erin McKean 36101b0ad1
move prism removal to markmap.js 2022-08-26 12:42:41 -07:00
Patrice Chalin 1cc1ca9ae1
Search font fix (#1179) 2022-08-18 03:54:43 -04:00
Sami Ahmed Siddiqui 6df4c0721d
Use SCSS variable for FA font name (#1176) 2022-08-16 09:05:42 -04:00
Sami Ahmed Siddiqui e3c036026d
Upgrade to FontAwesome 6 (#1102) 2022-08-15 13:27:19 -04:00
Patrice Chalin 1779a8ce01
Avoid tabbed-pane.scss style leakage (#1163) 2022-08-15 13:02:01 -04:00
Patrice Chalin b683d6eb6d
Drop FontAwesome static/webfonts file copies, mount package (#1164)
* Drop FontAwesome static/webfonts
* Mount webfonts from package
2022-08-15 11:31:29 -04:00
Andreas Deininger 4e9b463da9
Update GO_VERSION to 1.19 and fix typo (#1155) 2022-08-15 03:33:39 -04:00
Patrice Chalin d4da7517de
Card-related shortcode style fixes (#1157) 2022-08-15 03:13:52 -04:00
Patrice Chalin 33b2028be9 404 layout: fix HTML, avoid nested main 2022-08-02 10:47:07 -04:00
Patrice Chalin c09d2feff8
Revert #500 to fix Lunr search (#1112) 2022-07-25 17:59:23 -04:00
Andreas Deininger 1b10f6bebe
Improve tabbed pane: allow right aligned tabs, allow tab groups Fixes, css and code improvements (#1037) 2022-07-13 10:34:14 -04:00
Jason Day 54e4ccedbc
Improve accessibility of foldable sidebar nav and imgproc (#1028)
* Fixing docsy issue #1022 - accessibility of foldable sidebar nav

The foldable sidebar nav is using `max-height` transitions to hide subnavs visually, but this approach does not hide visually hidden content from keyboard and screen reader users. Moving to a simple `display: [block/none]` toggle solves the issue.

* Improves accessibility of imgproc

To be more semantically aligned and to improve accessibility, I propose using <figure> and <figcaption> for images included in this manner, which creates a programmatic association between the image and the additional text, providing more context for screen readers

Co-authored-by: LisaFC <lcarey@google.com>
2022-06-30 23:12:59 +01:00
Stephan Lachnit 1e58133f8e
cards: fix max width on mobile (#1057)
Co-authored-by: LisaFC <lcarey@google.com>
2022-06-30 22:54:19 +01:00
Patrice Chalin b6d85f53e7
Drop Bootstrap and Font Awesome git submodules (#889) 2022-06-24 09:12:56 -04:00
at055612 0dc154d6ea
Add breadcrumbs to taxonomy result list (#1011)
* gh-1004 Add breadcrumbs and cards to taxonomy result list

* gh-1004 Change breadcrumb partial so leaf item is not a link

* gh-1004 Format scss

Co-authored-by: LisaFC <lcarey@google.com>
2022-06-13 18:59:46 +01:00
Andreas Deininger 1731334ab7 Shortcodes for tabbed panes:
- allow tab content in markdown
- tab header can now be given as unnamed parameter
- tab(s) can now be disabled
- improve storage of active language
- new option to turn storage of active language off
- improvements and fixes
- documentation update
2022-05-24 14:13:44 -04:00
Patrice Chalin 5958d944d2
Revert back to Bootstrap v4.6.1 (#887) 2022-02-10 15:39:25 -05:00
Patrice Chalin 8649377345
Revert "Pass correct arguments (TOCSS error) (#875)" (#885) 2022-02-10 15:21:53 -05:00
Victoria Drake 7c865d0a2e
Pass correct arguments (TOCSS error) (#875)
Fixes a TOCSS error with incorrect arguments:

```txt
> HUGO_ENV=development hugo server

Start building sites …
hugo v0.92.1+extended darwin/amd64 BuildDate=unknown
WARN 2022/02/02 14:39:09 .File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file ".../themes/docsy/assets/scss/_boxes.scss", line 37, col 18: wrong number of arguments (3 for 2) for `bg-gradient-variant'
```
2022-02-03 15:40:41 +00:00
Frank Dietrich 83053d8229
Take `td-enable-google-fonts` into account for RTL fonts. (#869) 2022-02-02 11:04:44 -05:00
erwin-faceit 3e2cfeba3a
Plantuml svg loader (#800)
* Use svg-loader instead of img tag to preserve interactive diagrams

* Configure img vs svg tag

* Updated usage documentation and added default to config.toml

Co-authored-by: Erwin Bovendeur <e.bovendeur@faceit.nl>
Co-authored-by: LisaFC <lcarey@google.com>
2022-01-24 14:54:09 +00:00
at055612 b103aadf97
gh-827 Change height of rh sidebar to use all of screen (#828)
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
2022-01-14 06:19:58 -05:00
Andreas Deininger 1bc5f60221 Correct dead link (blog post on lunr search) 2022-01-04 22:17:45 +01:00
Andreas Deininger 7b6e6e03fb Bump submodules to their latest versions 2021-12-06 12:02:36 +01:00
Andreas Deininger 995b3440e0 Fixing typo 2021-12-03 17:34:25 +01:00
Patrice Chalin e5d4dc9620
Show breadcrumbs on mobile too (#784) 2021-11-29 11:23:11 -05:00
Gareth Watts 87cbf9bdb3 Add support for editing diagrams.net diagrams
Any SVG or PNG images that contain an editable diagrams.net document will
display an "edit" button on hover that opens the image in any embedded editor.
Saving the image will cause the file to be downloaded to the user's
browser, ready for use back in the docsy site.
2021-11-19 22:08:09 -06:00
Patrice Chalin 3744058f89 Ensure search input text remains visible when unfocused 2021-11-17 18:01:01 -05:00
Takayama Fumihiko 77b5ecd7ec
Suppress blank lines from offline-search-index.json output 2021-10-04 23:00:17 +09:00
LisaFC 32f7039a87
Merge pull request #612 from llhhbc/master
Add markmap supported
2021-08-17 18:46:14 +01:00
longhui.li de55f880d7 Add mindmap support by use markmap 2021-08-08 11:15:03 +08:00
Lisa Carey 07ac7489c5 updating bootstrap version 2021-07-14 13:24:02 +01:00
Franz Steininger d21c2e8b5d
Fix cut off very long foldable sidebar menus #616
max-height of a menu item with sup items is now set to 100000vmax in the foldable sidebar menu
2021-07-06 22:01:22 +02:00
RichieEscarez 0fbaa0655c
Merge branch 'master' into foldable-sidebar 2021-06-11 16:10:50 -07:00
LisaFC 6e6061b5d5
Merge pull request #554 from narrenfrei/dev-taxonomy-2
taxonomy support #272 #324 #539
2021-06-11 19:34:20 +01:00
Robert Bailey 9422346631 Allow setting the color of the root of the sidebar tree separately from the
primary color.

Our site currently sets the primary color to white and also the background
of the sidebar to white. Updating our docsy theme makes it so that the root
of the sidebar tree disappears. This allows us to keep our theming and keep
the root of the sidebar a dark contrasting color from the background.
2021-06-08 11:25:49 -07:00
Franz Steininger 7331d960d5 small style tweak for taxonomy showcase 2021-06-07 11:29:11 +02:00
Franz Steininger 35ddb820c9 cleaning code after dev 2021-05-29 21:59:07 +02:00
Franz Steininger c5f1613fb1 dev content for blog 2021-05-29 21:36:31 +02:00
Franz Steininger cdcd855a1e Debugging foldable menu 2021-05-29 21:36:31 +02:00
Franz Steininger 847530da53 dev foldable sidebar menu 2021-05-29 21:33:43 +02:00
Franz Steininger 80eae943e4 debug hover on mobile 2021-05-29 21:18:09 +02:00
Franz Steininger dbf2514ea0 dev foldable sidebar menu 2021-05-29 21:18:09 +02:00
Franz Steininger bd0b5ef8c7 cleaning up SCSS 2021-05-28 08:08:28 +02:00
Franz Steininger 5f86b6d264 CSS updates for showcase 2021-05-28 08:05:51 +02:00
Franz Steininger 09fd798a6d Restore layout of td-page-meta
after restructure sidebar
2021-05-28 08:05:51 +02:00
Franz Steininger fcb793e624 showcase for styling possibilities 2021-05-28 08:05:51 +02:00
Franz Steininger bf5cde8cee rearange page structure
td-sidebar td-sidebar-toc td-toc
changing sidebar divs to aside elements
2021-05-28 08:05:51 +02:00