From 1618a63d64a475417273cd983f4624475fe21585 Mon Sep 17 00:00:00 2001 From: kukimik <53443372+kukimik@users.noreply.github.com> Date: Fri, 12 Apr 2024 15:34:26 +0200 Subject: [PATCH 1/2] dhall-docs: Add alt text to Dhall logo --- dhall-docs/src/Dhall/Docs/Html.hs | 1 + dhall-docs/tasty/data/golden/AsText.dhall.html | 2 +- dhall-docs/tasty/data/golden/ImportAsType.dhall.html | 2 +- dhall-docs/tasty/data/golden/InvalidBlockComment.dhall.html | 2 +- .../tasty/data/golden/InvalidConsecutiveComments.dhall.html | 2 +- dhall-docs/tasty/data/golden/InvalidMarkdown.dhall.html | 2 +- dhall-docs/tasty/data/golden/InvalidMarkdownFile.md.html | 2 +- dhall-docs/tasty/data/golden/JumpToDefOnUnused.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToHereImports.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToLamBindingComplex.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToLamBindingSimple.dhall.html | 2 +- .../tasty/data/golden/JumpToLamBindingWithIndex.dhall.html | 2 +- .../tasty/data/golden/JumpToLamBindingWithQuotes.dhall.html | 2 +- .../tasty/data/golden/JumpToLamBindingWithShadowing.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToLetBindingSimple.dhall.html | 2 +- .../tasty/data/golden/JumpToLetBindingWithIndex.dhall.html | 2 +- .../tasty/data/golden/JumpToLetBindingWithQuotes.dhall.html | 2 +- .../tasty/data/golden/JumpToLetBindingWithShadowing.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToLetbindingComplex.dhall.html | 2 +- .../golden/JumpToRecordFieldWhenFieldDoesNotExist.dhall.html | 2 +- ...eldWhenLetAnnotationPresentShouldIgnoreAnnotation.dhall.html | 2 +- ...JumpToRecordFieldWhenVarIsAnnotatedWithRecordType.dhall.html | 2 +- .../golden/JumpToRecordFieldWhenVarIsOfRecordType.dhall.html | 2 +- .../JumpToRecordFieldWhenVarIsOfRecordTypeComplex.dhall.html | 2 +- .../JumpToRecordFieldWhenVarIsOfRecordTypeDeep.dhall.html | 2 +- ...pToRecordFieldWhenVarIsOfRecordTypeFromLamBinding.dhall.html | 2 +- ...mpToRecordFieldWhenVarIsOfRecordTypeOnPunnedEntry.dhall.html | 2 +- ...umpToRecordFieldWhenVarIsOfRecordTypeTransitivity.dhall.html | 2 +- ...mpToRecordFieldWhenVarIsOfRecordTypeWithDotSyntax.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToSelf.dhall.html | 2 +- dhall-docs/tasty/data/golden/JumpToUrls.dhall.html | 2 +- dhall-docs/tasty/data/golden/MarkdownExample.dhall.html | 2 +- dhall-docs/tasty/data/golden/MarkdownFile.md.html | 2 +- .../tasty/data/golden/MultilineIndentationExample.dhall.html | 2 +- dhall-docs/tasty/data/golden/NoDoc.dhall.html | 2 +- .../tasty/data/golden/NonDhallDocsCommentAfterValid.dhall.html | 2 +- dhall-docs/tasty/data/golden/OrdinaryAnnotation.dhall.html | 2 +- dhall-docs/tasty/data/golden/Pair.dhall.html | 2 +- dhall-docs/tasty/data/golden/Plain.txt.html | 2 +- .../tasty/data/golden/RenderTypeIndexesExample.dhall.html | 2 +- dhall-docs/tasty/data/golden/StandaloneTextFile.txt.html | 2 +- dhall-docs/tasty/data/golden/TwoAnnotations.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/JumpToParent.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/b.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/b/JumpToGrandfather.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/b/c.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/b/c/a.dhall.html | 2 +- dhall-docs/tasty/data/golden/a/b/c/index.html | 2 +- dhall-docs/tasty/data/golden/a/b/index.html | 2 +- dhall-docs/tasty/data/golden/a/index.html | 2 +- dhall-docs/tasty/data/golden/deep/nested/folder/index.html | 2 +- .../tasty/data/golden/deep/nested/folder/my-even.dhall.html | 2 +- dhall-docs/tasty/data/golden/deep/nested/index.html | 2 +- dhall-docs/tasty/data/golden/index.html | 2 +- dhall-docs/tasty/data/golden/package.dhall.html | 2 +- 55 files changed, 55 insertions(+), 54 deletions(-) diff --git a/dhall-docs/src/Dhall/Docs/Html.hs b/dhall-docs/src/Dhall/Docs/Html.hs index 195fe344a..321caa672 100644 --- a/dhall-docs/src/Dhall/Docs/Html.hs +++ b/dhall-docs/src/Dhall/Docs/Html.hs @@ -241,6 +241,7 @@ navBar DocParams{..} = div_ [class_ "nav-bar"] $ do -- Left side of the nav-bar img_ [ class_ "dhall-icon" + , alt_ "Dhall logo." , src_ $ Data.Text.pack $ relativeResourcesPath <> "dhall-icon.svg" ] p_ [class_ "package-title"] $ toHtml packageName diff --git a/dhall-docs/tasty/data/golden/AsText.dhall.html b/dhall-docs/tasty/data/golden/AsText.dhall.html index 931488841..0e4745054 100644 --- a/dhall-docs/tasty/data/golden/AsText.dhall.html +++ b/dhall-docs/tasty/data/golden/AsText.dhall.html @@ -10,7 +10,7 @@